From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70163: 29.3; hexl-mode incorrect docstring Date: Thu, 04 Apr 2024 16:23:34 +0300 Message-ID: <86edbl6z3d.fsf@gnu.org> References: <871q7mlc9v.fsf@posteo.net> <86plv68myf.fsf@gnu.org> <878r1ucsgq.fsf@igel.home> <87a5mal6nv.fsf@posteo.net> <86le5u8g9z.fsf@gnu.org> <87r0fly8zn.fsf@posteo.net> <86r0fl723w.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1178"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, 70163@debbugs.gnu.org, schwab@linux-m68k.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 04 15:24:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rsN4o-000AcW-21 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Apr 2024 15:24:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsN4T-0000s5-JP; Thu, 04 Apr 2024 09:24:01 -0400 Original-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 1rsN4R-0000ro-Sh for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 09:24:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsN4Q-0004eZ-GH for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 09:23:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rsN4V-0005Dt-Bt for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2024 09:24:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Apr 2024 13:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70163 X-GNU-PR-Package: emacs Original-Received: via spool by 70163-submit@debbugs.gnu.org id=B70163.171223703720025 (code B ref 70163); Thu, 04 Apr 2024 13:24:03 +0000 Original-Received: (at 70163) by debbugs.gnu.org; 4 Apr 2024 13:23:57 +0000 Original-Received: from localhost ([127.0.0.1]:60855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsN4P-0005Cu-AM for submit@debbugs.gnu.org; Thu, 04 Apr 2024 09:23:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rsN4J-0005BM-BH for 70163@debbugs.gnu.org; Thu, 04 Apr 2024 09:23:55 -0400 Original-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 1rsN46-0004bl-Vo; Thu, 04 Apr 2024 09:23:39 -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=BZd4Xxv7EmCAwEual0O+CawthF9G9Cwkvslu10R3udE=; b=jeeIKeqdhZc3 X7KV+/RmhaGK8KG7RjimCqz9BDtX9W1FAwmLgJsT98qKuqFzgQyZl72L1uMhF2UPQNHpeQPBeb7R6 V40HBmbY1/yG9enISAGletVUz7NbvBz2+zJkR9EiuV/BADhNtihvJ4b0azTr28yOuBy8t7xTvByZY yd3D5F7BNysY3N9Awkk97BXW+Fj7k18t1stOV7ttB4I0U8Fqf+3o4jWOFuBJlhcKqw8aHzmBh7apK 3PD4ZPFCdM0BySwiLWAoBs3SjpOt2+vbT+vj+OYV8Q+X/7Ufh+YpiW63hDIbRSdYcr8d0CQl0wl8a SNmZ2i4DS3QQWvtQaz9MAw==; In-Reply-To: (message from Stefan Monnier on Thu, 04 Apr 2024 08:54:24 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282648 Archived-At: > From: Stefan Monnier > Cc: Thierry Volpiatto , schwab@linux-m68k.org, > 70163@debbugs.gnu.org > Date: Thu, 04 Apr 2024 08:54:24 -0400 > > > Stefan, why do we inject this ugly blurb into the text we return when > > the library is not loaded? why not simply return the same as RAW does > > in those cases? > > Good question. AFAIK this predates me, so we'd have to ask Richard. > Maybe \ should simply never expand to anything else than the > empty string. Maybe. But meanwhile, the best I can suggest is this: diff --git a/lisp/hexl.el b/lisp/hexl.el index 1288cf4..28441a2 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -256,10 +256,10 @@ hexl-line-displen ;;;###autoload (defun hexl-mode (&optional arg) - "\\A mode for editing binary files in hex dump format. -This is not an ordinary major mode; it alters some aspects + "A mode for editing binary files in hex dump format. +\\This is not an ordinary major mode; it alters some aspects of the current mode's behavior, but not all; also, you can exit -Hexl mode and return to the previous mode using `hexl-mode-exit'. +Hexl mode and return to the previous mode using \\[hexl-mode-exit]. This function automatically converts a buffer into the hexl format using the function `hexlify-buffer'.