GNU logs - #61211, boring messages


Message sent to monnier@HIDDEN, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#61211: 28.2; Feature request; facility for dispatch type major mode
Resent-From: Ikumi Keita <ikumi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: monnier@HIDDEN, bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 01 Feb 2023 12:29:02 +0000
Resent-Message-ID: <handler.61211.B.16752545038887 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 61211
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 61211 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
X-Debbugs-Original-Xcc: Stefan Monnier <monnier@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.16752545038887
          (code B ref -1); Wed, 01 Feb 2023 12:29:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Feb 2023 12:28:23 +0000
Received: from localhost ([127.0.0.1]:56779 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pNCDu-0002JH-Mv
	for submit <at> debbugs.gnu.org; Wed, 01 Feb 2023 07:28:23 -0500
Received: from lists.gnu.org ([209.51.188.17]:52784)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1pNCDq-0002J6-Ce
 for submit <at> debbugs.gnu.org; Wed, 01 Feb 2023 07:28:20 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ikumi@HIDDEN>)
 id 1pNCDo-0007kg-Qm
 for bug-gnu-emacs@HIDDEN; Wed, 01 Feb 2023 07:28:18 -0500
Received: from smtp1a.inetd.co.jp ([210.129.88.11])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ikumi@HIDDEN>)
 id 1pNCDk-0007Dp-Ow
 for bug-gnu-emacs@HIDDEN; Wed, 01 Feb 2023 07:28:16 -0500
Received: from localhost (42-144-46-173.rev.home.ne.jp [42.144.46.173])
 by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 1CAFB5C
 for <bug-gnu-emacs@HIDDEN>; Wed,  1 Feb 2023 21:28:08 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.2
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <13349.1675254487.1@localhost>
Content-Transfer-Encoding: quoted-printable
Date: Wed, 01 Feb 2023 21:28:07 +0900
Message-ID: <13351.1675254487@localhost>
Received-SPF: pass client-ip=210.129.88.11; envelope-from=ikumi@HIDDEN;
 helo=smtp1a.inetd.co.jp
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

I'd like to discuss dispatch functions or "superficial" major modes.
AUCTeX has the following major mode functions:
context-en-mode, context-nl-mode, japanese-latex-mode, japanese-plain-tex-=
mode
They only do language-specific set-ups and turn into context-mode,
latex-mode or plain-tex-mode eventually. In some aspects, they are
similar with dispatch functions `tex--guess-mode' and `TeX-tex-mode'
(AUCTeX) which guess a proper major mode and call it:
- They can be specified as `mode' tag of file local variable and entry
  of `auto-mode-alist'.
- They never hold their own `major-mode' value.
- When called, they eventually turn into another proper major mode.
For these reasons, they can be called "superficial" major modes.

Note that it isn't enough to define them like
(define-derived-mode japanese-latex-mode latex-mode "LaTeX"
  ...
  (setq major-mode 'latex-mode)
  ...)
because it doesn't respond to directory local variable entry of the form
((japanese-latex-mode
  ...))
in that case.

So I hope emacs to have facility to handle such superficial major modes
in a clean way.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine



In GNU Emacs 28.2 (build 1, x86_64-unknown-freebsd13.1, GTK+ Version 3.24.=
33, cairo version 1.17.4)
 of 2022-09-15 built on freebsd.vmware
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: 13.1-RELEASE-p5

Configured using:
 'configure --with-canna --with-canna-includes=3D/usr/local/canna/include
--with-canna-libraries=3D/usr/local/canna/lib --without-xim
--disable-largefile --without-modules --with-sound=3Dyes
--with-file-notification=3Dyes CFLAGS=3D-O3'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 NOTIFY KQUEUE PDUMPER PNG RSVG SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: /home/keita/elisp:
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/keita/.emacs.d/elpa/transient-20230124.2013/transient hides /usr/loc=
al/share/emacs/28.2/lisp/transient
~/elisp/reftex-parse hides /usr/local/share/emacs/28.2/lisp/textmodes/reft=
ex-parse
/home/keita/.emacs.d/elpa/soap-client-3.2.1/soap-inspect hides /usr/local/=
share/emacs/28.2/lisp/net/soap-inspect
/home/keita/.emacs.d/elpa/soap-client-3.2.1/soap-client hides /usr/local/s=
hare/emacs/28.2/lisp/net/soap-client

Features:
(pp shadow emacsbug mh-thread supercite regi mh-identity mh-letter
mh-comp sendmail reftex-sel reftex-ref reftex-parse preview reftex-dcr
reftex-auc reftex reftex-loaddefs reftex-vars tex-bar toolbar-x noutline
outline tex-mode shell pcomplete font-latex tex-jp latex easy-mmode
latex-flymake flymake-proc flymake project compile comint ansi-color
ring warnings tex-ispell tex-style tex texmathp latexenc mh-search qp
mm-archive smiley mail-extr mh-mime mh-gnus mh-alias multi-prompt crm
mh-show goto-addr thingatpt gnus-cite gnus-art mm-uu mml2015 mm-view
mml-smime smime dig gnus-sum shr svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo
gnus-spec gnus-int message dired dired-loaddefs rfc822 mml mml-sec
mm-decode mm-bodies mm-encode gmm-utils mailheader gnus-win gnus-range
gnus nnheader wid-edit mh-seq mh-inc hl-line mh-tool-bar mh-xface
mh-utils mh-folder which-func imenu gnus-util rmail rmail-loaddefs
mail-utils text-property-search mh-scan mh-e mh-compat mailabbrev
mh-buffers mh-loaddefs skeleton misearch multi-isearch conf-mode
mule-util kinsoku cl-extra help-mode parse-time iso8601 time-date
ucs-normalize epa derived epg rfc6068 epg-config url-http url-auth
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
nsm rmc puny jka-compr twittering-mode advice xml edmacro kmacro
preview-latex tex-site canna-im info package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
japan-util iso-transl tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind kqueue lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 865676 104494)
 (symbols 48 23604 44)
 (strings 32 132282 18657)
 (string-bytes 1 5868969)
 (vectors 16 74186)
 (vector-slots 8 1681559 71081)
 (floats 8 424 893)
 (intervals 56 21817 8038)
 (buffers 992 35))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ikumi Keita <ikumi@HIDDEN>
Subject: bug#61211: Acknowledgement (28.2; Feature request; facility for
 dispatch type major mode)
Message-ID: <handler.61211.B.16752545038887.ack <at> debbugs.gnu.org>
References: <13351.1675254487@localhost>
X-Gnu-PR-Message: ack 61211
X-Gnu-PR-Package: emacs
Reply-To: 61211 <at> debbugs.gnu.org
Date: Wed, 01 Feb 2023 12:29:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  Stefan Monnier <monnier@HIDDEN>
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 61211 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
61211: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61211
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Wed, 1 Feb 2023 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.