From unknown Fri Jun 20 07:29:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70365 <70365@debbugs.gnu.org> To: bug#70365 <70365@debbugs.gnu.org> Subject: Status: 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//l from mode-name variable Reply-To: bug#70365 <70365@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:29:31 +0000 retitle 70365 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//= l from mode-name variable reassign 70365 emacs submitter 70365 Animesh Sahu severity 70365 normal tag 70365 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 13 04:14:39 2024 Received: (at submit) by debbugs.gnu.org; 13 Apr 2024 08:14:40 +0000 Received: from localhost ([127.0.0.1]:60065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvYWw-0000iv-LZ for submit@debbugs.gnu.org; Sat, 13 Apr 2024 04:14:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvXmr-00020c-83 for submit@debbugs.gnu.org; Sat, 13 Apr 2024 03:27:00 -0400 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 ) id 1rvXmb-0008Hq-EI for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 03:26:41 -0400 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvXmY-0000DJ-3x for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 03:26:41 -0400 Received: by mail-vk1-xa2b.google.com with SMTP id 71dfb90a1353d-4dabbf19e1eso575453e0c.0 for ; Sat, 13 Apr 2024 00:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712993196; x=1713597996; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=7/iqzEwcozq+wPjtPcRR7Uw0g5X358DSy1QODTEUks0=; b=l8J9Ij8UGdMqHrJ55Xwf+j0HywhU8TtLxQ/fDYNTwZkQkMgmtTmZqwNEva6TPutNFU 5BbSE+IGmOvC4bPbcYsdHNPa70G14azIjwsxHtve9tBdSx242q9g4HAwnsyTz+BaaXPA U1e0JZuWTyRz6b1ZpH6Bi92WMCf3HRsUzqnSKYnT2tVnZ9kZg2SCbSLEDNDShnW4EzbT Dh+ztf8Xu+utbYoGrzlRK66RaibYGeJacByTxDmWy9jIiblN9iMvHZ35CSgGDvn42bda zOAzLclp0lyhdM0LKusJ2qRUbYgrnuTk2r4GCoW4ebu3tbSp8qyjFPMwoIMnsRV83Rr4 VaZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712993196; x=1713597996; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7/iqzEwcozq+wPjtPcRR7Uw0g5X358DSy1QODTEUks0=; b=FaXe2/3Kv5VDABuOVI0Z6FBtl1VIjX5BppPzS8i3qef/bhBQAk/FoMwfQ+ypY4vV1d 24XPQphBmzNHiufn/t36fQRscbg8jvxGEmhpWMgOa3EaYrApOYtAVNZmqquvEwBCI0h9 ioA/b50kATNHts7eQmc1oLk6DX4soGojJhvt40UUrxNHBSbeRYWOrHFfFWRr6xgjb3sf 2kLfhvQ0fYtnBbckysj5UfkwEu8ls+17m5K90AFoe0sX6BDnDWDcpgWRPUEbCW/BwGDM G+grMEIxEIYaRuuZjoBBEths7v455ZoN2Ue7ID6UY/UWNUWo2Qm/2ERm0Vxr9gZmPd+C efYg== X-Gm-Message-State: AOJu0YyXOy53ANiE7ah29uyFPdd3oI+w+BYclcMXEhySRDsOGjCW0RRh vnKLxx4eAf/go/SRzVorADAMVKcDGQ32g8mD56Zw3WwMlh43OEgzB11fl2shFPDoF7JUfvhtg0j YQI18RXZ7CdUxay04N4qAOHoWUcvvAbf8Pnk= X-Google-Smtp-Source: AGHT+IFrp/lnN0SmKn4/TASYsrn4s6bj5o3QMqNC7Q21xRUvx0PHHlgdEN5FUKM3SsRF5e2MT432CVueD049hZl5Ctw= X-Received: by 2002:a05:6122:3d14:b0:4d4:ef9:719d with SMTP id ga20-20020a0561223d1400b004d40ef9719dmr4803802vkb.5.1712993195296; Sat, 13 Apr 2024 00:26:35 -0700 (PDT) MIME-Version: 1.0 From: Animesh Sahu Date: Sat, 13 Apr 2024 12:56:20 +0530 Message-ID: Subject: 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//l from mode-name variable To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000e890c20615f54eed" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2b; envelope-from=animeshz916@gmail.com; helo=mail-vk1-xa2b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: --text follows this line-- I was trying to set up emacs modeline, the major modes however under the variable name "mode-name" seems to have a suffix injected, and thus it renders either C++//l instead of C++ and Emacs-Lisp/l in [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (animeshz916[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (animeshz916[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 13 Apr 2024 04:14:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --000000000000e890c20615f54eed Content-Type: text/plain; charset="UTF-8" --text follows this line-- I was trying to set up emacs modeline, the major modes however under the variable name "mode-name" seems to have a suffix injected, and thus it renders either C++//l instead of C++ and Emacs-Lisp/l instead of Emacs-Lisp, I would like it to be simply the name of major mode without extra details. And I don't seem to find any way of doing that anywhere on the internet. Closest I could find something is here: https://www.reddit.com/r/emacs/comments/8v8de4/change_modename_for_major_mode/ it suggests doing something like (defalias 'c-update-modeline #'ignore), but this doesn't seem right way to do it, since its basically doing only for C or C++ language, same has to be done for java, ts, many more. Also Emacs-Lisp/l doesn't have similar function that can be suppressed with 'ignore either, so I don't see a concrete way of doing it. Any help would be appreciated, thanks! In GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Void Linux Configured using: 'configure --prefix=/nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2 --disable-build-details --with-modules --with-x-toolkit=lucid --with-xft --with-cairo --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --without-small-ja-dic --with-tree-sitter --with-xinput2 --without-xwidgets' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $EMACSLOADPATH: value of $EMACSNATIVELOADPATH: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: org-html-themify-mode: t hl-todo-mode: t telephone-line-mode: t global-hl-line-mode: t marginalia-mode: t projectile-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t vertico-mode: t which-key-mode: t undo-fu-session-global-mode: t undo-fu-session-mode: t global-evil-collection-unimpaired-mode: t evil-collection-unimpaired-mode: t evil-mode: t evil-local-mode: t general-override-mode: t shell-dirtrack-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t winner-mode: t recentf-mode: t savehist-mode: t elpaca-use-package-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t auto-fill-function: #[128 \304\300\301 #\207 [yas--auto-fill #[128 \301\302\300! "\207 [auto-fill-function apply default-value] 4 (fn &rest ARGS)] :around nil apply] 5 advice] global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /nix/store/1vlha7xa4myxc37y3463c2f481w3vw81-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/site-lisp/site-start /home/animesh/.emacs.d/elpaca/builds/transient/transient hides /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/transient Features: (shadow sort mail-extr emacsbug cua-base cl-print em-unix em-term evil-collection-term term disp-table ehelp em-script em-ls em-hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var em-basic em-banner em-alias evil-collection-eshell em-prompt esh-mode eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util company-elisp org-html-themify ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox htmlize oc-basic ol-eww evil-collection-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec evil-collection-epa epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win evil-collection-gnus gnus nnheader gnus-util mail-utils range mm-util mail-prsvr ol-docview evil-collection-doc-view doc-view filenotify evil-collection-image image-mode exif evil-collection-dired dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi pp mule-util evil-collection-vc-git vc-git evil-collection-diff-mode diff-mode vc-dispatcher jka-compr hl-todo company-yasnippet hexrgb telephone-line telephone-line-segments telephone-line-separators telephone-line-utils doom-city-lights-theme doom-themes-ext-visual-bell face-remap hl-line doom-themes doom-themes-base evil-collection-helpful helpful cc-langs evil-collection-imenu imenu trace evil-collection-edebug edebug evil-collection-debug debug backtrace info-look evil-collection-info info f help-fns radix-tree evil-collection-elisp-refs elisp-refs marginalia evil-collection-embark embark-org org-element org-persist xdg org-id org-refile avl-tree embark projectile lisp-mnt evil-collection-grep grep evil-collection-compile compile text-property-search ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs nix-mode ffap smie nix-repl nix-shell nix-store evil-collection-magit-section magit-section cursor-sensor nix-log nix-instantiate nix-shebang nix-format nix evil-collection-markdown-mode markdown-mode color yasnippet company-tabnine s dash company-oddmuse company-keywords company-etags etags fileloop generator evil-collection-xref xref company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb evil-collection-company company hop orderless evil-collection-vertico vertico compat evil-collection-which-key which-key evil-collection-vundo vundo undo-fu-session undo-fu hl-todo-autoloads org-html-themify-autoloads htmlize-autoloads hexrgb-autoloads telephone-line-autoloads doom-themes-autoloads helpful-autoloads f-autoloads elisp-refs-autoloads marginalia-autoloads embark-autoloads projectile-autoloads nix-mode-autoloads magit-section-autoloads transient-autoloads markdown-mode-autoloads yasnippet-autoloads company-tabnine-autoloads dash-autoloads s-autoloads company-autoloads hop-autoloads orderless-autoloads vertico-autoloads compat-autoloads which-key-autoloads vundo-autoloads undo-fu-session-autoloads undo-fu-autoloads chdir chdir-core tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 pcre pcre-core evil-collection-unimpaired evil-collection-tabulated-list evil-collection-tab-bar evil-collection-simple evil-collection-replace evil-collection-python evil-collection-process-menu evil-collection-outline evil-collection-org evil-collection-indent evil-collection-help evil-collection-elisp-mode evil-collection-eldoc evil-collection-elpaca evil-collection-comint evil-collection-calendar evil-collection-buff-menu evil-collection annalist evil evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core advice evil-common thingatpt rect evil-vars edmacro kmacro comp comp-cstr warnings general evil-collection-autoloads annalist-autoloads evil-autoloads goto-chg-autoloads general-autoloads cl-extra help-mode ob-js ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-ruby ob-python python project pcase treesit ob-shell shell display-line-numbers winner recentf tree-widget wid-edit savehist org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec elpaca-use-package use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core password-cache json subr-x map byte-opt bytecomp byte-compile url-vars mailcap cl-seq cl-macs elpaca elpaca-process cl-loaddefs cl-lib elpaca-autoloads early-init gv rmc iso-transl tooltip cconv 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 nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 967497 256396) (symbols 48 49654 3) (strings 32 312726 26972) (string-bytes 1 9196016) (vectors 16 93110) (vector-slots 8 2293913 442255) (floats 8 906 1912) (intervals 56 4205 1976) (buffers 984 26)) --000000000000e890c20615f54eed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
--text follows this line--

I was trying to set up e= macs modeline, the major modes however under the variable name "mode-n= ame" seems to have a suffix injected, and thus it renders either C++//= l instead of C++ and Emacs-Lisp/l instead of Emacs-Lisp, I would like it to= be simply the name of major mode without extra details. And I don't se= em to find any way of doing that anywhere on the internet.

Closest I could find something is here:=C2=A0https://www= .reddit.com/r/emacs/comments/8v8de4/change_modename_for_major_mode/ it = suggests doing something like=C2=A0(defalias 'c-update-modeline #'i= gnore), but this doesn't seem right way to do it, since its basically d= oing only for C or C++ language, same has to be done for java, ts, many mor= e. Also Emacs-Lisp/l doesn't have similar function that can be suppress= ed=C2=A0with 'ignore either, so I don't see a concrete way of doing= it.

Any help=C2=A0would be appreciated, thanks!


In GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, X toolkit= , cairo
version 1.18.0, Xaw3d scroll bars)
Windowing system distribut= or 'The X.Org Foundation', version 11.0.12101011
System Descript= ion: Void Linux

Configured using:
=C2=A0'configure
=C2=A0-= -prefix=3D/nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2
=C2=A0-= -disable-build-details --with-modules --with-x-toolkit=3Dlucid
=C2=A0--w= ith-xft --with-cairo --with-compress-install
=C2=A0--with-toolkit-scroll= -bars --with-native-compilation
=C2=A0--without-imagemagick --without-sm= all-ja-dic --with-tree-sitter
=C2=A0--with-xinput2 --without-xwidgets= 9;

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS G= PM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17= N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND = SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE= XIM XINPUT2 XPM
LUCID ZLIB

