lp:~smoser/editmoin/bug610154

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/editmoin/bug610154
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
editmoin
Status:
Development

Recent revisions

31. By Scott Moser

remove debug '-x' option to sh

30. By Scott Moser

allow arguments to be present in EDITOR variable (ie 'gvim -f') LP: #610154

call the editor through a shell, this allows for shell interpretation of
the contents of "EDITOR", and thus supports:
   EDITOR="gvim -f"
or
   EDITOR="vim"

The fallout of doing this is that a binary named:
   "/usr/bin/my editor"

would now have to be called as:
   EDITOR="/usr/bin/my\ editor"

An alternative solution might look like this:
- subprocess.call([editor, filename])
+ cmd=editor.split(' ')
+ cmd.append(filename)
+ subprocess.call(cmd)

That would just split the EDITOR command on white space rather than
letting the shell handle that split. I personally prefer letting shell
handle the split as it is a extremely well defined handling.

Ie, I knew that one level of shell interpretation would be escaped with
the above '\' in "my\ editor". With a simple split in python of the
above, it would be difficult or impossible to invoke an executable with
a space in the path.

29. By Gustavo Niemeyer

A few additional updates in the manual page.

28. By Gustavo Niemeyer

Update MoinMoin URL in setup.py.

27. By Gustavo Niemeyer

- Introduced support for direct authentication with newer moins,
  inspired by Reimar Bauer.
- Introduced support for the ~/.moin_users file, to configure usernames
  on multiple sites.
- Shortcutting also checks ~/.moin_users now.
- Added support for textcha questions and answers.
- Updated manual page.

26. By Gustavo Niemeyer

Removing debian directory, as requested by Martin.

25. By Gustavo Niemeyer

Adding editmoin.1 to MANIFEST.in file, as pointed out by Neal Becker.

24. By Gustavo Niemeyer

Updated MANIFEST.in file.

23. By Gustavo Niemeyer

Preparing to release 1.10.

22. By Gustavo Niemeyer

- Implemented Moin 1.6+ syntax file.
- editmoin will now present a Syntax header at the top to enable
  editors to pick the right syntax.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers