From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: $EDITOR to open at file end?
Date: Sun, 8 Mar 2015 17:24:54 -0600 [thread overview]
Message-ID: <20150308172114651227600@bob.proulx.com> (raw)
In-Reply-To: <87egp0zsrd.fsf@debian.uxu>
Emanuel Berg wrote:
> Bob Proulx writes:
> >> So: emacs FILE --eval "(goto-char (point-max))"
> > ... This requires the configuration both before and
> > after FILE.
>
> If that's a problem, I don't think the +99... hack was
> bad.
Maybe not so bad. I am unlikely to edit an email with more than
999999 lines. And if I do then I can deal with it on the fly. It is
just a LARGENUMBER.
> emacs +`perl -MPOSIX -le 'print INT_MAX'` FILE
> which uses data in /usr/include/limits.h.
That just swaps 999999 for a larger value of LARGENUMBER. I don't
think it intrinsically changes the flavor of the issue.
Upon reflection I think the +999999 wasn't so bad. Although I like
the exactness of the solution for (goto-char (point-max)). Having
implemented that already using a helper script I probably won't walk
away from it.
Thanks,
Bob
next prev parent reply other threads:[~2015-03-08 23:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 7:29 $EDITOR to open at file end? Bob Proulx
2015-03-05 7:42 ` Alexis
2015-03-05 7:59 ` Philipp Stephani
[not found] ` <mailman.1367.1425541338.31049.help-gnu-emacs@gnu.org>
2015-03-06 0:09 ` Emanuel Berg
2015-03-07 0:48 ` Bob Proulx
2015-03-07 0:57 ` Bob Proulx
2015-03-07 2:17 ` Alexis
2015-03-07 14:33 ` Robert Thorpe
2015-03-09 0:18 ` Bob Proulx
2015-03-09 2:52 ` Robert Thorpe
2015-03-09 5:14 ` Bob Proulx
2015-03-09 5:39 ` Alexis
[not found] ` <mailman.1547.1425689344.31049.help-gnu-emacs@gnu.org>
2015-03-07 16:17 ` Emanuel Berg
2015-03-08 23:24 ` Bob Proulx [this message]
[not found] ` <mailman.1714.1425857102.31049.help-gnu-emacs@gnu.org>
2015-03-09 0:11 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150308172114651227600@bob.proulx.com \
--to=bob@proulx.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.