unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: RE: lisp-indent-line and comment-region in emacs-lisp-mode menu
Date: Wed, 5 Mar 2008 07:33:23 -0800	[thread overview]
Message-ID: <001b01c87ed6$3ff87dd0$0600a8c0@us.oracle.com> (raw)
In-Reply-To: <87ve41xxlm.fsf@jurta.org>

> > I don't care if you add it, but please don't bind it to 
> > TAB. I use TAB to do `lisp-indent-line' (the default) always.
> 
> This is not the default anymore.  TAB in emacs-lisp-mode now uses the
> default TAB binding `indent-for-tab-command'.

I'm using Emacs 22, but `indent-for-tab-command' still respects
`tab-always-indent' in Emacs 23, no?

> That's why Dan raised this question. In Emacs 22, the Emacs-Lisp
> menu has the item: Indent Line (TAB)
> 
> Now in CVS it shows a menu item with non-default 
> `lisp-indent-line' that  has no key binding.  I think it makes
> sense to replace it with the command `indent-for-tab-command'
> that is bound to TAB.

I have no problem with the menu reflecting the default binding, and I didn't
object to Dan's suggestion. 

I objected to your proposal to do something like the code you sent, *if* you
also intend to bind that to TAB. IIUC, your code does not respect
`tab-always-indent' - it simply completes a symbol if there is no active
region and the preceding char is a symbol or word constituent. I don't want
such behavior to be the default. 





  reply	other threads:[~2008-03-05 15:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 22:23 lisp-indent-line and comment-region in emacs-lisp-mode menu Dan Nicolaescu
2008-03-04 23:33 ` Juri Linkov
2008-03-05  0:49   ` Drew Adams
2008-03-05 10:40     ` Juri Linkov
2008-03-05 15:33       ` Drew Adams [this message]
2008-03-05  3:32   ` Dan Nicolaescu
2008-03-05 10:43 ` Juri Linkov
2008-03-05 18:41 ` Stefan Monnier
2008-03-05 19:00   ` Dan Nicolaescu

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='001b01c87ed6$3ff87dd0$0600a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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).