unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: MINI-PATCH: add how to turn auto-completion in test buffers off
Date: Wed, 10 Apr 2024 16:07:12 +0300	[thread overview]
Message-ID: <86y19lv01r.fsf@gnu.org> (raw)
In-Reply-To: <CAO48Bk-3uDWUL=BcQBkgOJFjA-iAhQOKqKmrwEJwetSuok9xpg@mail.gmail.com> (message from Pedro Andres Aranda Gutierrez on Wed, 10 Apr 2024 10:45:15 +0200)

> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Wed, 10 Apr 2024 10:45:15 +0200
> Cc: emacs-devel@gnu.org
> 
> Maybe the attached patch to the doc can help other people and show why I was confused. It's the first time I
> have to disable a feature globally to then activate it for specific modes.
> 
> To a possible question about the motivation:
> 
> I use .txt for quick scribbles, logs etc. where completion-at-point stands in the way of productivity, but I might
> give it a try in.. say.. org-mode.

Does what you suggest for the manual really work?  Calling setopt in
this case modified the keymap of text-mode, and that has a global
effect.

I really don't think buffer-local tricks like this one belong to the
Emacs user manual.  Users who have such a need will have to read the
code and figure this out for themselves.  The purpose of documenting
this in the user manual is to make the feature discoverable; once
discovered, tweaking it should be easy, and doesn't need to be
described in the user manual.



  reply	other threads:[~2024-04-10 13:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 17:29 MINI-PATCH: add how to turn auto-completion in test buffers off Pedro Andres Aranda Gutierrez
2024-04-04 18:48 ` Eli Zaretskii
2024-04-05 10:25   ` Pedro Andres Aranda Gutierrez
2024-04-05 12:41     ` Eli Zaretskii
2024-04-05 15:02       ` Pedro Andres Aranda Gutierrez
2024-04-07  6:32         ` Pedro Andres Aranda Gutierrez
2024-04-07  8:00           ` Eli Zaretskii
2024-04-07 10:57             ` Pedro Andres Aranda Gutierrez
2024-04-07 11:48               ` Eli Zaretskii
2024-04-08  5:30                 ` Pedro Andres Aranda Gutierrez
2024-04-08 11:27                   ` Eli Zaretskii
2024-04-08 16:56                     ` Pedro Andres Aranda Gutierrez
2024-04-08 17:37                       ` tomas
2024-04-08 18:38                         ` Eli Zaretskii
2024-04-08 18:43                           ` Emanuel Berg
2024-04-09  4:31                             ` tomas
2024-04-09  5:06                               ` Emanuel Berg
2024-04-09  9:26                                 ` Eli Zaretskii
2024-04-09  9:32                                   ` tomas
2024-04-08 17:57                       ` Eli Zaretskii
2024-04-09  5:22                         ` Pedro Andres Aranda Gutierrez
2024-04-10  8:45                           ` Pedro Andres Aranda Gutierrez
2024-04-10 13:07                             ` Eli Zaretskii [this message]
2024-04-10 13:35                               ` tomas
2024-04-10 13:58                                 ` Eli Zaretskii
2024-04-10 14:10                                   ` tomas
2024-04-10 14:45                                     ` Pedro Andres Aranda Gutierrez
2024-04-10 15:26                                     ` Eli Zaretskii

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=86y19lv01r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=paaguti@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 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).