From unknown Fri Aug 22 01:04:34 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#43231 <43231@debbugs.gnu.org> To: bug#43231 <43231@debbugs.gnu.org> Subject: Status: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". Reply-To: bug#43231 <43231@debbugs.gnu.org> Date: Fri, 22 Aug 2025 08:04:34 +0000 retitle 43231 27.1; hexl-insert-hex-char on an empty file "hexl-current-add= ress: Point is not on a character in the file". reassign 43231 emacs submitter 43231 Igor Saprykin severity 43231 normal tag 43231 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 17:42:33 2020 Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 21:42:33 +0000 Received: from localhost ([127.0.0.1]:44286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEfxA-0007Fv-JP for submit@debbugs.gnu.org; Sat, 05 Sep 2020 17:42:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:40264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEdmL-0001gg-KN for submit@debbugs.gnu.org; Sat, 05 Sep 2020 15:23:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEdmL-000464-Ey for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 15:23:13 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:37817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEdmH-0003Z0-Ux for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 15:23:13 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id db4so4739472qvb.4 for ; Sat, 05 Sep 2020 12:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vm8QupKL5N77j4xG9Y2TcXuOhkNqBLmgQohqsUmpXMM=; b=qPZeVryz79vaYueqV2UYT2CFog5s3/siCroXPOeEPCqyq5IrOmM3DR44ZPrI5aGHQ8 NhqtRN5sclgIixdyUgeKIMNqaSrXt/qGF7D0FJ5akoUH0hWJK6KDtgBLG9bovyYjOT1k aUdeLmGd7VNoqoqTOM6+YtFQOYFLw1E+7uTHMdZzN3K4dbUPFLB/5RxwBkXTJzJyhjL4 WrZcijwFrtjM0aKG0FFrr0nmI0uZYsiNA8OxD4pUQ+dBiTHHfL7lNEvS5TMhbH1ovCiR 43LqXz+afWcRG5FMoMKvfqYOD1GTpBQp7PAV328pJrIW8wCEm/eFZYKkn98xsOQdmcCD UAhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vm8QupKL5N77j4xG9Y2TcXuOhkNqBLmgQohqsUmpXMM=; b=lXInCnIZdNSF80QNH/glT2pOwLZBPNfj0zD7qirrOY3xinImCgGDtxPC277C/60l5e yentgX7jxxvrQH7t0YN5p/qUy0QZ+0anMQ0WA4ZOLvgJFmdvhYEwzfUU5ZZT3d4fW7DD e0WY3t5irJ+kKcCajv4HTLFI2pmky1RCYSQCv89Np8F2nLDB6peTNfhl+clB7Ou/xzAl ZbLjbOAPfpckxwn/Y3TncwwPyhqzxR2YuXIU4lsXGOH6WAfoQwuZ69xlJ6kzN47Bfn4M 9k0gPINSbALKFli4+4FpfmzgJjtVzPbvzZQFhUUatw6J1jwdiFXbmXh/zHWKlPQu9yrs P5yw== X-Gm-Message-State: AOAM530jKaFJTq+xR2mrCB9BGIjGWtifUFcsoX8mBYeZx+ptcO1VZt6r YAFCfsdCaYQEOujST1cnnGNMxlOD7g47qTXEoto0apLM6dPRyg== X-Google-Smtp-Source: ABdhPJxW3ZTr8mi99TTk39cD4SAUPHODSmWxq0pig3CMVXSYc0MUf+BdRWCCLRLVmo4CBnQGYg/VVBOifM5k6ICGORA= X-Received: by 2002:a05:6214:178c:: with SMTP id ct12mr12681893qvb.12.1599333788196; Sat, 05 Sep 2020 12:23:08 -0700 (PDT) MIME-Version: 1.0 From: Igor Saprykin Date: Sat, 5 Sep 2020 12:22:42 -0700 Message-ID: Subject: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000052a2ec05ae95ea53" Received-SPF: pass client-ip=2607:f8b0:4864:20::f2d; envelope-from=sheleztt@gmail.com; helo=mail-qv1-xf2d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: -0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 05 Sep 2020 17:42:30 -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: -2.3 (--) --00000000000052a2ec05ae95ea53 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hexl-mode doesn't seem to allow me to create a binary file. Steps: 1. Open Emacs 2. Create a new file using C-x C-f /tmp/boot-sect.bin 3. M-x hexl-mode 4. M-x hexl-insert-hex-char 5. e 6. Nothing is written into the buffer and the message buffer says "Point is not on a character file". I took a brief look at the source code and it appears that (hexl-current-address) expected the cursor to not be in the top left (0,0) location of the buffer. Normally in hexl-mode those columns are going to be occupied by addresses. Yet, that's exactly where the cursor is because that's an empty file. I tried on my two Macs and on a Linux box too. It works as expected if I do "echo 0 > /tmp/boot-sect.bin" first so that the file isn't empty. Cheers, Igor ----- In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2020-08-11 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.6 Recent messages: Loading paren...done [yas] Prepared just-in-time loading of snippets successfully. Loading server...done Users/igor/.emacs.d/elpa/justify-kp/justify-kp.el: =E2=80=98flet=E2=80=99 i= s an obsolete macro (as of 24.3); use either =E2=80=98cl-flet=E2=80=99 or =E2=80=98cl-let= f=E2=80=99. [2 times] Key Chord mode on For information about GNU Emacs and the GNU system, type C-h C-a. Package cl is deprecated (New file) hexl-current-address: Point is not on a character in the file Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Hexl Minor modes in effect: ruler-mode: t hl-line-mode: t hexl-follow-ascii: t hexl-follow-ascii-mode: t global-emojify-mode: t emojify-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-mode: t evil-local-mode: t keyfreq-autosave-mode: t keyfreq-mode: t winum-mode: t pyvenv-mode: t shell-dirtrack-mode: t window-number-meta-mode: t window-number-mode: t global-linum-mode: t linum-mode: t global-auto-revert-mode: t ido-everywhere: t show-paren-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ruler-mode hl-line hexl ffap emojify apropos tar-mode arc-mode archive-mode ht key-chord evil evil-keybindings evil-integration undo-tree diff evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove rect evil-digraphs evil-vars monokai-theme justify-kp dash-functional keyfreq em-term term disp-table ehelp server winum no-littering flycheck dash yasnippet highlight-indentation flymake-proc flymake warnings thingatpt company-capf company help-fns elpy elpy-rpc pcase pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell rx elpy-profile elpy-django s elpy-refactor derived edmacro kmacro python tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat shell parse-time iso8601 ls-lisp grep compile files-x etags fileloop generator xref project cus-edit wid-edit use-package-ensure use-package-core exec-path-from-shell finder-inf org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs window-number linum advice el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom cl-extra help-mode el-get-core autoload radix-tree lisp-mnt cl dired dired-loaddefs autorevert filenotify ido sanityinc-solarized-light-theme color-theme-sanityinc-solarized paren time cus-start cus-load info package easymenu browse-url 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 tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 503465 28220) (symbols 48 33655 5) (strings 32 198733 5278) (string-bytes 1 4888032) (vectors 16 76343) (vector-slots 8 2595040 48026) (floats 8 179 51) (intervals 56 396 0) (buffers 1000 13)) --00000000000052a2ec05ae95ea53 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hexl-mode doesn't seem to allow me to create a binary file.=

