GNU bug report logs -
#19694
24.4; --insert command-line switch does not behave as documented
Previous Next
Reported by: vampyrebat <at> gmail.com
Date: Mon, 26 Jan 2015 16:48:02 UTC
Severity: minor
Found in version 24.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 19694-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 25 Jan 2015 21:48:33 -0600
> From: vampyrebat <at> gmail.com
>
> The emacs info manual states that the command-line option --insert=FILE
> will "Insert the contents of FILE into the `*scratch*' buffer."
> However, whether this option works as documented depends on where it
> appears in the command line. Thus:
>
> emacs --insert=file1 file2
>
> brings up file2 in a buffer with that name, and places the contents of
> file1 in *scratch*, as documented. But:
>
> emacs file1 --insert=file2
>
> which the documentation states should put file1 in a buffer with that
> name and the contents of file2 in *scratch*, instead brings up a buffer
> with file1's name, containing the contents of file2 followed by the
> contents of file1, and leaves *scratch* empty.
Thanks, I fixed the manual. ("emacs --help" described this option
correctly.)
This bug report was last modified 10 years and 175 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.