all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Xue Fuqiao <xfq@gnu.org>
Cc: William Stevenson <yhvh2000@gmail.com>, 10772@debbugs.gnu.org
Subject: bug#10772: 24.0.93; [patch] Convert tcl-auto-fill-mode to use define-minor-mode
Date: Wed, 26 Feb 2014 10:40:58 -0500	[thread overview]
Message-ID: <jwvtxblopbx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ob1u3k48.fsf@gnu.org> (Xue Fuqiao's message of "Wed, 26 Feb 2014 06:25:43 +0800")

>>> What about the following patch:
>> Tcl is not special wrt to filling and comments, AFAIK, so tcl-mode
>> should simply use the default auto-fill functionality without any
>> local tweaks.
> Right, and that's exactly what my patch does.

No, it preserves the "special behavior", just changing the
implementation to rely on the generic auto-fill code.  My point is that
the special behavior is just a preference of the mode's author and hence
doesn't belong in the major mode's definition.


        Stefan





  reply	other threads:[~2014-02-26 15:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09  6:49 bug#10772: 24.0.93; [patch] Convert tcl-auto-fill-mode to use define-minor-mode William Stevenson
2012-02-09 15:18 ` Juanma Barranquero
2012-02-09 22:09 ` Stefan Monnier
2012-02-11 15:27   ` William Stevenson
2012-02-12  5:12     ` Stefan Monnier
2014-02-25 13:30       ` Xue Fuqiao
2014-02-25 14:30         ` Stefan Monnier
2014-02-25 22:25           ` Xue Fuqiao
2014-02-26 15:40             ` Stefan Monnier [this message]
2014-02-26 22:40               ` Xue Fuqiao
2014-02-27  2:55                 ` Stefan Monnier
2014-02-27 17:00                 ` Glenn Morris
2014-02-27 22:33                   ` Xue Fuqiao
2016-02-24  6:42                     ` Lars Ingebrigtsen
2017-06-03  3:45                 ` npostavs
2017-06-28  0:38                   ` npostavs

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvtxblopbx.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10772@debbugs.gnu.org \
    --cc=xfq@gnu.org \
    --cc=yhvh2000@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.