Steps:
1. Open Emacs
2. Create a new file using C-x C-f /tmp/boot-sec= t.bin
3. M-x hexl-mode
4. M-x hexl-insert-hex-char
5. e
6. Nothing is writt= en into the buffer and the message buffer says "Point is not on a char= acter file".

I took a brief look at the source code and it appear= s that=C2=A0(hexl-current-address) expected the cursor to not be in the top= left (0,0) location of the buffer.=C2=A0 Normally in hexl-mode those colum= ns are going to be occupied by addresses.=C2=A0 Yet, that's exactly whe= re the cursor is because that's an empty file.

I tried on my two M= acs and on a Linux box too.
It works as expected if I do "echo 0 > = /tmp/boot-sect.bin" first so that the file isn't empty.

=
Cheer= s,
Igor
-----

In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS= appkit-1671.60 Version 10.14.6 (Build 18G95))
=C2=A0of 2020-08-11 built= on builder10-14.porkrind.org<= /a>
Windowing system distributor 'Apple', version 10.3.1894
S= ystem Description: =C2=A0Mac OS X 10.15.6

Recent messages:
Loadin= g paren...done
[yas] Prepared just-in-time loading of snippets successfu= lly.
Loading server...done
Users/igor/.emacs.d/elpa/justify-kp/justif= y-kp.el: =E2=80=98flet=E2=80=99 is an obsolete macro (as of 24.3); use eith= er =E2=80=98cl-flet=E2=80=99 or =E2=80=98cl-letf=E2=80=99. [2 times]
Key= Chord mode on
For information about GNU Emacs and the GNU system, type = C-h C-a.
Package cl is deprecated
(New file)
hexl-current-address:= Point is not on a character in the file

Configured using:
=C2=A0= 'configure --with-ns '--enable-locallisppath=3D/Library/Application=
=C2=A0Support/Emacs/${version}/site-lisp:/Library/Application
=C2=A0= Support/Emacs/site-lisp' --with-modules'

Configured features= :
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULESTHREADS JSON PDUMPER

Important settings:
=C2=A0 value of $LANG:= en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: = Hexl

Minor modes in effect:
=C2=A0 ruler-mode: t
=C2=A0 hl-lin= e-mode: t
=C2=A0 hexl-follow-ascii: t
=C2=A0 hexl-follow-ascii-mode: = t
=C2=A0 global-emojify-mode: t
=C2=A0 emojify-mode: t
=C2=A0 glob= al-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 evil-mode: t
= =C2=A0 evil-local-mode: t
=C2=A0 keyfreq-autosave-mode: t
=C2=A0 keyf= req-mode: t
=C2=A0 winum-mode: t
=C2=A0 pyvenv-mode: t
=C2=A0 shel= l-dirtrack-mode: t
=C2=A0 window-number-meta-mode: t
=C2=A0 window-nu= mber-mode: t
=C2=A0 global-linum-mode: t
=C2=A0 linum-mode: t
=C2= =A0 global-auto-revert-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 show-p= aren-mode: t
=C2=A0 display-time-mode: t
=C2=A0 tooltip-mode: t
= =C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-inde= nt-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 b= link-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encry= ption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mo= de: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
Load-path shadows:
None found.