Important settings:
=C2=A0 value o= f $EMACSLOADPATH:
=C2=A0 value of $EMACSNATIVELOADPATH:
=C2=A0 valu= e of $LC_COLLATE: C
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-= coding-system: utf-8-unix

Major mode: Org

Minor modes in effe= ct:
=C2=A0 org-html-themify-mode: t
=C2=A0 hl-todo-mode: t
=C2=A0 = telephone-line-mode: t
=C2=A0 global-hl-line-mode: t
=C2=A0 marginali= a-mode: t
=C2=A0 projectile-mode: t
=C2=A0 yas-global-mode: t
=C2= =A0 yas-minor-mode: t
=C2=A0 global-company-mode: t
=C2=A0 company-mo= de: t
=C2=A0 vertico-mode: t
=C2=A0 which-key-mode: t
=C2=A0 undo-= fu-session-global-mode: t
=C2=A0 undo-fu-session-mode: t
=C2=A0 globa= l-evil-collection-unimpaired-mode: t
=C2=A0 evil-collection-unimpaired-m= ode: t
=C2=A0 evil-mode: t
=C2=A0 evil-local-mode: t
=C2=A0 genera= l-override-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 global-displa= y-line-numbers-mode: t
=C2=A0 display-line-numbers-mode: t
=C2=A0 win= ner-mode: t
=C2=A0 recentf-mode: t
=C2=A0 savehist-mode: t
=C2=A0 = elpaca-use-package-mode: t
=C2=A0 override-global-mode: t
=C2=A0 tool= tip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file= -name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock= -mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 column-number-mode: t
= =C2=A0 line-number-mode: t
=C2=A0 auto-fill-function: #[128 \304\300\301= #\207 [yas--auto-fill #[128 \301\302\300! "\207 [auto-fill-function a= pply default-value] 4

