From unknown Tue Jun 17 20:26:51 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#13599 <13599@debbugs.gnu.org> To: bug#13599 <13599@debbugs.gnu.org> Subject: Status: 24.2; (max-char) is too low (and hard to change) Reply-To: bug#13599 <13599@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:26:51 +0000 retitle 13599 24.2; (max-char) is too low (and hard to change) reassign 13599 emacs submitter 13599 Magnar Sveen severity 13599 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 13:43:28 2013 Received: (at submit) by debbugs.gnu.org; 31 Jan 2013 18:43:28 +0000 Received: from localhost ([127.0.0.1]:57962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0z6d-0005kL-C1 for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:43:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44626) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0z6a-0005kD-7j for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:43:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0z5r-0004ed-0Z for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:42:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5q-0004eZ-TW for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:42:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5p-0005eM-0l for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0z5m-0004dw-T9 for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:36 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:32857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5m-0004dV-FP for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:34 -0500 Received: by mail-lb0-f172.google.com with SMTP id n8so3740301lbj.17 for ; Thu, 31 Jan 2013 10:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=/YFLDN2US3QATjCcCi2d9KZNOCIbhh3PwPc40gm6hvQ=; b=Ob4lbx4F1TnLKHL3ZSsY52zPO4JkR20v8EZzKqhJE4wJ7Xggyj6UY8RX31S+rXVxgz mcoZgCjLwrkz0fLDrVIx1mIeBgEPBrUOXVDHwXl8exGFGfwiSpYaDIQ8EQUlYlJkXd44 tqphXmIj0NZLE+T1RGb+BlM607/8aqBEAEe1umHi2LFmBjTQNn+Rg/hjGldYrII2OzMB Q/fZjip/e09pb9VlLTPA0PgmqsYsbxIky6Pp6OkCdPfyH4BFfvnmXUGAwp0XxtyuUtx0 QkVqqCqExABP6IOtNce4/SuBv/YogNA+07PK1lFYGBJq/22YOIpzYYhc89fc+EFx5wMz gjdw== X-Received: by 10.152.136.20 with SMTP id pw20mr8714545lab.16.1359657752923; Thu, 31 Jan 2013 10:42:32 -0800 (PST) Received: from localhost (45-8-11.connect.netcom.no. [176.11.8.45]) by mx.google.com with ESMTPS id n2sm1783329lbc.5.2013.01.31.10.42.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 31 Jan 2013 10:42:30 -0800 (PST) From: Magnar Sveen To: bug-gnu-emacs@gnu.org Subject: 24.2; (max-char) is too low (and hard to change) Date: Thu, 31 Jan 2013 19:42:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. Doing a M-: (read-char) s-8 gives me the key value of 8388664. Following that up with (keyboard-translate 8388664 ?\[) does not work, since it fails the (characterp) test. Turns out that (max-char) is a C function that returns the highest allowed keycode. On my Emacs, that is 4194303. Since (max-char) is a function and not a variable, and a C function at that (not advisable when called from another C function (characterp)) - I am left without options to rectify it. Or maybe I could use a hex editor. :-) So, is this a bug? Is it weird that max-char is a function? In C? Ought 4194303 chars be enough for anybody? That's up to you guys to decide. Kind regards, Magnar Sveen In GNU Emacs 24.2.1 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2012-09-04 on fi-bp-202.local Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--prefix=/usr/local/Cellar/emacs/24.2' '--without-dbus' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--infodir=/usr/local/Cellar/emacs/24.2/share/info/emacs' '--with-ns' '--disable-ns-self-contained' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.6' 'LDFLAGS=-L/usr/local/lib'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8 default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t elisp-slime-nav-mode: t hardcore-mode: t show-paren-mode: t global-hl-line-mode: t ido-ubiquitous-mode: t eproject-mode: t paredit-mode: t persp-mode: t yas/global-mode: t yas/minor-mode: t global-undo-tree-mode: t undo-tree-mode: t global-subword-mode: t subword-mode: t recentf-mode: t delete-selection-mode: t global-auto-revert-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 Recent input: c s-8 C-y C-x C-e s-8 C-_ C-a M-f - u n C-d C-e C-b C-w C-_ C-e C-x C-e s-8 s-8 C-_ C-_ C-_ C-_ C-_ C-e C-x C-e s-8 C-q s-8 C-_ C-_ M-_ M-_ M-_ M-_ C-d C-d C-d C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-u C-n C-p C-p C-p C-p u n C-e C-x C-e C-a C-k C-b C-x C-e q s-8 s-8 C-q s-8 f r e a d - c h a r M-: ( r e a d - c h a r ) s-8 k C-q C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-q s-8 M-: s-8 C-n C-n C-n C-n C-n C-x b C-x C-e q M-: s-8 C-x C-e C-n C-n C-n C-n f c h a r a c t e r p M-: ( m a x - x h a r c h a r ) M-: C-g f m a x - c h a r C-g q f c h a r a c t e r p C-n C-n C-n C-n C-a M-w C-g q M-x e m a c s - r e b p o r e p o r t Recent messages: 4194303 (#o17777777, #x3fffff) Quit windmove-do-window-select: No window right from selected window mouse-2, RET: find function's definition Quit Type "q" in help window to restore its previous buffer. mouse-2, RET: find function's definition Copied to end of line mouse-2, RET: find function's definition Quit Load-path shadows: /Users/fimasvee/.emacs.d/elpa/hardcore-mode-1.0.0/hardcore-mode hides /Users/fimasvee/.emacs.d/site-lisp/hardcore-mode/hardcore-mode /Users/fimasvee/.emacs.d/site-lisp/fill-column-indicator/fill-column-indicator hides /Users/fimasvee/.emacs.d/site-lisp/fill-column-indicator ~/.emacs.d/users/fimasvee/init hides ~/.emacs.d/init /Users/fimasvee/.emacs.d/elpa/magit-20130109.2027/rebase-mode hides /usr/local/share/emacs/site-lisp/rebase-mode /Users/fimasvee/.emacs.d/site-lisp/delsel/delsel hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/delsel ~/.emacs.d/custom hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/custom /usr/local/share/emacs/site-lisp/trampver hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/trampver /usr/local/share/emacs/site-lisp/tramp hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp /usr/local/share/emacs/site-lisp/tramp-uu hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-uu /usr/local/share/emacs/site-lisp/tramp-smb hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-smb /usr/local/share/emacs/site-lisp/tramp-sh hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-sh /usr/local/share/emacs/site-lisp/tramp-loaddefs hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-loaddefs /usr/local/share/emacs/site-lisp/tramp-gw hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-gw /usr/local/share/emacs/site-lisp/tramp-ftp hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-ftp /usr/local/share/emacs/site-lisp/tramp-compat hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-compat /usr/local/share/emacs/site-lisp/tramp-cmds hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-cmds /usr/local/share/emacs/site-lisp/tramp-cache hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-cache /Users/fimasvee/.emacs.d/elpa/magit-20130109.2027/.dir-locals hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug debug dired-aux git-commit-mode rx php-mode flymake cc-langs setup-magit magit-svn magit-bisect magit-key-mode magit diff-mode log-edit pcvs-util add-log mule-util zencoding-mode rename-sgml-tag crappy-jsp-mode js-mode-expansions js json cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jsp-expansions html-mode-expansions tagedit sgml-mode hippie-exp css-mode-expansions css-mode misearch multi-isearch tabify conf-mode newcomment org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb network-stream starttls tls vc-git adventur-mode alternatives-mode adv-refill refill adv-indentation adv-keybindings adv-defuns adv-refactorings adv-new-number adv-named-rooms adv-search adv-enter adv-tab adv-escape adv-dash adv-jump-candidate adv-syntax-highlighting adv-intelli nrepl arc-mode archive-mode setup-clojure-mode clj-refactor clojure-mode-expansions clojure-mode inf-lisp tramp tramp-compat tramp-loaddefs setup-shell shell-command shell adv-utils adv-regexes regex-dsl unsafep elisp-slime-nav etags oppdrag-mode my-defuns hardcore-mode server setup-mu4e mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa epg epg-config browse-url longlines mu4e-headers mu4e-compose mu4e-actions org-capture org-mks setup-org org-mode-expansions org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs rfc2368 smtpmail auth-source gnus-util password-cache sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode setup-dired dired-details dired mu4e-about mu4e-vars message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader mu4e-meta diminish mac my-misc appearance zoom-frm frame-cmds frame-fns avoid paren hl-line key-bindings windmove smex setup-ido ido-ubiquitous ido browse-kill-ring fill-column-indicator multifiles change-inner smart-forward wgrep setup-rgrep grep compile comint ansi-color eproject esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util ace-jump-mode jump-char multiple-cursors mc-insert-numbers rectangular-region-mode mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core rect inline-string-rectangle mark-more-like-this mark-multiple expand-region text-mode-expansions expand-region-custom expand-region-core file-defuns imenu mode-mappings setup-paredit s dash regexp-opt paredit setup-html-mode setup-ffip find-file-in-project setup-perspective perspective setup-yasnippet buster-snippets buster-snippet-helpers yasnippet dropdown-list derived help-mode view assoc setup-hippie exec-path-from-shell sane-defaults uniquify undo-tree edmacro kmacro diff cl smooth-scrolling warnings advice help-fns advice-preload subword winner ring recentf tree-widget wid-edit easymenu delsel easy-mmode autorevert setup-package elisp-slime-nav-autoloads es-lib-autoloads exec-path-from-shell-autoloads gist-autoloads gh-autoloads eieio byte-opt bytecomp byte-compile cconv macroexp git-commit-mode-autoloads gitconfig-mode-autoloads gitignore-mode-autoloads goto-last-change-autoloads hardcore-mode-autoloads htmlize-autoloads logito-autoloads magit-autoloads move-text-autoloads nrepl-autoloads clojure-mode-autoloads paredit-autoloads pcache-autoloads finder-inf popwin-autoloads slime-js-autoloads slime-repl-autoloads slime-autoloads package tabulated-list saveplace time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 14:09:08 2013 Received: (at 13599) by debbugs.gnu.org; 31 Jan 2013 19:09:08 +0000 Received: from localhost ([127.0.0.1]:58010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0zVU-0006Ly-Ku for submit@debbugs.gnu.org; Thu, 31 Jan 2013 14:09:08 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:46404) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0zVS-0006Lm-2f for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 14:09:07 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MHI00J007PMD100@a-mtaout20.012.net.il> for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 21:08:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHI00JTJ7TW0ZB0@a-mtaout20.012.net.il>; Thu, 31 Jan 2013 21:08:21 +0200 (IST) Date: Thu, 31 Jan 2013 21:08:11 +0200 From: Eli Zaretskii Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) In-reply-to: X-012-Sender: halo1@inter.net.il To: Magnar Sveen Message-id: <83k3qtcgro.fsf@gnu.org> References: X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Magnar Sveen > Date: Thu, 31 Jan 2013 19:42:27 +0100 > > Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. > > Doing a M-: (read-char) s-8 gives me the key value of 8388664. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Magnar Sveen > Date: Thu, 31 Jan 2013 19:42:27 +0100 > > Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. > > Doing a M-: (read-char) s-8 gives me the key value of 8388664. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4794] > From: Magnar Sveen > Date: Thu, 31 Jan 2013 19:42:27 +0100 > > Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. > > Doing a M-: (read-char) s-8 gives me the key value of 8388664. Which is 800038 in hex. Rings any bells? (Hint: 38 hex is the digit 8.) > Following that up with (keyboard-translate 8388664 ?\[) does not work, > since it fails the (characterp) test. Turns out that (max-char) is a C > function that returns the highest allowed keycode. On my Emacs, that > is 4194303. > > Since (max-char) is a function and not a variable, and a C function at > that (not advisable when called from another C function (characterp)) - > I am left without options to rectify it. Or maybe I could use a hex > editor. :-) Your s-8 is a character with a modifier. max-char returns the max value of a character, excluding any modifiers. So that value has nothing to do with your difficulties in binding s-8 to insert [. Something entirely different is at work here, probably some problem in the code that you used to do the key binding. But since you didn't show that code, it's hard to help you. > So, is this a bug? No. > Is it weird that max-char is a function? In C? That's precisely so people will be unable to change the value. It's immutable. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 14:45:52 2013 Received: (at 13599) by debbugs.gnu.org; 31 Jan 2013 19:45:52 +0000 Received: from localhost ([127.0.0.1]:58081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1050-0007Ef-Oo for submit@debbugs.gnu.org; Thu, 31 Jan 2013 14:45:52 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:51587) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U104x-0007EV-HB for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 14:45:48 -0500 Received: by mail-lb0-f171.google.com with SMTP id gg13so3797859lbb.30 for <13599@debbugs.gnu.org>; Thu, 31 Jan 2013 11:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:user-agent:in-reply-to :date:message-id:mime-version:content-type; bh=gB7eK2V+gbputPHVX9ar+fCnbaXqyuDrxZqEw4l3Vqk=; b=hLr0je9sfQ0yzgPLAU0nhoCqouqAIl51BQS2W/bWkT5yE12eGeNE+7e43y7NFPCFsk X1e8c8SdA1yyDRh7mG0vrgJuv9aNILW5xQ3hrQlBEcCqGemvbXQVrwOZMfcXAxLNT2ao C8H69xfC/9tjP2fucRXzItx5/UVU8iP2jfi99uHJcHhFHO/aXndABGH9lIVYCjkjsfey 7MTALJ3SVgKUwSUnEbbqB3CfcRr2ZNrxly2wiGGMYDB8NeIVWCiLR9/JDBt8+IWrNZjA awLo8c25k5IAptrn7XeeyyygjkTVINWglpkUAY+kd4dcsORyi0mFkspx0blAicnbZQ5R H56w== X-Received: by 10.152.45.140 with SMTP id n12mr8954533lam.36.1359661502467; Thu, 31 Jan 2013 11:45:02 -0800 (PST) Received: from localhost ([138.62.236.30]) by mx.google.com with ESMTPS id b3sm1834261lbl.0.2013.01.31.11.45.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 31 Jan 2013 11:45:01 -0800 (PST) From: Magnar Sveen To: "Eli Zaretskii" Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) References: ,<83k3qtcgro.fsf@gnu.org> User-agent: mu4e 0.9.9; emacs 24.2.1 In-reply-to: <83k3qtcgro.fsf@gnu.org> Date: Thu, 31 Jan 2013 20:44:58 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Thanks for the quick response! Eli Zaretskii writes: >> Doing a M-: (read-char) s-8 gives me the key value of 8388664. > > Which is 800038 in hex. Rings any bells? (Hint: 38 hex is the digit > 8.) That makes sense, thanks. > Your s-8 is a character with a modifier. max-char returns the max > value of a character, excluding any modifiers. So that value has > nothing to do with your difficulties in binding s-8 to insert [. > Something entirely different is at work here, probably some problem in > the code that you used to do the key binding. But since you didn't > show that code, it's hard to help you. I did show the code: (keyboard-translate 8388664 ?\[) I also tried (keyboard-translate ?\s-8 ?\[) which of course is the same thing. They both fail at (characterp). In my flailing, I also tried (keyboard-translate (kbd "s-8") ?\[) No success with that one. Checking that I was not totally off, I tried (keyboard-translate ?\C-h ?\[) which did work, while (keyboard-translate ?\C-8 ?\[) did not. Not a character again. So it's not only super. >> So, is this a bug? > No. Fair enough. Any tips on how to actually translate keys where read-char returns a value including the modifier then? - Magnar From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 15:22:09 2013 Received: (at 13599) by debbugs.gnu.org; 31 Jan 2013 20:22:09 +0000 Received: from localhost ([127.0.0.1]:58108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U10e8-0000VI-RG for submit@debbugs.gnu.org; Thu, 31 Jan 2013 15:22:09 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:52334) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U10e7-0000VA-2U for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 15:22:08 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MHI00K009Z59O00@a-mtaout22.012.net.il> for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 22:20:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHI00KETB6808C0@a-mtaout22.012.net.il>; Thu, 31 Jan 2013 22:20:33 +0200 (IST) Date: Thu, 31 Jan 2013 22:20:23 +0200 From: Eli Zaretskii Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) In-reply-to: X-012-Sender: halo1@inter.net.il To: Magnar Sveen Message-id: <83fw1hcdfc.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Magnar Sveen > Cc: 13599@debbugs.gnu.org > Date: Thu, 31 Jan 2013 20:44:58 +0100 > > (keyboard-translate ?\C-h ?\[) > > which did work, while > > (keyboard-translate ?\C-8 ?\[) > > did not. Not a character again. So it's not only super. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4942] X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Magnar Sveen > Cc: 13599@debbugs.gnu.org > Date: Thu, 31 Jan 2013 20:44:58 +0100 > > (keyboard-translate ?\C-h ?\[) > > which did work, while > > (keyboard-translate ?\C-8 ?\[) > > did not. Not a character again. So it's not only super. keyboard-translate doesn't support keys with modifiers. Use global-set-key instead, after defining a function that inserts the [ character. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 16:23:29 2013 Received: (at 13599) by debbugs.gnu.org; 31 Jan 2013 21:23:29 +0000 Received: from localhost ([127.0.0.1]:58144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U11bU-0001r6-KK for submit@debbugs.gnu.org; Thu, 31 Jan 2013 16:23:28 -0500 Received: from mail-qa0-f48.google.com ([209.85.216.48]:44020) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U11bR-0001qy-Sz for 13599@debbugs.gnu.org; Thu, 31 Jan 2013 16:23:26 -0500 Received: by mail-qa0-f48.google.com with SMTP id j8so1806252qah.14 for <13599@debbugs.gnu.org>; Thu, 31 Jan 2013 13:22:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=WyXdraVyLQvJHtl9/tLm5LJVp1DWgvYevc0fdD3wqRE=; b=kCGwxz8A2Axw7N3PR9ZvYC+yAhsoTI+M8RpQ8nRvt6SJ3ruJwIdvoPaDCi8QyVRqS4 Du8VGZ4WQMUAEkrNw9JYe25WFr+Nlon2ryC25jMV5+1doC7ZLPaFnGsoKVAMOZEIn2aQ WQinZxgACRWip0dg6Noh2keA3J5h1yJmtQWn+hBFdegl9TFsJYDbkRhSpUfWBMn0fYZP m88lW/1EyAFe8plcEUHTiU3Z5mjax5A2Mvhl1wetbybx4/n4hSxbazTYV44Ba6yq4jYW v1tA+4Bvj81nzBa4gQjnXdArdEgeEnE51qmH2LfA1Orrellq6b7a5RaRBDCmYj1auqZQ Jm0w== X-Received: by 10.224.185.141 with SMTP id co13mr10357517qab.33.1359667361169; Thu, 31 Jan 2013 13:22:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.129.38 with HTTP; Thu, 31 Jan 2013 13:22:20 -0800 (PST) In-Reply-To: <83k3qtcgro.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> From: Josh Date: Thu, 31 Jan 2013 13:22:20 -0800 X-Google-Sender-Auth: 3bQD8KMEoHdbY1d9wYI9qOKQF4I Message-ID: Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) To: Eli Zaretskii Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmMGCvXrCX5SZTdfY2RNSSUSpXD9N4x8Vv7YJGe2qD5cMjdApaOFJwiPH5J9k68OSabMCdN X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13599 Cc: Magnar Sveen , 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) On Thu, Jan 31, 2013 at 11:08 AM, Eli Zaretskii wrote: >> From: Magnar Sveen [...] >> Doing a M-: (read-char) s-8 gives me the key value of 8388664. > > Which is 800038 in hex. Rings any bells? (Hint: 38 hex is the digit > 8.) > >> Following that up with (keyboard-translate 8388664 ?\[) does not work, >> since it fails the (characterp) test. Turns out that (max-char) is a C [...] >> So, is this a bug? > > No. At a minimum the fact that (characterp (read-char)) can ever return nil indicates disagreement between the two functions about exactly what a "character" is. It would be good to reconcile this disagreement in their documentation if nothing else. Given the existence of read-key, is it necessary for read-char to be able to return values greater than MAX_CHAR? If it's indeed necessary, would it be reasonable to add an optional parameter to read-char for callers such as quoted-insert to specify that read-char should return only values <= MAX_CHAR? Josh On Thu, Jan 31, 2013 at 11:08 AM, Eli Zaretskii wrote: >> From: Magnar Sveen >> Date: Thu, 31 Jan 2013 19:42:27 +0100 >> >> Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. >> >> Doing a M-: (read-char) s-8 gives me the key value of 8388664. > > Which is 800038 in hex. Rings any bells? (Hint: 38 hex is the digit > 8.) > >> Following that up with (keyboard-translate 8388664 ?\[) does not work, >> since it fails the (characterp) test. Turns out that (max-char) is a C >> function that returns the highest allowed keycode. On my Emacs, that >> is 4194303. >> >> Since (max-char) is a function and not a variable, and a C function at >> that (not advisable when called from another C function (characterp)) - >> I am left without options to rectify it. Or maybe I could use a hex >> editor. :-) > > Your s-8 is a character with a modifier. max-char returns the max > value of a character, excluding any modifiers. So that value has > nothing to do with your difficulties in binding s-8 to insert [. > Something entirely different is at work here, probably some problem in > the code that you used to do the key binding. But since you didn't > show that code, it's hard to help you. > >> So, is this a bug? > > No. > >> Is it weird that max-char is a function? In C? > > That's precisely so people will be unable to change the value. It's > immutable. > > > From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 01:15:13 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 06:15:13 +0000 Received: from localhost ([127.0.0.1]:58455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U19u5-0007NK-Ex for submit@debbugs.gnu.org; Fri, 01 Feb 2013 01:15:13 -0500 Received: from mail-qe0-f48.google.com ([209.85.128.48]:61022) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U19tq-0007MV-6C for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 01:15:11 -0500 Received: by mail-qe0-f48.google.com with SMTP id 3so1645334qea.21 for <13599@debbugs.gnu.org>; Thu, 31 Jan 2013 22:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=p1aK+1fmeMhcNSHW8vUbiHrFaaJbzoV4pj51XzTmCKI=; b=tXHCSd9tQ/W1oWXETPMSgSvHat2pOS32nMJ1AKRrGyPDuUXggg+fs85axQmtdtq45r tukLj26lavy7ou5zvJvrwMeNiAmL0pqP2XvxsDsqLT3pCWGMTMzPoWis6skHYijNoPob ZVE8KRGh5pXiAyV8p+gdff7OWLBl98nImz+24QqQbU5Z0MlXYNnPzQy7g8azraetf0s1 0cGZTdUtjX4flg8sGHOJvt3SpUjDBmUbUJuAOVFdGpTPuPEgyzx0fsiptpCYXL87Mv8l Kun69k/OQAAIIh1cniiZVm92mm8oQv+QudF4DWt5xCflIkiTRE0G7Wgo3fsrzTEO/sms /6Lw== X-Received: by 10.49.74.10 with SMTP id p10mr13292449qev.35.1359699251445; Thu, 31 Jan 2013 22:14:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.81.179 with HTTP; Thu, 31 Jan 2013 22:13:50 -0800 (PST) In-Reply-To: <83fw1hcdfc.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> <83fw1hcdfc.fsf@gnu.org> From: Magnar Sveen Date: Fri, 1 Feb 2013 07:13:50 +0100 Message-ID: Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) To: Eli Zaretskii Content-Type: multipart/alternative; boundary=047d7bdc1272e240a204d4a3a67d X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) --047d7bdc1272e240a204d4a3a67d Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jan 31, 2013 at 9:20 PM, Eli Zaretskii wrote: > keyboard-translate doesn't support keys with modifiers. Use > global-set-key instead, after defining a function that inserts the [ > character. > Yes, I've been using (define-key key-translation-map (kbd "s-8") (kbd "[")) It works in most cases. But unfortunately read-char does not care about this translation, leaving lots of functions broken. That lead me to keyboard-translate, then here. - Magnar --047d7bdc1272e240a204d4a3a67d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Jan 31, 2013 at 9:2= 0 PM, Eli Zaretskii <eliz@gnu.org> wrote:
keyboard-translate doesn't support keys with modifiers. =A0Use
global-set-key instead, after defining a function that inserts the [
character.

Yes, I've= been using

=A0 =A0=A0(define-key key-translation-map (kbd "s-8&= quot;) (kbd "["))

It works in most cases. But unfortunately read-char does not care about th= is translation, leaving lots of functions broken. That lead me to keyboard-= translate, then here.

- Magnar
--047d7bdc1272e240a204d4a3a67d-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 02:42:49 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 07:42:49 +0000 Received: from localhost ([127.0.0.1]:58512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BGq-0000xW-Is for submit@debbugs.gnu.org; Fri, 01 Feb 2013 02:42:48 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:50351) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BGk-0000xL-Uy for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 02:42:44 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MHJ003006JSJW00@a-mtaout22.012.net.il> for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 09:41:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHJ003VA6PPB860@a-mtaout22.012.net.il>; Fri, 01 Feb 2013 09:41:49 +0200 (IST) Date: Fri, 01 Feb 2013 09:41:41 +0200 From: Eli Zaretskii Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) In-reply-to: X-012-Sender: halo1@inter.net.il To: Magnar Sveen Message-id: <83ehh0cwga.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> <83fw1hcdfc.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Magnar Sveen > Date: Fri, 1 Feb 2013 07:13:50 +0100 > Cc: 13599@debbugs.gnu.org > > Yes, I've been using > > (define-key key-translation-map (kbd "s-8") (kbd "[")) > > It works in most cases. But unfortunately read-char does not care about > this translation, leaving lots of functions broken. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4786] X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Magnar Sveen > Date: Fri, 1 Feb 2013 07:13:50 +0100 > Cc: 13599@debbugs.gnu.org > > Yes, I've been using > > (define-key key-translation-map (kbd "s-8") (kbd "[")) > > It works in most cases. But unfortunately read-char does not care about > this translation, leaving lots of functions broken. Why do you care about read-char? What functions are broken after the above? And why do you use key-translation-map and not global-map (or global-set-key)? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 02:44:09 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 07:44:09 +0000 Received: from localhost ([127.0.0.1]:58516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BI9-0000zp-7Y for submit@debbugs.gnu.org; Fri, 01 Feb 2013 02:44:09 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:46477) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BI7-0000zg-5e for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 02:44:08 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MHJ005006R5Q500@a-mtaout21.012.net.il> for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 09:43:19 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHJ005K46S6NO60@a-mtaout21.012.net.il>; Fri, 01 Feb 2013 09:43:19 +0200 (IST) Date: Fri, 01 Feb 2013 09:43:10 +0200 From: Eli Zaretskii Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) In-reply-to: X-012-Sender: halo1@inter.net.il To: Josh Message-id: <83d2wkcwdt.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Josh > Date: Thu, 31 Jan 2013 13:22:20 -0800 > Cc: Magnar Sveen , 13599@debbugs.gnu.org > > At a minimum the fact that (characterp (read-char)) can ever return > nil indicates disagreement between the two functions about exactly > what a "character" is. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.169 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4772] X-Debbugs-Envelope-To: 13599 Cc: magnars@gmail.com, 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Josh > Date: Thu, 31 Jan 2013 13:22:20 -0800 > Cc: Magnar Sveen , 13599@debbugs.gnu.org > > At a minimum the fact that (characterp (read-char)) can ever return > nil indicates disagreement between the two functions about exactly > what a "character" is. Yes, "character" is an overloaded term. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 03:11:29 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 08:11:29 +0000 Received: from localhost ([127.0.0.1]:58537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1Bib-0001bn-5O for submit@debbugs.gnu.org; Fri, 01 Feb 2013 03:11:29 -0500 Received: from mail-qe0-f42.google.com ([209.85.128.42]:55617) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BiZ-0001bg-97 for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 03:11:27 -0500 Received: by mail-qe0-f42.google.com with SMTP id 2so1343115qeb.15 for <13599@debbugs.gnu.org>; Fri, 01 Feb 2013 00:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=OIRjK/cwt9dHQoUmKlm6veGcQL5oCgHhhzvEW7uNVhY=; b=vBaOpBJAOy499mkyIX76CURhtuLENzTCrHA5Li4pfGWKdBDA6IolcIazc6Ead311X8 eoOTpASEfG9DIPLnQf7VH0CaaeJiWY/edX8kUBBGMH91uhEgINA9B4WXmW7cnzz/l4JG S24WZjHtrAGi3m3IYJC69fhYSCZLfDKR2xPCzBFKyNAg6UPfL3olt78CROrMzcHproEI TXsLvgmtKONC/tT2w3M4cnTLXXfNpbUv7/6F9/3OayTOY8MYc/yIKP0NYpAVGjjqk9W2 4IJjw3ZLvJOUybpXTFt6aLkbNDKkEIIm2twnZgQHMp90zFMBI6MEa3G5+OTmSVy+Fqua 3XRA== X-Received: by 10.49.74.10 with SMTP id p10mr13580078qev.35.1359706240247; Fri, 01 Feb 2013 00:10:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.81.179 with HTTP; Fri, 1 Feb 2013 00:10:20 -0800 (PST) In-Reply-To: <83ehh0cwga.fsf@gnu.org> References: <83k3qtcgro.fsf@gnu.org> <83fw1hcdfc.fsf@gnu.org> <83ehh0cwga.fsf@gnu.org> From: Magnar Sveen Date: Fri, 1 Feb 2013 09:10:20 +0100 Message-ID: Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) To: Eli Zaretskii Content-Type: multipart/alternative; boundary=047d7bdc127272e5ee04d4a547bb X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13599 Cc: 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) --047d7bdc127272e5ee04d4a547bb Content-Type: text/plain; charset=ISO-8859-1 Eli Zaretskii writes: >> From: Magnar Sveen >> >> (define-key key-translation-map (kbd "s-8") (kbd "[")) >> >> It works in most cases. But unfortunately read-char does not care about >> this translation, leaving lots of functions broken. > > Why do you care about read-char? Because it is widely used in commands, and now is broken. > What functions are broken after the above? Off the top of my head, (paredit-backslash) and (quoted-insert). > And why do you use key-translation-map and not global-map (or global-set-key)? I had a hope that it was lower level than global-set-key. - Magnar --047d7bdc127272e5ee04d4a547bb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Eli Zaretskii writes:

