all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master 298bbf3cd76: * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type.
       [not found] ` <20241126220406.17BD64E19C6@vcs3.savannah.gnu.org>
@ 2024-11-27  8:51   ` Robert Pluim
  2024-11-27 14:56     ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Pluim @ 2024-11-27  8:51 UTC (permalink / raw)
  To: emacs-devel; +Cc: Dmitry Gutov

>>>>> On Tue, 26 Nov 2024 17:04:05 -0500 (EST), Dmitry Gutov <dgutov@yandex.ru> said:

    Dmitry> branch: master
    Dmitry> commit 298bbf3cd76ffaf0c88a6a9ec56aa33c4103b8e6
    Dmitry> Author: Dmitry Gutov <dmitry@gutov.dev>
    Dmitry> Commit: Dmitry Gutov <dmitry@gutov.dev>

    Dmitry>     * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type.
    Dmitry> ---
    Dmitry>  lisp/files.el | 5 ++++-
    Dmitry>  1 file changed, 4 insertions(+), 1 deletion(-)

    Dmitry> diff --git a/lisp/files.el b/lisp/files.el
    Dmitry> index 72f3604054e..a65bc4a4ea2 100644
    Dmitry> --- a/lisp/files.el
    Dmitry> +++ b/lisp/files.el
    Dmitry> @@ -3621,7 +3621,10 @@ instead.
    Dmitry>  FUNCTION is typically a major mode which \"does the same thing\" as
    Dmitry>  MODE, but can also be nil to hide other entries (either in this var or
    Dmitry>  in `major-mode-remap-defaults') and means that we should call MODE."
    Dmitry> -  :type '(alist (symbol) (function)))
    Dmitry> +  :type '(alist
    Dmitry> +          :tag "Remappings"
    Dmitry> +          :key-type (symbol :tag "From major mode")
    Dmitry> +          :value-type (function :tag "To mode (or function)")))

Is this close enough to a documentation change that we could apply it
to emacs-30?

Robert
-- 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master 298bbf3cd76: * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type.
  2024-11-27  8:51   ` master 298bbf3cd76: * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type Robert Pluim
@ 2024-11-27 14:56     ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-11-27 14:56 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel, dmitry

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Dmitry Gutov <dmitry@gutov.dev>
> Date: Wed, 27 Nov 2024 09:51:23 +0100
> 
> >>>>> On Tue, 26 Nov 2024 17:04:05 -0500 (EST), Dmitry Gutov <dgutov@yandex.ru> said:
> 
>     Dmitry> branch: master
>     Dmitry> commit 298bbf3cd76ffaf0c88a6a9ec56aa33c4103b8e6
>     Dmitry> Author: Dmitry Gutov <dmitry@gutov.dev>
>     Dmitry> Commit: Dmitry Gutov <dmitry@gutov.dev>
> 
>     Dmitry>     * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type.
>     Dmitry> ---
>     Dmitry>  lisp/files.el | 5 ++++-
>     Dmitry>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>     Dmitry> diff --git a/lisp/files.el b/lisp/files.el
>     Dmitry> index 72f3604054e..a65bc4a4ea2 100644
>     Dmitry> --- a/lisp/files.el
>     Dmitry> +++ b/lisp/files.el
>     Dmitry> @@ -3621,7 +3621,10 @@ instead.
>     Dmitry>  FUNCTION is typically a major mode which \"does the same thing\" as
>     Dmitry>  MODE, but can also be nil to hide other entries (either in this var or
>     Dmitry>  in `major-mode-remap-defaults') and means that we should call MODE."
>     Dmitry> -  :type '(alist (symbol) (function)))
>     Dmitry> +  :type '(alist
>     Dmitry> +          :tag "Remappings"
>     Dmitry> +          :key-type (symbol :tag "From major mode")
>     Dmitry> +          :value-type (function :tag "To mode (or function)")))
> 
> Is this close enough to a documentation change that we could apply it
> to emacs-30?

I don't mind backporting it, but it sounds like Juri was not happy
with some aspect of the change?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-27 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <173265864560.3782512.13226573513692541017@vcs3.savannah.gnu.org>
     [not found] ` <20241126220406.17BD64E19C6@vcs3.savannah.gnu.org>
2024-11-27  8:51   ` master 298bbf3cd76: * lisp/files.el (major-mode-remap-alist): Add :tag annotations to :type Robert Pluim
2024-11-27 14:56     ` Eli Zaretskii

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.