unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: button-buffer-map should inherit from special-mode-map
Date: Thu, 21 Feb 2013 14:57:10 -0500	[thread overview]
Message-ID: <87bobdsand.fsf@gnu.org> (raw)
In-Reply-To: 8FD33424BFE2446D8072FC1798D0021B@us.oracle.com

> * Drew Adams <qerj.nqnzf@benpyr.pbz> [2013-02-21 11:26:36 -0800]:
>
> Your logic is sound: N => S and B => N, therefore B => S:
>
> 1. Assume: non-self-insert buffer implies s-m-map is appropriate.
>
> 2. Assume: b-b-map implies non-self-insert buffer.
>
> 3. Therefore, any map that inherits from b-b-m should also inherit from s-m-map.
>
> The logic is fine.  What I reject are the assertions, #1 and #2.

The vehemence of your objection is stunning.
I am no longer arguing in favor of my proposal, but out of curiosity:

1. can you give an example of a non-self-insert buffer where any of the
special-mode-map bindings are not appropriate?

2. can you give an example of a button-buffer-map usage in a self-insert
buffer?

PS. my practical rationale was that I bound a key in special-mode-map
and was surprised that the binding was not present in *Buffer List*.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://dhimmi.com http://memri.org http://ffii.org
http://pmw.org.il http://thereligionofpeace.com http://jihadwatch.org
Our business is run on trust.  We trust you will pay in advance.




  reply	other threads:[~2013-02-21 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 17:04 button-buffer-map should inherit from special-mode-map Sam Steingold
2013-02-21 18:29 ` Drew Adams
2013-02-21 18:42   ` Sam Steingold
2013-02-21 19:26     ` Drew Adams
2013-02-21 19:57       ` Sam Steingold [this message]
2013-02-21 21:13         ` Drew Adams

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=87bobdsand.fsf@gnu.org \
    --to=sds@gnu.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).