all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Fwd: A TAB operation reform question.
Date: Tue, 11 Oct 2022 09:48:53 -0400	[thread overview]
Message-ID: <jwvh70av5vk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878rlmsdrp.fsf@laptop.lockywolf.net> (Vladimir Nikishkin's message of "Tue, 11 Oct 2022 20:59:17 +0800")

Vladimir Nikishkin [2022-10-11 20:59:17] wrote:
> This is more or less what I would like to suggest, except I am not
> particularly sure that advising is the way to go with this issue.
> I think that a customizable "hook-list" would be a cleaner option.

I tried to use a standard hook with a list of function, but I found it
was not flexible enough to cover adequately the variety of interactions
between the different options (TAB is highly sought after, so the
existing interactions are sometimes fairly delicate).

A `tab-dwim-function` var is a bit more delicate to configure than
a `tab-dwim-functions` var, but I think neither of them would be usable
via Custom anyway (because it's often overridden buffer-locally by
major/minor modes).

This said, a `tab-dwim-functions` would be a great improvement over
what have, in any case.


        Stefan




  reply	other threads:[~2022-10-11 13:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 15:03 A TAB operation reform question Vladimir Nikishkin
2022-10-10 15:49 ` Christopher Dimech
2022-10-11  0:01 ` Emanuel Berg
2022-10-11  9:15   ` Thibaut Verron
2022-10-11 10:25     ` Emanuel Berg
2022-10-11  2:37 ` Fwd: " Vladimir Nikishkin
2022-10-11  6:15   ` Emanuel Berg
2022-10-11 12:54   ` Stefan Monnier
2022-10-11 12:59     ` Vladimir Nikishkin
2022-10-11 13:48       ` Stefan Monnier [this message]
2022-10-12  6:57         ` Ihor Radchenko

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=jwvh70av5vk.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lockywolf@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.