unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Daniel Colascione <danc@merrillpress.com>
Cc: emacs-devel@gnu.org
Subject: Re: Idea: unify *newline(-and-indent)
Date: Sun, 31 Aug 2008 13:59:20 +0200	[thread overview]
Message-ID: <48BA8798.6070601@gmail.com> (raw)
In-Reply-To: <A5C01BD1-EE4F-40FA-B187-404FAAD9AB63@merrillpress.com>

Daniel Colascione wrote:
> Then, take all the functions above and convert them to functions that
> can be plugged into interactive-newline-function. The situation we end
> up with something like indent-for-tab-command and indent-line-function.
> 
> Is it worth writing the patch?
> 
> Thanks,
> Dan

I think this would be very good.

Users that normally use several different major could benefit. This is
of course often the case in web development.

> (Also – any objections to making cc-mode and lisp-mode use
> indent-for-tab-command? The lisp tab command
> has an indent-whole-sexp feature, but that be handled by passing the
> prefix argument to indent-line-function. The cc-mode indent function has
> some tab-or-indent DWIM feature, but isn't it better to put that in
> indent-for-tab-command by extending tab-always-indent?)

In my opinion, yes.




  reply	other threads:[~2008-08-31 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-31  9:37 Idea: unify *newline(-and-indent) Daniel Colascione
2008-08-31 11:59 ` Lennart Borgman (gmail) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-31  9:28 Daniel Colascione
2008-08-31 13:59 ` Daniel Colascione

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=48BA8798.6070601@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=danc@merrillpress.com \
    --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).