Features:
(shadow sort mail-ex= tr emacsbug message rmc puny rfc822 mml mml-sec epa
epg epg-config gnus-= util rmail rmail-loaddefs text-property-search
mm-decode mm-bodies mm-en= code mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047= rfc2045 ietf-drums mm-util mail-prsvr
mail-utils ruler-mode hl-line hex= l ffap emojify apropos tar-mode
arc-mode archive-mode ht key-chord evil = evil-keybindings
evil-integration undo-tree diff evil-maps evil-commands= reveal flyspell
ispell evil-jumps evil-command-window evil-types evil-s= earch evil-ex
evil-macros evil-repeat evil-states evil-core evil-common = windmove rect
evil-digraphs evil-vars monokai-theme justify-kp dash-func= tional keyfreq
em-term term disp-table ehelp server winum no-littering f= lycheck dash
yasnippet highlight-indentation flymake-proc flymake warnin= gs thingatpt
company-capf company help-fns elpy elpy-rpc pcase pyvenv es= hell esh-cmd
esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-grou= ps esh-util
elpy-shell rx elpy-profile elpy-django s elpy-refactor deriv= ed edmacro
kmacro python tramp-sh tramp tramp-loaddefs trampver tramp-in= tegration
tramp-compat shell parse-time iso8601 ls-lisp grep compile fil= es-x etags
fileloop generator xref project cus-edit wid-edit use-package= -ensure
use-package-core exec-path-from-shell finder-inf org ob ob-tangl= e ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint=
org-pcomplete pcomplete comint ansi-color ring org-list org-faces
or= g-entities time-date noutline outline easy-mmode org-version
ob-emacs-li= sp ob-core ob-eval org-table ol org-keys org-compat org-macs
org-loaddef= s format-spec find-func cal-menu calendar cal-loaddefs
window-number lin= um advice el-get el-get-autoloading
el-get-list-packages el-get-dependen= cies el-get-build el-get-status pp
el-get-methods el-get-fossil el-get-s= vn el-get-pacman el-get-github-zip
el-get-github-tar el-get-http-zip el-= get-http-tar el-get-hg el-get-go
el-get-git-svn el-get-fink el-get-emacs= wiki el-get-http el-get-notify
el-get-emacsmirror el-get-github el-get-g= it el-get-elpa el-get-darcs
el-get-cvs el-get-bzr el-get-brew el-get-bui= ltin el-get-apt-get
el-get-recipes el-get-byte-compile el-get-custom cl-= extra help-mode
el-get-core autoload radix-tree lisp-mnt cl dired dired-= loaddefs
autorevert filenotify ido sanityinc-solarized-light-theme
co= lor-theme-sanityinc-solarized paren time cus-start cus-load info
package= easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eie= io-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars s= eq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip el= doc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/ns= -win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd fontset= image regexp-opt fringe tabulated-list replace
newcomment text-mode eli= sp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow i= search timer select scroll-bar mouse
jit-lock font-lock syntax facemenu = font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-= 8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eu= cjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indi= an cyrillic chinese
composite charscript charprop case-table epa-hook jk= a-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice loaddefs but= ton faces
cus-face macroexp files text-properties overlay sha1 md5 base6= 4 format
env code-pages mule custom widget hashtable-print-readable back= quote
threads kqueue cocoa ns multi-tty make-network-process emacs)
<= br>Memory information:
((conses 16 503465 28220)
=C2=A0(symbols 48 33= 655 5)
=C2=A0(strings 32 198733 5278)
=C2=A0(string-bytes 1 4888032)<= br>=C2=A0(vectors 16 76343)
=C2=A0(vector-slots 8 2595040 48026)
=C2= =A0(floats 8 179 51)
=C2=A0(intervals 56 396 0)
=C2=A0(buffers 1000 1= 3))
--00000000000052a2ec05ae95ea53-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 10:16:11 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 14:16:11 +0000 Received: from localhost ([127.0.0.1]:46723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvSk-00079g-SL for submit@debbugs.gnu.org; Sun, 06 Sep 2020 10:16:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvSj-00079P-01; Sun, 06 Sep 2020 10:16:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50512) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEvSd-0000eB-Ls; Sun, 06 Sep 2020 10:16:03 -0400 Received: from [176.228.60.248] (port=1852 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEvSc-0007rD-La; Sun, 06 Sep 2020 10:16:03 -0400 Date: Sun, 06 Sep 2020 17:15:57 +0300 Message-Id: <83tuwbng82.fsf@gnu.org> From: Eli Zaretskii To: Igor Saprykin In-Reply-To: (message from Igor Saprykin on Sat, 5 Sep 2020 12:22:42 -0700) Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43231 Cc: 43231@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 43231 notabug thanks > From: Igor Saprykin > Date: Sat, 5 Sep 2020 12:22:42 -0700 > > hexl-mode doesn't seem to allow me to create a binary file. > > Steps: > 1. Open Emacs > 2. Create a new file using C-x C-f /tmp/boot-sect.bin > 3. M-x hexl-mode > 4. M-x hexl-insert-hex-char > 5. e > 6. Nothing is written into the buffer and the message buffer says "Point is not on a character file". hexl-mode doesn't support adding or deleting characters, it only supports replacing them. E.g., hexl-insert-hex-char _replaces_ the character at point with what you type. So what you see is what this mode is supposed to do: it is based on the assumption that the size of the file you are editing shouldn't be changed. If you want to create a file from scratch, why do you need hexl-mode? You can type bytes in hex or octal using C-q. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 10:40:34 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 14:40:34 +0000 Received: from localhost ([127.0.0.1]:46765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvqM-0001Up-8a for submit@debbugs.gnu.org; Sun, 06 Sep 2020 10:40:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvqL-0001UR-CR for 43231@debbugs.gnu.org; Sun, 06 Sep 2020 10:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fty/PwSGq9Hj6n5uubMWOY39XPyMQta9YAkgmUQFbgc=; b=QwfBkP3rjbPEq98OBUHX74PkWm z+dmgb9IyNWGr6QIrNXErcDtpG/zsv7WRmzApg4ym97kWzDwZswioIibxwOtNnFK/IvSTkzyExP5u sD9IYlS1PbbzqGHXPaz+Le0mzyS9WIeHRllDy4J0dUYjQxa4oKJ5Ti3iEsCT48DaaH1U=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEvqB-0008Fo-OM; Sun, 06 Sep 2020 16:40:27 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> X-Now-Playing: Sylvan Esso's _WITH_: "Dreamy Bruises" Date: Sun, 06 Sep 2020 16:40:22 +0200 In-Reply-To: <83tuwbng82.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Sep 2020 17:15:57 +0300") Message-ID: <87k0x7t1d5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> 4. M-x hexl-insert-hex-char >> 5. e >> 6. Nothing is written into the buffer and the message buffer says >> "Point is not on a character file". > > hexl-mode doesn't support adding or deleting char [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43231 Cc: Igor Saprykin , 43231@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: -1.0 (-) Eli Zaretskii writes: >> 4. M-x hexl-insert-hex-char >> 5. e >> 6. Nothing is written into the buffer and the message buffer says >> "Point is not on a character file". > > hexl-mode doesn't support adding or deleting characters, it only > supports replacing them. The error message could be more helpful, though? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 10:47:31 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 14:47:31 +0000 Received: from localhost ([127.0.0.1]:46794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvx5-0001iv-Da for submit@debbugs.gnu.org; Sun, 06 Sep 2020 10:47:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvx3-0001ig-FN for 43231@debbugs.gnu.org; Sun, 06 Sep 2020 10:47:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51346) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEvwy-0004ch-5e; Sun, 06 Sep 2020 10:47:24 -0400 Received: from [176.228.60.248] (port=3775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEvwx-0005Ic-JQ; Sun, 06 Sep 2020 10:47:23 -0400 Date: Sun, 06 Sep 2020 17:47:18 +0300 Message-Id: <83k0x7nert.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87k0x7t1d5.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 06 Sep 2020 16:40:22 +0200) Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> <87k0x7t1d5.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43231 Cc: sheleztt@gmail.com, 43231@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: Lars Ingebrigtsen > Cc: Igor Saprykin , 43231@debbugs.gnu.org > Date: Sun, 06 Sep 2020 16:40:22 +0200 > > > hexl-mode doesn't support adding or deleting characters, it only > > supports replacing them. > > The error message could be more helpful, though? Feel free to suggest a better message. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 13:25:42 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 17:25:42 +0000 Received: from localhost ([127.0.0.1]:47053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyQ9-0001ZS-Tx for submit@debbugs.gnu.org; Sun, 06 Sep 2020 13:25:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyQ8-0001ZC-Ff for 43231@debbugs.gnu.org; Sun, 06 Sep 2020 13:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Nr5KxbnDKOaG0ApS7ReAm2JffzE/dZ7KNSxaOFp3zF0=; b=AQ/4wGVeUqzRI1TI5k+637PDs6 UQeoiVDIQIw6r6t0gUAeSwdypzuz0kdli7npFSQssGsTbI/i4q//JMJqA7X/e40ECLpEqOc9V/tHf h4Li4PXCO7Vr3lZcbz9gTnttfrLgL/DfawR0saVspQohVLdL49DFcZzNAFK/Pevl7mQU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEyPz-00042S-6P; Sun, 06 Sep 2020 19:25:33 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> X-Now-Playing: Caterwaul's _The Nature Of Things_: "Diminutive Do Se Do" Date: Sun, 06 Sep 2020 19:25:29 +0200 In-Reply-To: <83tuwbng82.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Sep 2020 17:15:57 +0300") Message-ID: <87pn6yes1i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> 6. Nothing is written into the buffer and the message buffer says >> "Point is not on a character file". [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43231 Cc: Igor Saprykin , 43231@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: -1.0 (-) Eli Zaretskii writes: >> 6. Nothing is written into the buffer and the message buffer says >> "Point is not on a character file". [...] >> The error message could be more helpful, though? > > Feel free to suggest a better message. I see now that the error message isn't really "Point is not on a character file" (which I found very confusing), but instead "Point is not on a character in the file", which I think is OK. So I agree that there's nothing here to fix, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 13:25:49 2020 Received: (at control) by debbugs.gnu.org; 6 Sep 2020 17:25:49 +0000 Received: from localhost ([127.0.0.1]:47056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyQH-0001Zm-8N for submit@debbugs.gnu.org; Sun, 06 Sep 2020 13:25:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyQF-0001ZR-0v for control@debbugs.gnu.org; Sun, 06 Sep 2020 13:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QXJowdo732BRFXNBRFl70MknZKHeChUY8+JHKmBVy80=; b=ASj6MFXKA5Uv3bEU3A3duZW6tA KMRO+OTa2/9fONzgUuWlde8oFCKj+doWuJYaMMi+7wiTmJkn8vZON7PSVDGbJ6smCTG1+CMINheyl 7sMCdxSrnl17D4AvLj8Mo6+arVpO4HJobTByM/WxdiXN6lu+9SY04cSk4eiqPoi/5KBw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEyQ7-00042c-A2 for control@debbugs.gnu.org; Sun, 06 Sep 2020 19:25:41 +0200 Date: Sun, 06 Sep 2020 19:25:38 +0200 Message-Id: <87o8mies19.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43231 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: close 43231 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) close 43231 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 16:56:11 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 20:56:11 +0000 Received: from localhost ([127.0.0.1]:47248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF1hq-0000Gh-OE for submit@debbugs.gnu.org; Sun, 06 Sep 2020 16:56:10 -0400 Received: from mail-qv1-f54.google.com ([209.85.219.54]:43403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF1ho-0000GT-K1 for 43231@debbugs.gnu.org; Sun, 06 Sep 2020 16:56:09 -0400 Received: by mail-qv1-f54.google.com with SMTP id cr8so5618651qvb.10 for <43231@debbugs.gnu.org>; Sun, 06 Sep 2020 13:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y06kd7WlGfdutUpRRL4rzXoMkFfkbbQ8y572WeBQs7M=; b=gCnn2c5ICNgQT8NC+LofipItVKy5Kq2YjrB2OEPmhVWtEJhmBpNxvDygt5L7DvSlcf sJGP8mZiyR74ZcYx/ginl/fxTW8d37gZN6r6GpRpM94dX6Wl4wSkXsRwYgJBWi5Vool+ qvujXSb6mg+MTOva78eyNj7+kl2CCTTmWHnVzfbT2pN4FrassFXxEIWNHW2N7wM1pibW HTnn5u8S2fn//CIQErxPGhHxC7xuXIDMoO8hhUD62tB1rCZ1WWrFT/xy1o1pY3Ehd7Jt Cu7UZKRcxZYJvBFDbnkFjYYR9uOsUi5PoKj/+x9xfP+Pok+RLh9xyXOx4YEQGRWwEBaJ rgLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y06kd7WlGfdutUpRRL4rzXoMkFfkbbQ8y572WeBQs7M=; b=P5xsTKcS8hgmHJGes4hY29/dbEOhWxforHHEyZ3HdLXy8us/KcKf/GNbYyKd2O8E6A q6DIt/F8x1rRoNoMri2xfPT85kAwnE30Injb6G/GnFveNIS41tk15s2KnuGqNXTnQRhH oZvS83Ft/Ygs8FnJuRH78CqFcTnw0Icx+pCRyTOktMTN/R92PINPDNZV9s+JnOL8UBRa QzbnxQ+wfC9CjyubqqYEkZRguWrIkdKALBcmbSH3T4dcabY6CWN4TakhaCfAI9Yh29Es wU6d+UjWhuHZC6OwvVBKgurBvgb8//bb82yoFn/7fYk6lSlcwJp5hmSX25ZNxiIFOqhH kdXw== X-Gm-Message-State: AOAM531MoEWF/u23nO91MCrsfUzTmeY/gUHXqGrWoHNz2m1ID2uYV1Ou zXWpwX6h7jUM3uaNxa5qsm0euxpUzsbUBrxZfsg= X-Google-Smtp-Source: ABdhPJyt/BCTmFmuCvtQ84RsmZgBDrJP1yC+HeO8ob1LLZRNFxjm6U83McDbDyY6Q4ZRSMLD0uuPuL47n7EpPzKOfj4= X-Received: by 2002:a05:6214:9ae:: with SMTP id du14mr16597287qvb.176.1599425762921; Sun, 06 Sep 2020 13:56:02 -0700 (PDT) MIME-Version: 1.0 References: <83tuwbng82.fsf@gnu.org> <87pn6yes1i.fsf@gnus.org> In-Reply-To: <87pn6yes1i.fsf@gnus.org> From: Igor Saprykin Date: Sun, 6 Sep 2020 13:55:36 -0700 Message-ID: Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43231 Cc: Eli Zaretskii , 43231@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: -1.0 (-) Thanks for taking a look. I thought it might be the case that it's for replacing them. I do find it confusing, because 1) "insert" in the name of the function. 2) "C-h f" for that function talks about inserting. 3) "C-h f" for hexl-mode talks about inserting. Admittedly nothing talks about "deleting" things. Thanks for the C-q pointer. Best, Igor On Sun, Sep 6, 2020 at 10:25 AM Lars Ingebrigtsen wrote: > > Eli Zaretskii writes: > > >> 6. Nothing is written into the buffer and the message buffer says > >> "Point is not on a character file". > > [...] > > >> The error message could be more helpful, though? > > > > Feel free to suggest a better message. > > I see now that the error message isn't really "Point is not on a > character file" (which I found very confusing), but instead "Point is > not on a character in the file", which I think is OK. > > So I agree that there's nothing here to fix, and I'm closing this bug > report. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 19:59:56 2020 Received: (at 43231) by debbugs.gnu.org; 6 Sep 2020 23:59:56 +0000 Received: from localhost ([127.0.0.1]:47440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF4Zf-0000X5-Oz for submit@debbugs.gnu.org; Sun, 06 Sep 2020 19:59:56 -0400 Received: from sonic313-21.consmr.mail.ir2.yahoo.com ([77.238.179.188]:35803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF2sM-0004D8-6D for 43231@debbugs.gnu.org; Sun, 06 Sep 2020 18:11:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1599430259; bh=8Y8V01i6Xrk7vmF6/miP+qzEt5TeQKS9eT6UsTJnUkQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=D6nWhJ9VoJ/cXi+C0yGNjpxHJ2fuS4EgwBNR1hwa64qvlFwJQIYXnxjM1pOLg2U0C6XfwBqMO4ycibHNj+U1x/En0NMLJHYPG21MrXAHPm2kfGrQnmGPCoOlwewuzSDFpv0UvMV9lnhnHPhxe3g0mpCkWXzHuunGqjFgEC8KzidimTYKAAbZG31YOPMNuzPNUoWHe8lLI1PAJNukChDgm54sAZMoSuYWOKHbZFCPh83iWxe+yPUIHJB0q1vanDWpVlCIlXM+amVooTIky2VwRcEaiO2/uS89Q2UX61lWrBQV9Iw7ct0or7eYaqTzA3J5arlinLBuMkrN4wE4URCR9w== X-YMail-OSG: DEBdsd8VM1nerrTQL1YqyHAyEN6QZ4ErsTg_6HCJxMjsvs3mYpPuZr77jhpy2BS rZq4KISDnMPhTlWfFMpRaMGVWsNnUeYZ7W0HTAhif9fTeQHC.dK8omOTTVfR5WOGaOz56MPXqWGf xcTbpNM9w8B2KMHXM3LLVTRcPM5neVnv5ofnhnc8mfqBnrbXWVh0AtmR7m_hdak1V.1h_Z1MavpJ ZA06nLwNVWj1sq5W5mUsWX43S4ls9.iJlxv4FP8urYKTgc008bwyH2ZvR7jFnSgI7tlKxZDPj1JA uN7sbYbojE95pYpWaV904U2G5rMzbV6OZujNMhp0CMm9qh7UFHlRwoSFwfFp97kpM5t_A7b_uWvm VkPV3VvP91w1dDg52SmnOK4UskzEnS0IiM6gpghpreh3xd9QIhtV5l5CklS0w4jqcSyzscRiz8S8 Btzi5c7t4HjMlKi44n.aL4FWB.xvNJxAFU5Ytj5.AGnsHDpcDLr2ydUrzG1pNA4TqTEvlT.lAPYS r9IVnyxqjv6toDe6rubkZrw2KN3hk.IwGWGdIe6qwRwsoq3tSFonSP8lt7acF.OHQfkIXr6VdPVw xLsXZYY5.9t390b6.0s5Q6izBBqlzZcQRHftxl1c70K9Gap27jeGluuKEK6hUDmxsLHFpkcmLr3J 9FYLeJPs42enqahUAumRl3k44tBeLg8qsi8AIMhwjt5r_8Kq4eFFAK9qmhDXs.0zL_4CUTLYq3by sk2bVEVKlOL3UHNhQ6eEOsh7dRKlQ8vxQvqKnHxsb4vwRjl2.hdOKJjJ9iCC6zfP4nR6ePZ1Tll6 wqfZQ5So7H3GEg5JsBtYjDpOMSxnDk69RSZwvVpmu.JGrdZIxnaK.8jKY4jFKlAs7kEI6keKOUp8 rGMqBaFx4wZJpLns_lqz8xdF2LRkR.eYyCutu5Awc5OBJCrvlYbwQGj.qWbKEX0.VpDXaSRMQRBd bfulWfENThyXr9R2e6eCrEfP0ERPyQxJcrx6xu3ZWuK6f0tBZD.mqiPZnYq9iAIV0fHxqm.50c8o r4stDeX5Ic6EqAF6qeg6E_Cb0pI3ikQQve3gHPFEOvmiCcnxpvvby6l5EPfz2BFF6Nz63DpTHRfh 0tAdncTAjy3n4CnB9KPkS99T8wZxHJna7bEj_laJ6UHtL6tghtHa0dP2yLGvCkpIikEdm.NM_lB9 P.MXjqxZoNUhVk.CV1lTibvc9a_lH5B6teKodYfbTM4MP8EGqQduPiMdpIVCSZmAXkR8Z_xSOvoq QFDRztc6BqjU4KKjD_EQxIXH9z2CUR88D9t4Xr2vdsEGmjFFGMnn6afHjWiEOsYmNZ8S6FgfnoHf PGbG_qbQLy1peXKklZ5FHeq0ZzseYnAY9vbh5dAmW_iUWDLcbCCbdNRX0i1R7gYn7S1Yt0VqL9Ki bDmMHHSWt_4qkpqattQK3FtJ_7_4vaBUzLPlTWLm_FDrNOzh4.6nJI7JSjbPfIbHDSXyEjZD8ZBW VwEBRJOdE4WFjuvbXjoABcsbSk81z6zmT12BKZt4Zc4XpeF7cmtXD7.C1VH5lM83mMpqDfeCxAw- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Sun, 6 Sep 2020 22:10:59 +0000 Received: by smtp415.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b9cf68518eba108c1b3816a100d45cf2; Sun, 06 Sep 2020 22:10:57 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> <87k0x7t1d5.fsf@gnus.org> <83k0x7nert.fsf@gnu.org> Date: Mon, 07 Sep 2020 00:10:54 +0200 In-Reply-To: <83k0x7nert.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Sep 2020 17:47:18 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 302 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43231 X-Mailman-Approved-At: Sun, 06 Sep 2020 19:59:53 -0400 Cc: Lars Ingebrigtsen , 43231@debbugs.gnu.org, sheleztt@gmail.com 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.8 (/) Eli Zaretskii writes: > > Feel free to suggest a better message. Is there any operation that hexl-mode provides that makes sense when the buffer is empty? If not, then maybe we could refuse to enable hexl-mode in an empty buffer, and print a descriptive message. -- Daniel Mart=C3=ADn From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 08 10:04:06 2020 Received: (at 43231) by debbugs.gnu.org; 8 Sep 2020 14:04:06 +0000 Received: from localhost ([127.0.0.1]:55644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFeE9-0001JR-P2 for submit@debbugs.gnu.org; Tue, 08 Sep 2020 10:04:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFeE8-0001Ir-5Q for 43231@debbugs.gnu.org; Tue, 08 Sep 2020 10:04:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40149) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFeE2-0003ei-Ej; Tue, 08 Sep 2020 10:03:58 -0400 Received: from [176.228.60.248] (port=3281 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kFeE1-0008BS-C9; Tue, 08 Sep 2020 10:03:57 -0400 Date: Tue, 08 Sep 2020 17:03:55 +0300 Message-Id: <83pn6wmkl0.fsf@gnu.org> From: Eli Zaretskii To: Daniel =?utf-8?Q?Mart=C3=ADn?= In-Reply-To: (message from Daniel =?utf-8?Q?Mart?= =?utf-8?Q?=C3=ADn?= on Mon, 07 Sep 2020 00:10:54 +0200) Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> <87k0x7t1d5.fsf@gnus.org> <83k0x7nert.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43231 Cc: larsi@gnus.org, 43231@debbugs.gnu.org, sheleztt@gmail.com 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: Daniel Martín > Cc: Lars Ingebrigtsen , sheleztt@gmail.com, > 43231@debbugs.gnu.org > Date: Mon, 07 Sep 2020 00:10:54 +0200 > > Is there any operation that hexl-mode provides that makes sense when the > buffer is empty? If not, then maybe we could refuse to enable hexl-mode > in an empty buffer, and print a descriptive message. hexl-mode-exit? From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 12 11:29:47 2020 Received: (at 43231) by debbugs.gnu.org; 12 Sep 2020 15:29:47 +0000 Received: from localhost ([127.0.0.1]:48831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH7TH-0005Yt-21 for submit@debbugs.gnu.org; Sat, 12 Sep 2020 11:29:47 -0400 Received: from sonic311-31.consmr.mail.ir2.yahoo.com ([77.238.176.163]:40661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH7TC-0005YY-D3 for 43231@debbugs.gnu.org; Sat, 12 Sep 2020 11:29:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1599924576; bh=AMMMrgpXfZVlJltpJI/UDS7p0EzpRfZHNtMzmRphZqQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=igbqAUWsTE8we7JPix02Y2B+cwUI14/ZvjJHslATFTEHu59XN/2KHVD2a2KslgNpHoolIILfLRmkqQtZLJ9gMfSFy5hiEkkfgDNQXELiEv+BvG+VLKA1+PFQyG9FCUMaSxRn8KwhtSu14lmQ+kl5dpxRw0I7mfLVHLv3+2VX5prmmz8neCpwGOWI+ZESjARCubvN69cCOvAqrIW2ksqQbeD9HFr34zBkJVt5OkakfFIGtKfs5wwxm3qyop6GHzbNfKRtgQVaNHZnPvYKmHGmDmJY/RjKPnSxLPdI1QTcgb5RGr41SXW4F8yEvVpJM52YMDlOT4TQ1xj45Fy4lQYPwg== X-YMail-OSG: MrDwwPoVM1mKV8.QdlLYy.1SS_bYK9BZuJ.BbqLqhGSg9oVaqYZ9CKh7SBCCrhs q_cG1rBcYIhg503Gh4Hykcz21BrzX8_jipro9uMc34y5SvEvfDNvlL1ipyRkjZQ4W.XlnbHSm5rr WKms7xQozmnTvpO0O2bnUe10Iev5.PbX5dGwProuYbyjqnBPV4HDx3z51TzM1weVA56PZZpSfgzK pDJiScorcpkFPxX3.AOrXBTMd2VxP.mGhs_6nhCTk5xpJ7SQg.vlCsGTbH_fL.6Wl3e0SzFZNKJA X3xo97qfw4HdLGu61FjKpdxR4UhVi7IG.heHIdYQT9QkhvIvaLuCtELAeDRAWwAzTaVhTkdGDgsl 0l5GD0rHnCdzDxvT8eI_Ai35N7W2gjNF62F3.iyq5MKe40Y7FOL45zv2u.ovaMM5_8QU4kWPGBnT aJaL6SI7NFNFSgbFbT7P4T9JeUNxCWDxJKEZymNjMZ9Z8BlHRwfghx2BvQR7WXHNnslw7M_0iV39 PkYMhul8jBrmLE3V_ox8HC9TUkdXi925P2ZgD9U40cHg2SWBjMgAdaacLXmLvM8It4VVIrxIzwBk 84bVLvQBM98rlC6ovvbF_eDE1fZaNqNvFyLAR4j.5mkNVhk.ZWostc9SFHN2nmVmO8K5Ciqf6ziZ 6kojUuv37zVm1Nj_ZgroEHq0PaK22QBQB3bpa3KJITSHuJXy0abtB_.LVQ9ugVZ3PWy3Cyu2kDaC O9apP6r324CRMEDOkXbyFjVZ1adqOSwh71wx2DBkLxwAMq5NkaAOTRPsYoSGkfy3USFHI44opFcR aK6EcOGhKXpcg9CpP7LehH_uWZ856d7PB7CEVZIHYQnSVo1B8KLI.imQThmP7HC7bnKiSYOnQyAn dneHOhgzF8vd7ZqxLVhibA77.bXnyE1QCgLXDpLQk8V62wXPLHDvX8MWU2tTNzSzAyW.Z7EVSINu Yfr8wYLY.KmoOcPEWxg0bCKVM.uMiMymmaxsuHMBqLWvqGqWiWdlIQVXrj1jVjBMsTDFU5Jcv.LQ Fyj8oLGDlbw0q.BoISgPpun00gCu8Ksj.VZ6aEHoWn9._iZw1lYy2vrim68EE4Pub6OxEtqFWsaj _Amk12tsKQ7KwxXy7xiyrJNS0xEXTatRuOmQYpdqU6rQ.wmYm_.L_oHYVWVrqofeYp7HxBxx21_g 750WU5WA46HEYOhqdI2UPfc5ZstVxbs6kZ9R5I1kiv4oVQfHt79xbyeviik7VfouAvYBNGzX2rsR H4v3rlNgXr1qOY7qnEhqUqGMuTYnoL1fC1HRz85RqwiO64TCRKzFlWGes8lDoj9W.Gz2dOUsQQFs WfkXSky6Klwwu1evf81dl_oag2d6I9qwf4DaRA6gpEc7TzXpawjTRKVdmmkoeJQqM6W_KMBKswrU .C96jFpFg9hHNZD.DioILsu59_Qza1N90AggL2pDOSS9wGWrLZKlfXLUSjnWKBa7FjyOIcQoiuMW ip9UGD.UvyQQ5GOkOPAd6wGl.o0xCopErHE.NyaxawiXeDR3bHydBs_EBkt3FqMqs3Gscn1a_afe K Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sat, 12 Sep 2020 15:29:36 +0000 Received: by smtp412.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 91f08ac4f8537d7028cdb7ba3df67a72; Sat, 12 Sep 2020 15:29:32 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#43231: 27.1; hexl-insert-hex-char on an empty file "hexl-current-address: Point is not on a character in the file". References: <83tuwbng82.fsf@gnu.org> <87k0x7t1d5.fsf@gnus.org> <83k0x7nert.fsf@gnu.org> <83pn6wmkl0.fsf@gnu.org> Date: Sat, 12 Sep 2020 17:29:27 +0200 In-Reply-To: <83pn6wmkl0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Sep 2020 17:03:55 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.16565 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 191 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43231 Cc: larsi@gnus.org, 43231@debbugs.gnu.org, sheleztt@gmail.com 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.8 (/) Eli Zaretskii writes: > > hexl-mode-exit? Then what's the point in letting a user enable hexl-mode in a situation where the only useful thing they can do is exiting the mode? From unknown Fri Aug 22 01:04:34 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, 11 Oct 2020 11:24:04 +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