(fn &rest ARGS)] :around nil apply] 5 adv= ice]
=C2=A0 global-visual-line-mode: t
=C2=A0 visual-line-mode: t
= =C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 = auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

Load-path= shadows:
/nix/store/1vlha7xa4myxc37y3463c2f481w3vw81-emacs-packages-dep= s/share/emacs/site-lisp/site-start hides /nix/store/5hl68vr85cagmwaycqy652r= 2g2isjcyq-emacs-29.2/share/emacs/site-lisp/site-start
/home/animesh/.ema= cs.d/elpaca/builds/transient/transient hides /nix/store/5hl68vr85cagmwaycqy= 652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/transient

Features:(shadow sort mail-extr emacsbug cua-base cl-print em-unix em-term
evil= -collection-term term disp-table ehelp em-script em-ls em-hist
em-pred e= m-glob em-extpipe em-cmpl em-dirs esh-var em-basic em-banner
em-alias ev= il-collection-eshell em-prompt esh-mode eshell esh-cmd
esh-ext esh-opt e= sh-proc esh-io esh-arg esh-module esh-groups esh-util
company-elisp org-= html-themify ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util = rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icale= ndar org-agenda ox-html table ox-ascii
ox-publish ox htmlize oc-basic ol= -eww evil-collection-eww eww url-queue
mm-url ol-rmail ol-mhe ol-irc ol-= info ol-gnus nnselect gnus-art mm-uu
mml2015 mm-view mml-smime smime gnu= tls dig gnus-sum shr pixel-fill
kinsoku url-file svg dom browse-url gnus= -group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail = mail-source utf7 nnoo
gnus-spec gnus-int gnus-range message sendmail yan= k-media puny rfc822
mml mml-sec evil-collection-epa epa derived epg rfc6= 068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 = rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win evil-collect= ion-gnus
gnus nnheader gnus-util mail-utils range mm-util mail-prsvr ol-= docview
evil-collection-doc-view doc-view filenotify evil-collection-ima= ge
image-mode exif evil-collection-dired dired dired-loaddefs ol-bibtex<= br>bibtex ol-bbdb ol-w3m ol-doi org-link-doi pp mule-util
evil-collectio= n-vc-git vc-git evil-collection-diff-mode diff-mode
vc-dispatcher jka-co= mpr hl-todo company-yasnippet hexrgb telephone-line
telephone-line-segme= nts telephone-line-separators telephone-line-utils
doom-city-lights-them= e doom-themes-ext-visual-bell face-remap hl-line
doom-themes doom-themes= -base evil-collection-helpful helpful cc-langs
evil-collection-imenu ime= nu trace evil-collection-edebug edebug
evil-collection-debug debug backt= race info-look evil-collection-info
info f help-fns radix-tree evil-coll= ection-elisp-refs elisp-refs
marginalia evil-collection-embark embark-or= g org-element org-persist xdg
org-id org-refile avl-tree embark projecti= le lisp-mnt
evil-collection-grep grep evil-collection-compile compiletext-property-search ibuf-ext evil-collection-ibuffer ibuffer
ibuffer-l= oaddefs nix-mode ffap smie nix-repl nix-shell nix-store
evil-collection-= magit-section magit-section cursor-sensor nix-log
nix-instantiate nix-sh= ebang nix-format nix evil-collection-markdown-mode
markdown-mode color y= asnippet company-tabnine s dash company-oddmuse
company-keywords company= -etags etags fileloop generator
evil-collection-xref xref company-gtags = company-dabbrev-code
company-dabbrev company-files company-clang company= -capf company-cmake
company-semantic company-template company-bbdb evil-= collection-company
company hop orderless evil-collection-vertico vertico= compat
evil-collection-which-key which-key evil-collection-vundo vundo<= br>undo-fu-session undo-fu hl-todo-autoloads org-html-themify-autoloads
= htmlize-autoloads hexrgb-autoloads telephone-line-autoloads
doom-themes-= autoloads helpful-autoloads f-autoloads elisp-refs-autoloads
marginalia-= autoloads embark-autoloads projectile-autoloads
nix-mode-autoloads magit= -section-autoloads transient-autoloads
markdown-mode-autoloads yasnippet= -autoloads company-tabnine-autoloads
dash-autoloads s-autoloads company-= autoloads hop-autoloads
orderless-autoloads vertico-autoloads compat-aut= oloads
which-key-autoloads vundo-autoloads undo-fu-session-autoloads
= undo-fu-autoloads chdir chdir-core tramp tramp-loaddefs trampver
tramp-i= ntegration files-x tramp-compat parse-time iso8601 pcre pcre-core
evil-c= ollection-unimpaired evil-collection-tabulated-list
evil-collection-tab-= bar evil-collection-simple evil-collection-replace
evil-collection-pytho= n evil-collection-process-menu
evil-collection-outline evil-collection-o= rg evil-collection-indent
evil-collection-help evil-collection-elisp-mod= e evil-collection-eldoc
evil-collection-elpaca evil-collection-comint ev= il-collection-calendar
evil-collection-buff-menu evil-collection annalis= t evil evil-integration
evil-maps evil-commands reveal evil-jumps evil-c= ommand-window evil-types
evil-search evil-ex evil-macros evil-repeat evi= l-states evil-core advice
evil-common thingatpt rect evil-vars edmacro k= macro comp comp-cstr
warnings general evil-collection-autoloads annalist= -autoloads
evil-autoloads goto-chg-autoloads general-autoloads cl-extra = help-mode
ob-js ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-style= s cc-align
cc-engine cc-vars cc-defs ob-ruby ob-python python project pc= ase treesit
ob-shell shell display-line-numbers winner recentf tree-widg= et wid-edit
savehist org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-= macro
org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-col= or
ring org-list org-footnote org-faces org-entities time-date noutline<= br>outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rxorg-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu
cale= ndar cal-loaddefs org-version org-compat org-macs format-spec
elpaca-use= -package use-package use-package-ensure use-package-delight
use-package-= diminish use-package-bind-key bind-key easy-mmode
use-package-core elpac= a-use-package-autoloads elpaca-log elpaca-ui url
url-proxy url-privacy u= rl-expand url-methods url-history url-cookie
generate-lisp-file url-doms= uf url-util url-parse auth-source eieio
eieio-core password-cache json s= ubr-x map byte-opt bytecomp byte-compile
url-vars mailcap cl-seq cl-macs= elpaca elpaca-process cl-loaddefs cl-lib
elpaca-autoloads early-init gv= rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook v= c-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-w= in x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list rep= lace 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 nadvice seq= simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-l= ang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp5193= 2 hebrew greek
romanian slovak czech european ethiopic indian cyrillic c= hinese
composite emoji-zwj charscript charprop case-table epa-hook
jk= a-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
th= eme-loaddefs faces cus-face macroexp files window text-properties
overla= y sha1 md5 base64 format env code-pages mule custom widget keymap
hashta= ble-print-readable backquote threads dbusbind inotify
dynamic-setting sy= stem-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tt= y make-network-process native-compile emacs)

