all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dale Snell <ddsnell@frontier.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Bookmark the end of file?
Date: Tue, 7 Apr 2015 09:49:47 -0700	[thread overview]
Message-ID: <20150407094947.3383cafe@zothique.localdomain> (raw)
In-Reply-To: <87sicchhen.fsf@wmi.amu.edu.pl>

[-- Attachment #1: Type: text/plain, Size: 1925 bytes --]

On Tue, 07 Apr 2015 03:10:56 +0200, in message
87sicchhen.fsf@wmi.amu.edu.pl, Marcin Borkowski wrote:

> But putting stupid jokes aside, if I /always/ hit M-> after visiting
> some file, something is not optimal, right?  And bookmarks are
> a convenient way to visit often-used files, regardless if the
> directory I'm in.  (And I have a rather deep directory structure - I
> have virtually no files until two levels down, and usually there are
> three or four.  OTOH, there are no more than maybe two-three dozen of
> files I'm working on at any particular moment.  This is a perfect use
> case for bookmarks.)

Are these files of a type that can take comments?  If so, you
could try adding a file-local variable to each one, telling Emacs
to go to the end of the file.  Another possibility is to Customize
the "find-file-hook" to do what you want.  (Despite its name,
find-file-hook is a "List of functions to be called after a buffer
is loaded from a file."  [From the documentation.])

Hmm... Now that I think about it, I seem to recall someone on this
list asking if one could create a command-line option to do what
you're asking.  "emacs --exec (<go to eof>) filename", or
something like that.  Of course, it would only work with the
file(s) on the command line.  (If you were the one who asked that
question, I'm going to feel very silly.)


> PS. BTW, the other bindings you mentioned are useless for me: I have
> my menu-bar disabled (ok, I /could/ use M-x menu-bar-open...), and
> don't have an <end> key on my netbook.

That's okay; while I do have the menu-bar active, I never use it
to go to the end or beginning of the file -- M-> is so much
simpler to type.  As for the <End> key, I've never used it.  :-)


I don't know if any of this will help, but maybe it will point you
in the right direction.

--Dale

-- 
"Come, muse, let us sing of rats."  -- James Grainger

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2015-04-07 16:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 23:39 Bookmark the end of file? Marcin Borkowski
2015-04-06 23:59 ` Drew Adams
2015-04-07  1:03   ` Marcin Borkowski
2015-04-07  0:00 ` Dale Snell
2015-04-07  1:10   ` Marcin Borkowski
2015-04-07 13:36     ` J. David Boyd
2015-04-07 19:11       ` Marcin Borkowski
2015-04-07 16:49     ` Dale Snell [this message]
2015-04-07 19:19       ` Marcin Borkowski
2015-04-07 21:14 ` Stefan Monnier
2015-04-07 22:27   ` Drew Adams
2015-04-12 20:22     ` Stefan Monnier
2015-04-12 20:42       ` Drew Adams
2015-04-12 21:05         ` Stefan Monnier
2015-04-12 21:34           ` Drew Adams
2015-04-13  2:23             ` Stefan Monnier
     [not found]           ` <mailman.528.1428874505.904.help-gnu-emacs@gnu.org>
2015-04-13  3:28             ` Do we want more choice? (was Bookmark the end of file?) Rusi
2015-04-13  5:35               ` Drew Adams
2015-04-13  7:17                 ` tomas
2015-04-13  7:53                   ` Marcin Borkowski
2015-04-13  8:12                     ` tomas
2015-04-13 14:52                   ` Eli Zaretskii
2015-04-13 19:23                     ` tomas
2015-04-14  7:38                     ` Gian Uberto Lauri
2015-04-14 14:23                       ` Eli Zaretskii
2015-04-14 14:42                         ` Gian Uberto Lauri
2015-04-14 15:30                           ` Eli Zaretskii
2015-04-14 15:37                             ` Gian Uberto Lauri
2015-04-13 17:20                   ` Stefan Monnier
2015-04-13 19:26                     ` tomas
2015-04-13  7:36                 ` Marcin Borkowski

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=20150407094947.3383cafe@zothique.localdomain \
    --to=ddsnell@frontier.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.