unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ken manheimer <ken.manheimer@gmail.com>
To: Barry Warsaw <barry@python.org>
Cc: emacs-devel@gnu.org
Subject: Re: Should undefined behavior be encouraged in Emacs?
Date: Fri, 7 Oct 2011 14:06:23 -0400	[thread overview]
Message-ID: <CAAT_zTEOkwkNZz==AT38t6M9CPQ5S28YfPB6s5vwh+J9+RYjaQ@mail.gmail.com> (raw)
In-Reply-To: <20111007112652.2d07ffd4@resist.wooz.org>

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

On Fri, Oct 7, 2011 at 11:26 AM, Barry Warsaw <barry@python.org> wrote:

> On Oct 06, 2011, at 10:12 PM, Lars Magne Ingebrigtsen wrote:
>
> >Andreas Röhler <andreas.roehler@online.de> writes:
> >
> >> for me transient-mark-mode in connection with a mark set is enough.
> >
> >Oh, are we having this discussion again?
> >
> >I, like (I'm assuming) all other oldey-timey Emacs users :-), disabled
> >`transient-mark-mode' the first chance I got.  And the reason for that
> >is that `C-x C-x' activates the region, which makes it impossible to use
> >that command to jump around in buffers.  Which I do constantly.
> >
> >If that rather odd overloading of the `C-x C-x' command went away, I
> >might start using `transient-mark-mode'.
>

i'm jumping in the discussion to say a bit more about namedmarks.el, which
barry mentioned, but while i'm here.  i'm an old timer that leaves transient
mark mode active, and likes it - but i think it's tolerable because i
customized the 'region' face to be only slightly different than the
background, so it's barely noticeable.  (i set the region background to
darkslategray, which blends in almost but not quite completely with the
black background which i have as the default for my emacs frames.)

barry:



[...]


> One quick note about C-x C-x and C-space.  For several decades now I've
> used Ken Manheimer's most awesome namedmarks code[1].  With no C-u, these
> work just like their default cousins (I think, it's been a long time), but
> with an argument, they allow you to name locations in the buffer.  E.g.
>
> C-u C-space
> -> Set named mark:
> here RET
> (move somewhere far away)
> C-u C-x C-x
> -> Goto mark named (default here)
> RET
>
> jumps you back to the mark named 'here'.  Of course, you can have any
> number of named marks, and both prompts support completion.  It's a
> testament to its elegant simplicity that I don't think this code has been
> touched in 20 years and still works beautifully.  It's a great addition to
> the core UI, IMO.  Notably, going to a named mark does *not* activate the
> region, which I think makes perfect sense given that I'm often jumping
> around over several screen fulls.  I don't think I could function without
> namedmarks.
>

me, too! :-)  i've just now put a more legible - but essentially unchanged -
copy of namedmarks.el on my current
site<http://myriadicity.net/software-and-systems/craft/crafty-hacks/emacs-sundries/namedmarks.el/view>,
and would love to see it incorporated in emacs.  the view in that location
is more usable than the old location which barry mentions (and i put a
redirect there - a bit of overdue tidying...)

ken

-Barry
>
> [1] My local copy is (C) 1991 FSF, which looks pretty close to
> http://wiki.zope.org/klm/namedmarks.el
>

[-- Attachment #2: Type: text/html, Size: 4412 bytes --]

  reply	other threads:[~2011-10-07 18:06 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03  1:39 Should undefined behavior be encouraged in Emacs? Paul Eggert
2011-10-03  3:11 ` Stefan Monnier
2011-10-03  6:39   ` Andreas Röhler
2011-10-03  7:29     ` Stephen J. Turnbull
2011-10-03  8:58       ` Andreas Röhler
2011-10-06  2:17         ` Stephen J. Turnbull
2011-10-06 17:30           ` Richard Stallman
2011-10-06 19:49             ` Stephen J. Turnbull
2011-10-06 20:08               ` Andreas Röhler
2011-10-06 20:12                 ` Lars Magne Ingebrigtsen
2011-10-06 20:46                   ` Eli Zaretskii
2011-10-07  5:23                   ` Andreas Röhler
2011-10-07  7:44                   ` Stephen J. Turnbull
2011-10-07  7:52                     ` John Wiegley
2011-10-07 17:27                       ` Stephen J. Turnbull
2011-10-07  8:38                   ` Alan Mackenzie
2011-10-07 15:26                   ` Barry Warsaw
2011-10-07 18:06                     ` ken manheimer [this message]
2011-10-07 18:21                       ` Barry Warsaw
2011-10-07 18:46                       ` Óscar Fuentes
2011-10-07 19:59                         ` ken manheimer
2011-10-07 18:41                     ` Drew Adams
2011-10-08 13:49                   ` Miles Bader
2011-10-08 14:34                     ` Drew Adams
2011-10-03 13:16       ` Stefan Monnier
2011-10-03  9:20   ` Alan Mackenzie
2011-10-03  9:52     ` Eli Zaretskii
2011-10-03  8:29 ` Andreas Schwab
2011-10-03  9:53   ` Eli Zaretskii
2011-10-03 13:13 ` Richard Stallman
2011-10-03 15:15   ` Dave Abrahams
2011-10-04  1:55     ` Richard Stallman
2011-10-04  2:18       ` Dave Abrahams
2011-10-03 16:14   ` Eli Zaretskii
2011-10-03 16:27     ` Andreas Schwab
2011-10-03 16:41       ` Eli Zaretskii
2011-10-04  1:55     ` Richard Stallman
2011-10-03 20:53   ` Paul Eggert
2011-10-03 14:49 ` Dave Abrahams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAT_zTEOkwkNZz==AT38t6M9CPQ5S28YfPB6s5vwh+J9+RYjaQ@mail.gmail.com' \
    --to=ken.manheimer@gmail.com \
    --cc=barry@python.org \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).