Memory information:
= ((conses 16 967497 256396)
=C2=A0(symbols 48 49654 3)
=C2=A0(strings = 32 312726 26972)
=C2=A0(string-bytes 1 9196016)
=C2=A0(vectors 16 931= 10)
=C2=A0(vector-slots 8 2293913 442255)
=C2=A0(floats 8 906 1912)=C2=A0(intervals 56 4205 1976)
=C2=A0(buffers 984 26))
--000000000000e890c20615f54eed-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 13 05:42:32 2024 Received: (at 70365) by debbugs.gnu.org; 13 Apr 2024 09:42:32 +0000 Received: from localhost ([127.0.0.1]:60151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvZu3-0008El-0w for submit@debbugs.gnu.org; Sat, 13 Apr 2024 05:42:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvZu1-0008EI-06; Sat, 13 Apr 2024 05:42:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvZtl-0001MW-2A; Sat, 13 Apr 2024 05:42:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BgUe6GwBYwTyQa4azB2vsrcF2sYOGJGBq2Ob9cvEle4=; b=D2Quf6tGo1V7 fDKlvkCFw28TPqh1jAp+5HixW8Kc03I+sR1xvk7AaKsrXbLgexU2LKKMBQ4sPnsATtwoyF4Ip31dJ Py9XjVTSYEQFMBVI/y2cBHg4bR52TTcPrMPwTNYHWFOOTmCbzeiecEXe50S8TNBMBaZIHb37ZVWmC HsG+wRVLsC54FJpHdaOZpz48pxDTQXujTPYlTOUPzBmiqLfdXQ52EBRFgYSXdQOVXUWuQp87B7K/Y qLO9O1GP+EYL1TLpPH6iw54eVLYSrMV1XrWqbIyyGHSH4wqzKUa34dhBqxgA8IPOvFpxeg3EwaMEU /6HT6kHs0u90Qv4MAaqOCg==; Date: Sat, 13 Apr 2024 12:42:10 +0300 Message-Id: <86plutppjh.fsf@gnu.org> From: Eli Zaretskii To: Animesh Sahu In-Reply-To: (message from Animesh Sahu on Sat, 13 Apr 2024 12:56:20 +0530) Subject: Re: bug#70365: 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//l from mode-name variable References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70365 Cc: 70365@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 70365 notabug thanks > From: Animesh Sahu > Date: Sat, 13 Apr 2024 12:56:20 +0530 > > I was trying to set up emacs modeline, the major modes however under the variable name "mode-name" > seems to have a suffix injected, and thus it renders either C++//l instead of C++ and Emacs-Lisp/l instead of > Emacs-Lisp, I would like it to be simply the name of major mode without extra details. And I don't seem to find > any way of doing that anywhere on the internet. Can't you simply overwrite the value of mode-name in your mode hook? Or modify the value of mode-line-modes to use some other variable instead of mode-name, and then set the value of that other variable as you see fit. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 13 08:01:05 2024 Received: (at 70365) by debbugs.gnu.org; 13 Apr 2024 12:01:05 +0000 Received: from localhost ([127.0.0.1]:60254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvc46-0000tw-P2 for submit@debbugs.gnu.org; Sat, 13 Apr 2024 08:01:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvc43-0000sM-QH for 70365@debbugs.gnu.org; Sat, 13 Apr 2024 08:01:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvc3n-0006vH-T3; Sat, 13 Apr 2024 08:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VYSUCMZdt29FLojsmhecFNEPNbqnLAz2jwaFLX9FL4M=; b=oYg4NDkBKxsx Zwro59tMwuJwFG7DNHGgwLItMCeoBOW1bbvGzoIcRl8tdVzMtqDaS1Z9SweUIy0mdahewsoXZwerv GjeFfwc/288bydzN/hAKj2vo6rL1Bj7/EpRamGsXuZG/Ih2EiCfHz6L1KIWAJZ9fupOMnnAPAgi/W 1KA2uYC8GWHaChhBU2VqrhkHXFhBYFSE6uY2y+kZq2qD5cNNY2iYNgffk5slr79CyGLBreHrB0vkt /nVMDyEQXd0ceHkThdYBCa9dunP5NLWC3+VrApZu5IcmK/f5JYwJjq6Gi5Oi4y0TwsyLML45YEbZj QDKHXv/pyyB+/2WyfKdDvA==; Date: Sat, 13 Apr 2024 15:00:39 +0300 Message-Id: <86cyqtpj4o.fsf@gnu.org> From: Eli Zaretskii To: Animesh Sahu In-Reply-To: (message from Animesh Sahu on Sat, 13 Apr 2024 16:18:20 +0530) Subject: Re: bug#70365: 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//l from mode-name variable References: <86plutppjh.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70365 Cc: 70365@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [Please use Reply All to reply, to keep the bug tracker CC'ed.] > From: Animesh Sahu > Date: Sat, 13 Apr 2024 16:18:20 +0530 > > I would not like this to be a per-mode fix for every language, I already linked closest I could get to this issue, in > my previous mail: > > > Closest I could find something is here: > https://www.reddit.com/r/emacs/comments/8v8de4/change_modename_for_major_mode/ it suggests doing > something like (defalias 'c-update-modeline #'ignore), but this doesn't seem right way to do it, since its > basically doing only for C or C++ language, same has to be done for java, ts, many more. Also Emacs-Lisp/l > doesn't have similar function that can be suppressed with 'ignore either, so I don't see a concrete way of > doing it. You should be able to do this globally in a after-change-major-mode-hook, I think. Although I don't think I understand how you can do that regardless of the mode, since you cannot know in advance what will a mode possibly append to mode-name -- it could be something you want to leave alone in some modes. So a mode-specific setting sounds like the best idea to me, if you ask me. There's also the other possibility I mentioned: to modify mode-line-modes so as to use some other variable for showing the mode name. You can then control the value of that variable. This is not a mode specific solution. > I would like to have these variables populated by their own modes. Although I don't find a generic way to > disable that in all the languages / major modes. I'm not sure what is it that you expect us to do here. We are not going to change how these mode names are displayed by default, so whatever you want to do it will have to be in your own local customizations. I've pointed out several possible ways of performing such customizations. If this is not enough, or you need more assistance in accomplishing this, I suggest to post a question on help-gnu-emacs@gnu.org, where people could help you implement this. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 13 10:31:27 2024 Received: (at 70365-done) by debbugs.gnu.org; 13 Apr 2024 14:31:27 +0000 Received: from localhost ([127.0.0.1]:33646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvePf-0004M7-3v for submit@debbugs.gnu.org; Sat, 13 Apr 2024 10:31:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvePb-0004LD-Oz for 70365-done@debbugs.gnu.org; Sat, 13 Apr 2024 10:31:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvePL-0002yX-E9; Sat, 13 Apr 2024 10:31:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nU0GxAK1jO/46tG5wsosjXRrbAouQt07t2dj6AEzl6A=; b=n5BmSZwzlf0Z xbIqRyP7sXHcp4W/+6A099hMj+bfaGOP6GFFCBMh3C2tawkHlBerULmDyAcLdPFEv4RLPqJm++O9r H6y/mGo64fCNJoosq2thRt+tag+lnB5P5hS3vj2Kkzv6+KGBV5DRRpCkZJdmoTYZLwkcMPnpKROYj kAMl9vBnCLNgckOdFe5HDDjOVRz3RV1c3Dp6T7d+KvYidHIvAW0yWqIoCGEIgg/bTn8BbYnvEp4we yrXY4l1/Kc/XnQX1unMGiJAbblDeX63fiFJEsNHtaNpmxQKHG8SDBwQRJVjSr+h3rh0SxFpyppVJk nRYQexB+Ryn/A9qyHvrPKQ==; Date: Sat, 13 Apr 2024 17:30:55 +0300 Message-Id: <8634rppc68.fsf@gnu.org> From: Eli Zaretskii To: Animesh Sahu In-Reply-To: (message from Animesh Sahu on Sat, 13 Apr 2024 18:27:00 +0530) Subject: Re: bug#70365: 29.2; Unable to remove suffixes such as Emacs-Lisp/l or C++//l from mode-name variable References: <86plutppjh.fsf@gnu.org> <86cyqtpj4o.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70365-done Cc: 70365-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Animesh Sahu > Date: Sat, 13 Apr 2024 18:27:00 +0530 > > Got it, thanks for the help :) Thanks, so I'm closing this bug. From unknown Fri Jun 20 07:29:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 May 2024 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator