From: David Reitter <david.reitter@gmail.com>
To: Stephen J. Turnbull <stephen@xemacs.org>
Cc: Matthew Dempsky <matthew@dempsky.org>,
Emacs discussions <emacs-devel@gnu.org>
Subject: Re: Codifications of rules (was Re: bug#5119: ruby-mode binds TAB)
Date: Tue, 8 Dec 2009 00:00:37 -0500 [thread overview]
Message-ID: <7EFBE4E6-5A1B-4017-8C15-03434F10126A@gmail.com> (raw)
In-Reply-To: <873a3mtg1w.fsf@uwakimon.sk.tsukuba.ac.jp>
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
On Dec 7, 2009, at 8:23 PM, Stephen J. Turnbull wrote:
> David Reitter writes:
>
>> [Pet peeves:]
>
>> - Indentation (left/right, e.g. C-c C-> in python-mode, as well as
>> re-indenting the current line according to syntax)
>
> Indentation in Python changes the semantics of the code, and it cannot
> be deduced from the syntax of the code in the buffer. This is not
> true for other languages, and it's not surprising to me that
> Pythonistas want an indentation function that works according to
> current level *and* one that changes level.
> the "standard" key. Eg, in Python mode TAB *is* bound to
> indent-for-tab-command and it *does* do the right thing. C-c > is
> *additional* functionality
Sorry, perhaps I wasn't clear and my parenthesis doesn't help at all. I didn't mean to imply that left/right movement (semantics-changing in Python) should be equivalent to re-indenting semi-automatically (as done with TAB).
My take-home message is that not enough such functions can be rebound centrally. I'd like to have A-] to shift to the right, for instance, no matter what the mode is.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
next prev parent reply other threads:[~2009-12-08 5:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 19:55 Codifications of rules (was Re: bug#5119: ruby-mode binds TAB) Matthew Dempsky
2009-12-07 20:56 ` David Reitter
2009-12-08 1:23 ` Stephen J. Turnbull
2009-12-08 2:03 ` Codifications of rules Stefan Monnier
2009-12-08 5:00 ` David Reitter [this message]
2009-12-08 1:57 ` Stefan Monnier
2009-12-07 21:37 ` Stefan Monnier
2009-12-07 22:13 ` Matthew Dempsky
2009-12-08 0:03 ` Eric M. Ludlam
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=7EFBE4E6-5A1B-4017-8C15-03434F10126A@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=matthew@dempsky.org \
--cc=stephen@xemacs.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).