>&g= t; From: Magnar Sveen <magnars@gmai= l.com>
>>=A0
>> =A0 =A0 (define-key = key-translation-map (kbd "s-8") (kbd "["))
>>=A0
>> It works in most cases. But unfortunate= ly read-char does not care about
>> this translation, leavi= ng lots of functions broken.
>
> Why do you care = about read-char?

Because it is widely used in commands, and now is broke= n.

> What functions are broken after the above?=

Off the top of my head, (paredit-backslash) and (= quoted-insert).

> And why do you use key-translation-map and not glo= bal-map (or global-set-key)?

I had a hope that it = was lower level than global-set-key.

- Magnar
--047d7bdc127272e5ee04d4a547bb-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 09:25:36 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 14:25:36 +0000 Received: from localhost ([127.0.0.1]:58909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1HYa-0002gN-G9 for submit@debbugs.gnu.org; Fri, 01 Feb 2013 09:25:36 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47303) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1HYW-0002gE-Ke for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 09:25:29 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/iW/2dsb2JhbAA7Cb8OF3OCHgEBBAEnLyMFCws0EhQYDSSIHgbBLY0Wg3QDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFFLd/iW/2dsb2JhbAA7Cb8OF3OCHgEBBAEnLyMFCws0EhQYDSSIHgbBLY0Wg3QDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="193179" Received: from 75-119-248-150.dsl.teksavvy.com (HELO pastel.home) ([75.119.248.150]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 01 Feb 2013 09:24:40 -0500 Received: by pastel.home (Postfix, from userid 20848) id B533958F88; Fri, 1 Feb 2013 09:24:39 -0500 (EST) From: Stefan Monnier To: Magnar Sveen Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) Message-ID: References: <83k3qtcgro.fsf@gnu.org> <83fw1hcdfc.fsf@gnu.org> Date: Fri, 01 Feb 2013 09:24:39 -0500 In-Reply-To: (Magnar Sveen's message of "Fri, 1 Feb 2013 07:13:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13599 Cc: Eli Zaretskii , 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Yes, I've been using > (define-key key-translation-map (kbd "s-8") (kbd "[")) > It works in most cases. But unfortunately read-char does not care about > this translation, leaving lots of functions broken. That lead me to > keyboard-translate, then here. I think the problem is in read-char. You might like to try the following redefinition of read-char, which I've been using locally for a while (i.e. tested for a reasonably long time but only by a single user): (defun read-char (&optional prompt) ;; (inherit-input-method seconds) "Read a character from the command input (keyboard or macro). It is returned as a number. If the character has modifiers, they are resolved and reflected to the character code if possible (e.g. C-SPC -> 0). If the user generates an event which is not a character (i.e. a mouse click or function key event), `read-char' signals an error. As an exception, switch-frame events are put off until non-character events can be read. If you want to read non-character events, or ignore them, call `read-event' or `read-char-exclusive' instead. If the optional argument PROMPT is non-nil, display that as a prompt. If the optional argument INHERIT-INPUT-METHOD is non-nil and some input method is turned on in the current buffer, that input method is used for reading a character. If the optional argument SECONDS is non-nil, it should be a number specifying the maximum number of seconds to wait for input. If no input arrives in that time, return nil. SECONDS may be a floating-point value." ;; if (! NILP (prompt)) ;; message_with_string ("%s", prompt, 0); ;; val = read_filtered_event (1, 1, 1, ! NILP (inherit_input_method), ;; seconds); ;; return (NILP (val) ? Qnil ;; : make_number (char_resolve_modifier_mask (XINT (val)))); (let ((inherit-input-method nil) (seconds nil)) ;; `read-key' doesn't explicitly inhibit the input method, but in ;; practice it disables at least quail input methods because it ;; binds overriding-terminal-local-map. (if inherit-input-method (error "Not implemented")) (catch 'read-char-exclusive (let ((timer (when seconds (run-with-timer seconds nil (lambda () (throw 'read-char-exclusive nil)))))) (unwind-protect (let ((event (read-key prompt))) (if (numberp event) event (setq unread-command-events (nconc (mapcar 'identity (this-single-command-raw-keys)) unread-command-events)) (error "Non-character input-event"))) (when timer (cancel-timer timer))))))) -- Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 09:28:09 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 14:28:09 +0000 Received: from localhost ([127.0.0.1]:58913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1Hb3-0002jo-9S for submit@debbugs.gnu.org; Fri, 01 Feb 2013 09:28:07 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8010) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1Hax-0002jW-Op for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 09:28:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/iW/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFLd/iW/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="193397" Received: from 75-119-248-150.dsl.teksavvy.com (HELO pastel.home) ([75.119.248.150]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 01 Feb 2013 09:27:11 -0500 Received: by pastel.home (Postfix, from userid 20848) id C4CB658F88; Fri, 1 Feb 2013 09:27:10 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) Message-ID: References: <83k3qtcgro.fsf@gnu.org> <83fw1hcdfc.fsf@gnu.org> <83ehh0cwga.fsf@gnu.org> Date: Fri, 01 Feb 2013 09:27:10 -0500 In-Reply-To: <83ehh0cwga.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Feb 2013 09:41:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13599 Cc: Magnar Sveen , 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) >> (define-key key-translation-map (kbd "s-8") (kbd "[")) >> It works in most cases. But unfortunately read-char does not care about >> this translation, leaving lots of functions broken. > Why do you care about read-char? Because he wants to be able to type [ (which isn't on his keyboard so he wants to use s-8 for that) even in response to a read-char. > What functions are broken after the above? None are broken, but some don't pay attention to key-translation-map (e.g. all those that use read-char). > And why do you use key-translation-map and not global-map (or > global-set-key)? Probably so that he can use bindings such as C-x [ Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 12:39:40 2013 Received: (at 13599) by debbugs.gnu.org; 1 Feb 2013 17:39:40 +0000 Received: from localhost ([127.0.0.1]:59523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1KaR-00086y-Ns for submit@debbugs.gnu.org; Fri, 01 Feb 2013 12:39:39 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:54157) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1KaO-00086q-RV for 13599@debbugs.gnu.org; Fri, 01 Feb 2013 12:39:37 -0500 Received: by mail-wi0-f177.google.com with SMTP id hm14so869855wib.10 for <13599@debbugs.gnu.org>; Fri, 01 Feb 2013 09:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:user-agent:in-reply-to :date:message-id:mime-version:content-type; bh=MhYFFO07Ap2fM2ZGURGKtlY+X7bAK9yoGC04GwL4Eoc=; b=yNK6LV2sqLOKb42CiCcoe1Fzg5TEbRdZvWjGjraYW7R+VXxvh5HkF8MOszoiJoR1a+ ullJ5UuvfDpV8FUwYIewhDs2hxtqM4MgwK4/Xdb/wcsvKCXGamLsXZ5gmLaRlf21wikK bqdOxvI9qnSwl7ixoLx6iWkqfpDZxuSDK1/PV3OyYVbcrjitt3IKovuELs4SFFqGpo/r 6sUzOnUmk3MW5YC/v9rLHBC//GIOeWD4RbQ7ijkOM9UsvfcuL0bX8Q/Du+CGd41AXFED uImbAIpNjCj/s/8vv3j7Y8rJ0ixa1+QvA58fLMvenLnLkfOFk3Q+ijsTOdmIaNdGDE/c /JTw== X-Received: by 10.180.97.197 with SMTP id ec5mr4283904wib.1.1359740327175; Fri, 01 Feb 2013 09:38:47 -0800 (PST) Received: from localhost (247.109-247-100.customer.lyse.net. [109.247.100.247]) by mx.google.com with ESMTPS id fa15sm729523wid.7.2013.02.01.09.38.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 01 Feb 2013 09:38:45 -0800 (PST) From: Magnar Sveen To: "Stefan Monnier" Subject: Re: bug#13599: 24.2; (max-char) is too low (and hard to change) References: , <83k3qtcgro.fsf@gnu.org>, , <83fw1hcdfc.fsf@gnu.org>, , User-agent: mu4e 0.9.9; emacs 24.2.1 In-reply-to: Date: Fri, 01 Feb 2013 18:38:42 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13599 Cc: Eli Zaretskii , 13599@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Stefan Monnier writes: > I think the problem is in read-char. > > You might like to try the following redefinition of read-char, which I've > been using locally for a while (i.e. tested for a reasonably long time > but only by a single user): > > Thank you, Stefan, that did help. Since quoted-insert calls read-char from C code, that one still won't work with the redefined read-char - but my paredit-backslash woes are over, so that is a definite step forward. Thanks! - Magnar From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 07 22:20:13 2013 Received: (at control) by debbugs.gnu.org; 8 Feb 2013 03:20:13 +0000 Received: from localhost ([127.0.0.1]:42711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3eVZ-0002mj-1B for submit@debbugs.gnu.org; Thu, 07 Feb 2013 22:20:13 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:56860) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3eVW-0002mc-TV for control@debbugs.gnu.org; Thu, 07 Feb 2013 22:20:11 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U3eVV-0006zy-MY for control@debbugs.gnu.org; Thu, 07 Feb 2013 22:20:09 -0500 Date: Thu, 07 Feb 2013 22:20:09 -0500 Message-Id: Subject: control message for bug 1042 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) forcemerge 13599 1042 From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 28 16:51:33 2018 Received: (at control) by debbugs.gnu.org; 28 Aug 2018 20:51:33 +0000 Received: from localhost ([127.0.0.1]:36038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukxY-00026Y-Rp for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:51:33 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:39087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukxX-000268-7p for control@debbugs.gnu.org; Tue, 28 Aug 2018 16:51:31 -0400 Received: by mail-oi0-f50.google.com with SMTP id c190-v6so5348996oig.6 for ; Tue, 28 Aug 2018 13:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uJNHWyroO1Ur8XDbzQ6ePJVELbmD4ii8HcdEkXOEt7U=; b=bAQf1OJm7vkIaIW2CZLdDP1A1KNLLPgdGm5weYdDQqWMHod8LnIdajF9ig9HrDGKZW wfG5pjcsW7eX4EY8OiReFFRZ1SF9Bf33qXGAvTq2Z0ea4m6OwoL/lQF3YBwaGeYJxTh/ jEeanS58fNb0ybXAruGmhHSp1ucJZHBKXqqvuN3ClZG6M1Raul10TyY3lQysTxh80cVS g0fimX6s5AJwYa69I3DjdNpj58EGIT7RDQC6mVMoXDfglSU/W1BX3s4KuAeLF1I9ynpf Ot0lWv/DQ2ysUF1ETZtNsSS0e2/4Y4UIh4vNHkRNOTIEfRu4e1thxZVMv2nqknpiMLA2 E6nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uJNHWyroO1Ur8XDbzQ6ePJVELbmD4ii8HcdEkXOEt7U=; b=B76K8TJD+x+5/mjfZZzlfOKUfVbMlmK5ROzOhRLwK9pgl9lLO/j3cZziuG7GDbB04l UIIh4W6vcdlBkdHR65fCiMyYc34hkexWxB7EyoFzX7AhkEk5i1Fd6qPCpe0NnR0ufnAU PhPB2Re/ANJvbSj4Xa0QnX6tQh6a8iacSq7dUINoGEhzRWk6eLPJnXpJJ23eg8HutzxZ 5I+zHZR8M9RyBjTIhmp8pArAgq8ZOh85sfczoOvXhqFKFB+1aCAtOaEULANExysVcFKh mSNEfsLG4QXFN7bh68gIVZWtpXkQ1g5zPn/RWQ2PpGwNaxtGOTCWjUm7cWc8vylLP/rz xL/Q== X-Gm-Message-State: APzg51Dkff5CkQzH+mNz/JcnXqcYH6rAL0kYbnRccbtnLIMIZBWoiTPK DhktKCeevguR0iC2gyrRi2R2gnwoB/BLhI6Vqq4= X-Google-Smtp-Source: ANB0VdaXDOWcyk8ECg128O7i4kYdbV9VbEq7KHlQHaDN4+ixBrALpaSWUD25NfzRa0zFW0IzS6NDZWe+r+FRttRh5tY= X-Received: by 2002:aca:c2c1:: with SMTP id s184-v6mr2434188oif.117.1535489485628; Tue, 28 Aug 2018 13:51:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2683:0:0:0:0:0 with HTTP; Tue, 28 Aug 2018 13:51:24 -0700 (PDT) In-Reply-To: <3cce8b54-2e85-49a2-84d8-386ded864148@default> References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> From: Noam Postavsky Date: Tue, 28 Aug 2018 16:51:24 -0400 Message-ID: Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' To: Drew Adams Content-Type: text/plain; charset="UTF-8" Bcc: control@debbugs.gnu.org X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 32562@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 (-) forcemerge 13599 32562 quit On 28 August 2018 at 16:39, Drew Adams wrote: > Something seems wrong. The doc for `read-char(-exclusive)' talks about > reading a character. For `read-char' it says that it raises an error for > a non-char event. And for `read-char-exclusive' it says that it ignores > non-char events that it reads. > > But they both seem to read the event from `M-:' and return its value > (a number). And it is not a character, according to `characterp'. This is bug#13599/1042 From unknown Tue Jun 17 20:26:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Oct 2018 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