unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: 20723@debbugs.gnu.org, Ed Avis <eda@waniasset.com>
Subject: bug#20723: 24.4; narrow-to-line
Date: Wed, 6 Nov 2019 06:06:35 -0800 (PST)	[thread overview]
Message-ID: <ee0c0872-3dbe-4895-82d5-df4ca176480a@default> (raw)
In-Reply-To: <87mud94v4y.fsf@marxist.se>

> >> It would be handy to have M-x narrow-to-line to narrow the buffer to
> >> the line point is currently on.
> 
> I think the proposal to add these commands make sense, since there
> seems to exist a user demand.  Would anyone object to including the
> above commands in Emacs?
> 
> > The problem is what keys, if any, to bind them to by default.
> 
> I'd suggest that we bind narrow-to-line to 'C-x n l', and leave
> mark-line unbound by default for now.

I agree now with Ed Avis that we should _not_ bind
either command to a key by default.  Anyone who
uses them can bind them to keys.

These commands are not super-useful.  There is no
reason to sacrifice default keys to them.  It's
good to have such commands, but default keys
should be defined only when we know there's a lot
of clamor for them. ;-)






  reply	other threads:[~2019-11-06 14:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 16:55 bug#20723: 24.4; narrow-to-line Ed Avis
2015-06-02 18:14 ` Drew Adams
2015-06-02 18:22   ` Ed Avis
2015-06-02 19:35     ` Drew Adams
2019-11-06  2:05   ` Stefan Kangas
2019-11-06 14:06     ` Drew Adams [this message]
2019-11-06 14:14       ` Stefan Kangas
2022-01-29 17:05     ` Lars Ingebrigtsen
2015-06-02 18:32 ` Nicolas Richard

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=ee0c0872-3dbe-4895-82d5-df4ca176480a@default \
    --to=drew.adams@oracle.com \
    --cc=20723@debbugs.gnu.org \
    --cc=eda@waniasset.com \
    --cc=stefan@marxist.se \
    /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).