From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 20 15:15:30 2015 Received: (at submit) by debbugs.gnu.org; 20 Apr 2015 19:15:30 +0000 Received: from localhost ([127.0.0.1]:33842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHAH-00060f-Ei for submit@debbugs.gnu.org; Mon, 20 Apr 2015 15:15:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33160) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHAC-00060D-Kr for submit@debbugs.gnu.org; Mon, 20 Apr 2015 15:15:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkHA5-0004lA-LW for submit@debbugs.gnu.org; Mon, 20 Apr 2015 15:15:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkHA5-0004kw-IU for submit@debbugs.gnu.org; Mon, 20 Apr 2015 15:15:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkHA0-0005cS-8J for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 15:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkH9w-0004j8-Rw for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 15:15:12 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:45417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkH9w-0004aF-G7 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 15:15:08 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A6CC72090D; Mon, 20 Apr 2015 15:15:04 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 20 Apr 2015 15:15:04 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=imapmail.org; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=tyg3JXyNx/vzSWEpQHu3gVB6QC4 =; b=JjelY+BoJYrle2Ytx8tVnDm8Wa80lcegH4K6ckV1KreoMiEE4nh2a0Idd7r vW7lVD47rBHcL3NLuiHVRATFfAG2fjDZTjPIW5xg8PSMsoFrgpRsomYikcaEy3tR 7MDGzUn85DqPg+He77dbjYYmrWL0+CppveAh3S4BHmEr94Og= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=ty g3JXyNx/vzSWEpQHu3gVB6QC4=; b=DQMAk+AfDqxDSjpL2rtAiuvD6iOi1lznyv c5SQYxOW5D0Ffddl+yySmlDzWIGDU+enE/aW3y0OpQ0sYAl0ljbw/eSpQGFslK2i 0Mex115oluCJhGZUynb7C639a6t41v1qQmB959fs78wbL6Ed5A4OkGqN5ZaNQfqV biErDiqmM= X-Sasl-enc: pDS27bVAA9Kg0101mmSvVWuAxz+bCVMUYOf/lOY8I5/P 1429557304 Received: from archeee (unknown [209.147.100.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 61AF9680103 for ; Mon, 20 Apr 2015 15:15:04 -0400 (EDT) From: Matt Lundin To: bug-gnu-emacs@gnu.org Subject: 25.0.50; error when calling sgml-attributes and sgml-tag Date: Mon, 20 Apr 2015 14:15:03 -0500 Message-ID: <87mw22k3wo.fsf@fastmail.fm> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.3 (----) Within html-mode, calling sgml-tag (C-c C-o) and entering a tag that prompts for attributes (e.g., "h3") results in the error/backtrace included below. A similar error occurs when calling sgml-attributes within an existing tag (e.g., "

"). As far as I can tell, this error began with commit 84e0b7dad6f1a8e53261f9b96f5a9080fea681a4. Debugger entered--Lisp error: (void-variable alist) (completing-read "Attribute: " alist) eval((completing-read "Attribute: " alist)) skeleton-read((completing-read "Attribute: " alist)) sgml-attributes("h3" t) (setq v2 (sgml-attributes "h3" t)) eval((setq v2 (sgml-attributes "h3" t))) skeleton-internal-1((quote (setq v2 (sgml-attributes "h3" t))) nil nil) skeleton-internal-list((("") (quote (setq v2 (sgml-attributes "h3" t))) 62 (cond ((string= "![" "h3") (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member "h3" sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" "h3")) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (("") (car v2))) (cdr v2) (quote (resume: (car v2) _ ")))))) "") skeleton-internal-1((("") (quote (setq v2 (sgml-attributes "h3" t))) 62 (cond ((string= "![" "h3") (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member "h3" sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" "h3")) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (("") (car v2))) (cdr v2) (quote (resume: (car v2) _ ")))))) t nil) skeleton-internal-1((\` (("") (quote (setq v2 (sgml-attributes (\, str) t))) 62 (cond ((string= "![" (\, str)) (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member (\, str) sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" (\, str))) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (("") (car v2))) (cdr v2) (quote (resume: (car v2) _ "))))))) nil nil) skeleton-internal-list(((funcall (or skeleton-transformation-function (quote identity)) (setq sgml-tag-last (completing-read (if (> (length sgml-tag-last) 0) (format "Tag (default %s): " sgml-tag-last) "Tag: ") sgml-tag-alist nil nil nil (quote sgml-tag-history) sgml-tag-last))) 60 str | (("") -1 (quote (undo-boundary)) (identity "<")) | (\` (("") (quote (setq v2 (sgml-attributes (\, str) t))) 62 (cond ((string= "![" (\, str)) (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member (\, str) sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" (\, str))) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (... ...)) (cdr v2) (quote (resume: ... _ ")))))))) nil) #[nil "\302 \"\207" [skeleton str skeleton-internal-list] 3]() funcall(#[nil "\302 \"\207" [skeleton str skeleton-internal-list] 3]) (let ((completion-ignore-case (quote t))) (funcall (quote #[nil "\302 \"\207" [skeleton str skeleton-internal-list] 3]))) eval((let ((completion-ignore-case (quote t))) (funcall (quote #[nil "\302 \"\207" [skeleton str skeleton-internal-list] 3])))) skeleton-insert(((funcall (or skeleton-transformation-function (quote identity)) (setq sgml-tag-last (completing-read (if (> (length sgml-tag-last) 0) (format "Tag (default %s): " sgml-tag-last) "Tag: ") sgml-tag-alist nil nil nil (quote sgml-tag-history) sgml-tag-last))) 60 str | (("") -1 (quote (undo-boundary)) (identity "<")) | (\` (("") (quote (setq v2 (sgml-attributes (\, str) t))) 62 (cond ((string= "![" (\, str)) (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member (\, str) sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" (\, str))) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (... ...)) (cdr v2) (quote (resume: ... _ ")))))))) nil nil) skeleton-proxy-new(((funcall (or skeleton-transformation-function (quote identity)) (setq sgml-tag-last (completing-read (if (> (length sgml-tag-last) 0) (format "Tag (default %s): " sgml-tag-last) "Tag: ") sgml-tag-alist nil nil nil (quote sgml-tag-history) sgml-tag-last))) 60 str | (("") -1 (quote (undo-boundary)) (identity "<")) | (\` (("") (quote (setq v2 (sgml-attributes (\, str) t))) 62 (cond ((string= "![" (\, str)) (backward-char) (quote (("") " [ " _ " ]]"))) ((and (eq v2 t) sgml-xml-mode (member (\, str) sgml-empty-tags)) (quote (("") -1 " />"))) ((or (and (eq v2 t) (not sgml-xml-mode)) (string-match "^[/!?]" (\, str))) nil) ((symbolp v2) (if (eq v2 t) (setq v2 nil)) (quote (("") v2 _ v2 "))) ((eq (car v2) t) (cons (quote ("")) (cdr v2))) (t (append (quote (... ...)) (cdr v2) (quote (resume: ... _ ")))))))) nil nil) sgml-tag(nil nil) funcall-interactively(sgml-tag nil nil) call-interactively(sgml-tag nil nil) command-execute(sgml-tag) In GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, GTK+ Version 3.16.2) of 2015-04-19 on archeee Repository revision: 62e170072e6000b30c37792227dc34e71a31d797 Windowing system distributor `The X.Org Foundation', version 11.0.11701000 Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --pdfdir=/usr/share/doc/emacs/pdf --with-sound=alsa --without-gconf --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro CPPFLAGS=-D_FORTIFY_SOURCE=2' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: /home/matt/test.html locked by matt@archeee (pid 3893): (s, q, p, ?)? Please type q, s, or p; or ? for help /home/matt/test.html locked by matt@archeee (pid 3893): (s, q, p, ?)? Please type q, s, or p; or ? for help Quit next-line: End of buffer Entering debugger... Making completion list... Quit Type "q" in help window to restore its previous buffer, C-M-v to scroll help. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu debug skeleton cus-start cus-load sgml-mode mule-util time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-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 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 8 90059 9879) (symbols 24 19527 0) (miscs 20 73 257) (strings 16 14655 4308) (string-bytes 1 364073) (vectors 8 10754) (vector-slots 4 408319 9084) (floats 8 96 170) (intervals 28 428 20) (buffers 520 16) (heap 1024 24434 747)) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 20 15:59:05 2015 Received: (at 20386) by debbugs.gnu.org; 20 Apr 2015 19:59:05 +0000 Received: from localhost ([127.0.0.1]:33885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHqT-00076J-D7 for submit@debbugs.gnu.org; Mon, 20 Apr 2015 15:59:05 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHqR-00075p-Oh for 20386@debbugs.gnu.org; Mon, 20 Apr 2015 15:59:04 -0400 Received: by widdi4 with SMTP id di4so104972389wid.0 for <20386@debbugs.gnu.org>; Mon, 20 Apr 2015 12:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FJyakBo7q9YZ1c8X9Bbx7EF1kFwvcBnpgZJWJMBHs4s=; b=QS5doAVKrwmwrAB8bRrmPmNxkfHPB49XIkfI9WZCThOIOS76uP7BhtcJi5Pa0GbI/J KD50Gqz2XfXv/qKYAopG63SsvkCeukIia7LcMFK2yqtf/gWgAiE2Fjwj0hwSGL4x7I1R D4zKkG8zFG2MOY7W0AOeg5XzxhdsmQRWAcv+K6IWaSQjKgBZGQdt2kLvKrtPN86/kUxl StZF4J1jNP34W/XEYPUWAfD/+ttI2MTFCL/ycpvQ6/hH5HdMF+Z2rb36mj54HSeKp4Qw t1YVt9LWXoV1BpQrbUSm+n+l4x6uzHkngHkh+yEKb5fM0rfz/kioSArriPW+7ifieCsW wsow== X-Received: by 10.194.108.9 with SMTP id hg9mr34673287wjb.68.1429559937982; Mon, 20 Apr 2015 12:58:57 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id k9sm16525672wia.6.2015.04.20.12.58.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 12:58:57 -0700 (PDT) Message-ID: <55355A7E.8050204@yandex.ru> Date: Mon, 20 Apr 2015 22:58:54 +0300 From: Dmitry Gutov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 MIME-Version: 1.0 To: Matt Lundin , 20386@debbugs.gnu.org Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag References: <87mw22k3wo.fsf@fastmail.fm> In-Reply-To: <87mw22k3wo.fsf@fastmail.fm> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20386 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 04/20/2015 10:15 PM, Matt Lundin wrote: > As far as I can tell, this error began with commit > 84e0b7dad6f1a8e53261f9b96f5a9080fea681a4. Yep, it's a fallout from making the file use lexical binding. There are a lot forms like (skeleton-read '(completing-read "Attribute: " alist)) I wonder if using a backtick and a comma in each: (skeleton-read `(completing-read "Attribute: " ',alist)) is the right thing to do. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 20 16:00:42 2015 Received: (at control) by debbugs.gnu.org; 20 Apr 2015 20:00:42 +0000 Received: from localhost ([127.0.0.1]:33889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHs2-00079u-18 for submit@debbugs.gnu.org; Mon, 20 Apr 2015 16:00:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56565 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkHs0-00079n-Gs for control@debbugs.gnu.org; Mon, 20 Apr 2015 16:00:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YkHrz-0000Ei-UZ for control@debbugs.gnu.org; Mon, 20 Apr 2015 16:00:40 -0400 Date: Mon, 20 Apr 2015 16:00:39 -0400 Message-Id: Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) block 19759 by 20386 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 01:00:14 2015 Received: (at 20386) by debbugs.gnu.org; 27 Apr 2015 05:00:15 +0000 Received: from localhost ([127.0.0.1]:40784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymb9R-0007Ie-B6 for submit@debbugs.gnu.org; Mon, 27 Apr 2015 01:00:14 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62010) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymb9N-0007G5-V5 for 20386@debbugs.gnu.org; Mon, 27 Apr 2015 01:00:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEFAGvvdVRMCqjW/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCw4mEhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IPAS-Result: AnEFAGvvdVRMCqjW/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCw4mEhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117510800" Received: from 76-10-168-214.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.214]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2015 01:00:04 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 12B006610A; Mon, 27 Apr 2015 01:00:04 -0400 (EDT) From: Stefan Monnier To: Dmitry Gutov Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag Message-ID: References: <87mw22k3wo.fsf@fastmail.fm> <55355A7E.8050204@yandex.ru> Date: Mon, 27 Apr 2015 01:00:04 -0400 In-Reply-To: <55355A7E.8050204@yandex.ru> (Dmitry Gutov's message of "Mon, 20 Apr 2015 22:58:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org, Matt Lundin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > There are a lot forms like > > (skeleton-read '(completing-read > "Attribute: " > alist)) > > I wonder if using a backtick and a comma in each: > > (skeleton-read `(completing-read > "Attribute: " > ',alist)) > > is the right thing to do. Yes, that looks right, thank you. Better would be to let skeleton-read take a function as argument and use `funcall' instead of `eval'. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 17:58:25 2015 Received: (at 20386) by debbugs.gnu.org; 27 Apr 2015 21:58:25 +0000 Received: from localhost ([127.0.0.1]:41660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymr2m-0005zH-CI for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:58:24 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:33031) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymr2j-0005z3-Sc for 20386@debbugs.gnu.org; Mon, 27 Apr 2015 17:58:22 -0400 Received: by wief7 with SMTP id f7so3193871wie.0 for <20386@debbugs.gnu.org>; Mon, 27 Apr 2015 14:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rfFPA2kW2GlSse9hNlBftzbNCJUCIIWsJ8p+GeTM0cM=; b=DdYxDIPveXfYXBsIoGE29F7lZaWh4lAm+oZViskIT+JWPAYn7gZ4Cx2xqMKm1fWJ7d HO/jvn4zwYV3k3k6KERKnpIxPfZu0q9dkgKQrRaIqX///gLvyTaVHxtR0aXfKJ6UR4FQ wCzhYWUVXqIzcYfEfslv91PetrBi2f6CJcJ1Ve8AILScZ+U/ZWfXgFzMvGhYjQdnBhG3 y3/mAwe4RldiagZaD8AFd4rIvS/NjB0e7lPPwYzHLtPwNxsZb+degMJ6Bdp1YYY96QwK ISea3BNT+Jcm4tfdf8eIVOj5YoJeIInwGXz/5ahhhwIjaomMvPv5710i/zA20TD9mElD rV6g== X-Received: by 10.180.73.202 with SMTP id n10mr15277231wiv.0.1430171896047; Mon, 27 Apr 2015 14:58:16 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id ex2sm3678511wjd.28.2015.04.27.14.58.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 14:58:16 -0700 (PDT) Message-ID: <553EB0F6.1050002@yandex.ru> Date: Tue, 28 Apr 2015 00:58:14 +0300 From: Dmitry Gutov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag References: <87mw22k3wo.fsf@fastmail.fm> <55355A7E.8050204@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org, Matt Lundin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 04/27/2015 08:00 AM, Stefan Monnier wrote: > Yes, that looks right, thank you. Better would be to let skeleton-read > take a function as argument and use `funcall' instead of `eval'. Do you mean it would be able to accept both forms and functions? Otherwise, it's a breaking API change. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 18:55:25 2015 Received: (at 20386) by debbugs.gnu.org; 27 Apr 2015 22:55:25 +0000 Received: from localhost ([127.0.0.1]:41715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymrvw-0007LN-99 for submit@debbugs.gnu.org; Mon, 27 Apr 2015 18:55:24 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:38489) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymrvu-0007LD-G7 for 20386@debbugs.gnu.org; Mon, 27 Apr 2015 18:55:22 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3RMtKwS003301; Mon, 27 Apr 2015 18:55:21 -0400 Received: by pastel.home (Postfix, from userid 20848) id D7F171E3F; Mon, 27 Apr 2015 18:55:20 -0400 (EDT) From: Stefan Monnier To: Dmitry Gutov Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag Message-ID: References: <87mw22k3wo.fsf@fastmail.fm> <55355A7E.8050204@yandex.ru> <553EB0F6.1050002@yandex.ru> Date: Mon, 27 Apr 2015 18:55:20 -0400 In-Reply-To: <553EB0F6.1050002@yandex.ru> (Dmitry Gutov's message of "Tue, 28 Apr 2015 00:58:14 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5289=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5289> : inlines <2804> : streams <1429684> : uri <1917104> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org, Matt Lundin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (-) >> Yes, that looks right, thank you. Better would be to let skeleton-read >> take a function as argument and use `funcall' instead of `eval'. > Do you mean it would be able to accept both forms and functions? Right, with the "forms" alternative deprecated. > Otherwise, it's a breaking API change. Indeed, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 25 11:42:06 2015 Received: (at control) by debbugs.gnu.org; 25 Jun 2015 15:42:06 +0000 Received: from localhost ([127.0.0.1]:57387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z89Hx-0006H1-M9 for submit@debbugs.gnu.org; Thu, 25 Jun 2015 11:42:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40935) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z89Hw-0006GX-8i for control@debbugs.gnu.org; Thu, 25 Jun 2015 11:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z89Hq-0002Mi-JZ for control@debbugs.gnu.org; Thu, 25 Jun 2015 11:41:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z89Hq-0002Md-G8 for control@debbugs.gnu.org; Thu, 25 Jun 2015 11:41:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z89Hq-0004fd-5u for control@debbugs.gnu.org; Thu, 25 Jun 2015 11:41:58 -0400 Subject: control message for bug 20386 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 25 Jun 2015 11:41:58 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -6.4 (------) merge 20895 20386 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 23 12:29:10 2015 Received: (at 20386) by debbugs.gnu.org; 23 Jul 2015 16:29:10 +0000 Received: from localhost ([127.0.0.1]:57401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIJMr-00005V-KJ for submit@debbugs.gnu.org; Thu, 23 Jul 2015 12:29:10 -0400 Received: from hylle05.itea.ntnu.no ([129.241.56.225]:40828) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIJMp-00005K-4Y for 20386@debbugs.gnu.org; Thu, 23 Jul 2015 12:29:08 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle05.itea.ntnu.no (Postfix) with ESMTP id 2F414904F4B for <20386@debbugs.gnu.org>; Thu, 23 Jul 2015 18:29:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle05.itea.ntnu.no Received: from [IPv6:2001:700:300:1470:ccf9:442e:bf61:6156] (unknown [IPv6:2001:700:300:1470:ccf9:442e:bf61:6156]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle05.itea.ntnu.no (Postfix) with ESMTPSA id 36375904F53; Thu, 23 Jul 2015 18:28:49 +0200 (CEST) Message-ID: <55B11640.6030707@math.ntnu.no> Date: Thu, 23 Jul 2015 18:28:48 +0200 From: Harald Hanche-Olsen User-Agent: Postbox 4.0.1 (Macintosh/20150514) MIME-Version: 1.0 To: 20386@debbugs.gnu.org Subject: Re: 25.0.50; error when calling sgml-attributes and sgml-tag Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 20386 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.5 (---) Since I get bitten by this bug regularly, and little has happened to it, I took it upon myself to suggest a patch. I include it below. I believe the patch is sufficiently small and trivial to not be “legally significant” (I don't have any signed papers on file). One caveat: This will break skeleton-read for code that calls it with a symbol, expecting the symbol to be evaluated, if the symbol also has a function binding. If this is undesirable, replace (functionp prompt) in the patched skeleton-read with (and (functionp prompt) (not (symbolp prompt))). – Harald From 1d8cc12f73b6b7fe7907073e6c34b558cc4f726b Mon Sep 17 00:00:00 2001 From: Harald Hanche-Olsen Date: Thu, 23 Jul 2015 18:09:44 +0200 Subject: [PATCH] Fix bug #20386 --- lisp/skeleton.el | 17 ++++++++++------- lisp/textmodes/sgml-mode.el | 14 +++++++++----- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/lisp/skeleton.el b/lisp/skeleton.el index d23488b..2c017dd 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -277,7 +277,8 @@ When done with skeleton, but before going back to `_'-point call (defun skeleton-read (prompt &optional initial-input recursive) "Function for reading a string from the minibuffer within skeletons. -PROMPT must be a string or a form that evaluates to a string. +PROMPT must be a string or a function that evaluates to a string. +It may also be a form that evaluates to a string (deprecated). It may contain a `%s' which will be replaced by `skeleton-subprompt'. If non-nil second arg INITIAL-INPUT or variable `input' is a string or cons with index to insert before reading. If third arg RECURSIVE is non-nil @@ -306,12 +307,14 @@ automatically, and you are prompted to fill in the variable parts."))) ;; before point. (save-excursion (insert "\n"))) (unwind-protect - (setq prompt (if (stringp prompt) - (read-string (format prompt skeleton-subprompt) - (setq initial-input - (or initial-input - (symbol-value 'input)))) - (eval prompt))) + (setq prompt (cond ((stringp prompt) + (read-string (format prompt skeleton-subprompt) + (setq initial-input + (or initial-input + (symbol-value 'input))))) + ((functionp prompt) + (funcall prompt)) + (t (eval prompt)))) (or eolp (delete-char 1)))) (if (and recursive diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 2ffe9c1..6a14b52 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -759,9 +759,10 @@ If QUIET, do not print a message when there are no attributes for TAG." (insert ?\s) (insert (funcall skeleton-transformation-function (setq attribute - (skeleton-read '(completing-read - "Attribute: " - alist))))) + (skeleton-read (lambda () + (completing-read + "Attribute: " + alist)))))) (if (string= "" attribute) (setq i 0) (sgml-value (assoc (downcase attribute) alist)) @@ -1177,13 +1178,16 @@ See `sgml-tag-alist' for info about attribute rules." (if (and (eq (car alist) t) (not sgml-xml-mode)) (when (cdr alist) (insert "=\"") - (setq alist (skeleton-read '(completing-read "Value: " (cdr alist)))) + (setq alist (skeleton-read (lambda () + (completing-read + "Value: " (cdr alist))))) (if (string< "" alist) (insert alist ?\") (delete-char -2))) (insert "=\"") (if (cdr alist) - (insert (skeleton-read '(completing-read "Value: " alist))) + (insert (skeleton-read (lambda () + (completing-read "Value: " alist)))) (when (null alist) (insert (skeleton-read '(read-string "Value: "))))) (insert ?\")))) -- 2.4.5 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 23 21:32:07 2015 Received: (at 20386) by debbugs.gnu.org; 24 Jul 2015 01:32:07 +0000 Received: from localhost ([127.0.0.1]:57625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIRqI-0006W8-PU for submit@debbugs.gnu.org; Thu, 23 Jul 2015 21:32:07 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38027) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIRqF-0006Vz-Oe for 20386@debbugs.gnu.org; Thu, 23 Jul 2015 21:32:04 -0400 Received: by wibxm9 with SMTP id xm9so7548519wib.1 for <20386@debbugs.gnu.org>; Thu, 23 Jul 2015 18:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=43CPVARpnctMLLfI5pt9oKBJZxngrQFo9zTEUp/KRWY=; b=e0fJIvEH9ckE5x1CeKO9aJbSwesfj1OL3/VObjyMdUrGcMM1cg72wo/+tn7EjJeCNj RLJQQXMjCb7w2OsqaSPnArUBfQFdJqByb/EvGP/FMSuS5qZqfJ6hsdXN6aapqcAgESLc lGN6cdpcKEJGvyl8ILxPaRBYPWwNAPfbkZNSvXMr0Y75TECClQe7hoQFmq8poq6y6kPI T5qBCx2r6qWeTjIj+0wQHNoNbA/U7AznD2evXZUByLXnGetbZl2QYERW5Un80acoG14V FPQIKhUkfIN4ieeLWHop3drUXdtSJMqkxAKNpOYJFkRKl3mUNz/10geRjZwwcy/byCQ/ sLCg== X-Received: by 10.180.188.176 with SMTP id gb16mr2036727wic.18.1437701523127; Thu, 23 Jul 2015 18:32:03 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id ej5sm10034107wjd.22.2015.07.23.18.32.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 18:32:01 -0700 (PDT) Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag To: Harald Hanche-Olsen , 20386@debbugs.gnu.org References: <87mw22k3wo.fsf@fastmail.fm> <55B11640.6030707@math.ntnu.no> From: Dmitry Gutov Message-ID: <55B1958F.8020806@yandex.ru> Date: Fri, 24 Jul 2015 04:31:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <55B11640.6030707@math.ntnu.no> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20386 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 07/23/2015 07:28 PM, Harald Hanche-Olsen wrote: > I believe the patch is sufficiently small and trivial to not be “legally > significant” (I don't have any signed papers on file). The changes look okay to me, but please resend them as an attachment, and make sure the patch is against the current master. I couldn't easily apply this one. > One caveat: > This will break skeleton-read for code that calls it with a symbol, > expecting the symbol to be evaluated, if the symbol also has a function > binding. I think that's fine. It should be a rare case, and it can be easily worked around on the caller's side. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 04:41:58 2015 Received: (at 20386) by debbugs.gnu.org; 24 Jul 2015 08:41:58 +0000 Received: from localhost ([127.0.0.1]:57783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIYYH-0003bV-4y for submit@debbugs.gnu.org; Fri, 24 Jul 2015 04:41:57 -0400 Received: from hylle06.itea.ntnu.no ([129.241.56.235]:58885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIYYD-0003bG-QG for 20386@debbugs.gnu.org; Fri, 24 Jul 2015 04:41:55 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle06.itea.ntnu.no (Postfix) with ESMTP id 904D26617B3; Fri, 24 Jul 2015 10:41:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle06.itea.ntnu.no Received: from [IPv6:2001:700:300:1470:28a6:1021:cc52:9721] (unknown [IPv6:2001:700:300:1470:28a6:1021:cc52:9721]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle06.itea.ntnu.no (Postfix) with ESMTPSA id 8BD83661765; Fri, 24 Jul 2015 10:41:49 +0200 (CEST) Message-ID: <55B1FA4C.4040404@math.ntnu.no> Date: Fri, 24 Jul 2015 10:41:48 +0200 From: Harald Hanche-Olsen User-Agent: Postbox 4.0.1 (Macintosh/20150514) MIME-Version: 1.0 To: Dmitry Gutov Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag References: <87mw22k3wo.fsf@fastmail.fm> <55B11640.6030707@math.ntnu.no> <55B1958F.8020806@yandex.ru> In-Reply-To: <55B1958F.8020806@yandex.ru> Content-Type: multipart/mixed; boundary="------------080101010100060708070203" X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.5 (---) This is a multi-part message in MIME format. --------------080101010100060708070203 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dmitry Gutov wrote: > > The changes look okay to me, but please resend them as an attachment, > and make sure the patch is against the current master. I couldn't easily > apply this one. Okay. I did it that way because I wasn't sure if the bug tracker accepted attachments. The attached patch is against the current master at this commit: commit de576a55d8c47ffd2e24fca2d48ed99f298d4334 Author: Eli Zaretskii Date: Fri Jul 24 10:47:05 2015 +0300 (Created with git format-patch.) I hope it will work better. – Harald --------------080101010100060708070203 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="0001-Fix-bug-20386.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Fix-bug-20386.patch" RnJvbSAxOTZhNWExZjFlMWM0ODQ4MmI1YTE3M2FkZDM3NGU0YzFhNTQ3MWM4IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBIYXJhbGQgSGFuY2hlLU9sc2VuIDxoYW5jaGVAbWF0 aC5udG51Lm5vPgpEYXRlOiBUaHUsIDIzIEp1bCAyMDE1IDE4OjA5OjQ0ICswMjAwClN1Ympl Y3Q6IFtQQVRDSF0gRml4IGJ1ZyAjMjAzODYKCi0tLQogbGlzcC9za2VsZXRvbi5lbCAgICAg ICAgICAgIHwgMTcgKysrKysrKysrKy0tLS0tLS0KIGxpc3AvdGV4dG1vZGVzL3NnbWwtbW9k ZS5lbCB8IDE0ICsrKysrKysrKy0tLS0tCiAyIGZpbGVzIGNoYW5nZWQsIDE5IGluc2VydGlv bnMoKyksIDEyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3Avc2tlbGV0b24uZWwg Yi9saXNwL3NrZWxldG9uLmVsCmluZGV4IGQyMzQ4OGIuLjJjMDE3ZGQgMTAwNjQ0Ci0tLSBh L2xpc3Avc2tlbGV0b24uZWwKKysrIGIvbGlzcC9za2VsZXRvbi5lbApAQCAtMjc3LDcgKzI3 Nyw4IEBAIFdoZW4gZG9uZSB3aXRoIHNrZWxldG9uLCBidXQgYmVmb3JlIGdvaW5nIGJhY2sg dG8gYF8nLXBvaW50IGNhbGwKIChkZWZ1biBza2VsZXRvbi1yZWFkIChwcm9tcHQgJm9wdGlv bmFsIGluaXRpYWwtaW5wdXQgcmVjdXJzaXZlKQogICAiRnVuY3Rpb24gZm9yIHJlYWRpbmcg YSBzdHJpbmcgZnJvbSB0aGUgbWluaWJ1ZmZlciB3aXRoaW4gc2tlbGV0b25zLgogCi1QUk9N UFQgbXVzdCBiZSBhIHN0cmluZyBvciBhIGZvcm0gdGhhdCBldmFsdWF0ZXMgdG8gYSBzdHJp bmcuCitQUk9NUFQgbXVzdCBiZSBhIHN0cmluZyBvciBhIGZ1bmN0aW9uIHRoYXQgZXZhbHVh dGVzIHRvIGEgc3RyaW5nLgorSXQgbWF5IGFsc28gYmUgYSBmb3JtIHRoYXQgZXZhbHVhdGVz IHRvIGEgc3RyaW5nIChkZXByZWNhdGVkKS4KIEl0IG1heSBjb250YWluIGEgYCVzJyB3aGlj aCB3aWxsIGJlIHJlcGxhY2VkIGJ5IGBza2VsZXRvbi1zdWJwcm9tcHQnLgogSWYgbm9uLW5p bCBzZWNvbmQgYXJnIElOSVRJQUwtSU5QVVQgb3IgdmFyaWFibGUgYGlucHV0JyBpcyBhIHN0 cmluZyBvcgogY29ucyB3aXRoIGluZGV4IHRvIGluc2VydCBiZWZvcmUgcmVhZGluZy4gIElm IHRoaXJkIGFyZyBSRUNVUlNJVkUgaXMgbm9uLW5pbApAQCAtMzA2LDEyICszMDcsMTQgQEAg YXV0b21hdGljYWxseSwgYW5kIHlvdSBhcmUgcHJvbXB0ZWQgdG8gZmlsbCBpbiB0aGUgdmFy aWFibGUgcGFydHMuIikpKQogCTs7IGJlZm9yZSBwb2ludC4KICAgICAgICAgKHNhdmUtZXhj dXJzaW9uIChpbnNlcnQgIlxuIikpKQogICAgICh1bndpbmQtcHJvdGVjdAotCShzZXRxIHBy b21wdCAoaWYgKHN0cmluZ3AgcHJvbXB0KQotCQkJIChyZWFkLXN0cmluZyAoZm9ybWF0IHBy b21wdCBza2VsZXRvbi1zdWJwcm9tcHQpCi0JCQkJICAgICAgKHNldHEgaW5pdGlhbC1pbnB1 dAotCQkJCQkgICAgKG9yIGluaXRpYWwtaW5wdXQKLQkJCQkJCShzeW1ib2wtdmFsdWUgJ2lu cHV0KSkpKQotCQkgICAgICAgKGV2YWwgcHJvbXB0KSkpCisJKHNldHEgcHJvbXB0IChjb25k ICgoc3RyaW5ncCBwcm9tcHQpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHJlYWQt c3RyaW5nIChmb3JtYXQgcHJvbXB0IHNrZWxldG9uLXN1YnByb21wdCkKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgaW5pdGlhbC1pbnB1dAorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAob3IgaW5pdGlh bC1pbnB1dAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKHN5bWJvbC12YWx1ZSAnaW5wdXQpKSkpKQorICAgICAgICAgICAgICAgICAgICAg ICAgICAgKChmdW5jdGlvbnAgcHJvbXB0KQorICAgICAgICAgICAgICAgICAgICAgICAgICAg IChmdW5jYWxsIHByb21wdCkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAodCAoZXZh bCBwcm9tcHQpKSkpCiAgICAgICAob3IgZW9scAogCSAgKGRlbGV0ZS1jaGFyIDEpKSkpCiAg IChpZiAoYW5kIHJlY3Vyc2l2ZQpkaWZmIC0tZ2l0IGEvbGlzcC90ZXh0bW9kZXMvc2dtbC1t b2RlLmVsIGIvbGlzcC90ZXh0bW9kZXMvc2dtbC1tb2RlLmVsCmluZGV4IDJmZmU5YzEuLjZh MTRiNTIgMTAwNjQ0Ci0tLSBhL2xpc3AvdGV4dG1vZGVzL3NnbWwtbW9kZS5lbAorKysgYi9s aXNwL3RleHRtb2Rlcy9zZ21sLW1vZGUuZWwKQEAgLTc1OSw5ICs3NTksMTAgQEAgSWYgUVVJ RVQsIGRvIG5vdCBwcmludCBhIG1lc3NhZ2Ugd2hlbiB0aGVyZSBhcmUgbm8gYXR0cmlidXRl cyBmb3IgVEFHLiIKIAkgICAgKGluc2VydCA/XHMpCiAJICAgIChpbnNlcnQgKGZ1bmNhbGwg c2tlbGV0b24tdHJhbnNmb3JtYXRpb24tZnVuY3Rpb24KIAkJCSAgICAgKHNldHEgYXR0cmli dXRlCi0JCQkJICAgKHNrZWxldG9uLXJlYWQgJyhjb21wbGV0aW5nLXJlYWQKLQkJCQkJCSAg ICAiQXR0cmlidXRlOiAiCi0JCQkJCQkgICAgYWxpc3QpKSkpKQorCQkJCSAgIChza2VsZXRv bi1yZWFkIChsYW1iZGEgKCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAoY29tcGxldGluZy1yZWFkCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJBdHRyaWJ1dGU6ICIKKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxpc3Qp KSkpKSkKIAkgICAgKGlmIChzdHJpbmc9ICIiIGF0dHJpYnV0ZSkKIAkJKHNldHEgaSAwKQog CSAgICAgIChzZ21sLXZhbHVlIChhc3NvYyAoZG93bmNhc2UgYXR0cmlidXRlKSBhbGlzdCkp CkBAIC0xMTc3LDEzICsxMTc4LDE2IEBAIFNlZSBgc2dtbC10YWctYWxpc3QnIGZvciBpbmZv IGFib3V0IGF0dHJpYnV0ZSBydWxlcy4iCiAgICAgKGlmIChhbmQgKGVxIChjYXIgYWxpc3Qp IHQpIChub3Qgc2dtbC14bWwtbW9kZSkpCiAJKHdoZW4gKGNkciBhbGlzdCkKIAkgIChpbnNl cnQgIj1cIiIpCi0JICAoc2V0cSBhbGlzdCAoc2tlbGV0b24tcmVhZCAnKGNvbXBsZXRpbmct cmVhZCAiVmFsdWU6ICIgKGNkciBhbGlzdCkpKSkKKwkgIChzZXRxIGFsaXN0IChza2VsZXRv bi1yZWFkIChsYW1iZGEgKCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChjb21wbGV0aW5nLXJlYWQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAiVmFsdWU6ICIgKGNkciBhbGlzdCkpKSkpCiAJICAoaWYgKHN0cmluZzwgIiIg YWxpc3QpCiAJICAgICAgKGluc2VydCBhbGlzdCA/XCIpCiAJICAgIChkZWxldGUtY2hhciAt MikpKQogICAgICAgKGluc2VydCAiPVwiIikKICAgICAgIChpZiAoY2RyIGFsaXN0KQotICAg ICAgICAgIChpbnNlcnQgKHNrZWxldG9uLXJlYWQgJyhjb21wbGV0aW5nLXJlYWQgIlZhbHVl OiAiIGFsaXN0KSkpCisgICAgICAgICAgKGluc2VydCAoc2tlbGV0b24tcmVhZCAobGFtYmRh ICgpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb21wbGV0aW5nLXJl YWQgIlZhbHVlOiAiIGFsaXN0KSkpKQogICAgICAgICAod2hlbiAobnVsbCBhbGlzdCkKICAg ICAgICAgICAoaW5zZXJ0IChza2VsZXRvbi1yZWFkICcocmVhZC1zdHJpbmcgIlZhbHVlOiAi KSkpKSkKICAgICAgIChpbnNlcnQgP1wiKSkpKQotLSAKMi40LjUKCg== --------------080101010100060708070203-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 12:30:47 2015 Received: (at 20386) by debbugs.gnu.org; 24 Jul 2015 16:30:48 +0000 Received: from localhost ([127.0.0.1]:58142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIfry-0000xX-Sj for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:30:47 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIfrv-0000xG-Cu for 20386@debbugs.gnu.org; Fri, 24 Jul 2015 12:30:43 -0400 Received: by wibxm9 with SMTP id xm9so36228828wib.0 for <20386@debbugs.gnu.org>; Fri, 24 Jul 2015 09:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=YTwwILxuXAG6bh9N2Q4kbh5w4KsQDtJwvpeGsvLyQ2I=; b=ngdIzRqiLaARnKQNB2LZ6t4N2D8XoZFtkkHkmmhxBfZaoTPIFDUyUT6MxcBStDyHCj /HC5UWmkl9A6sMlYWErAn8fqi23ttXGU6CpKfFZhNx43BpcPBlMVUJKLO+1Bn8dZWn3I 0VlhPSfsuLK8uFfAqeDMXDb1uAwvDK0ioqJxEaKLyyLYFl40aSQkwEN8sC1kWu6ybyU2 gfI2SPSKp4UfOQ2n0C95BnkMWssZWNt6zhJKrbiRyaYyliQANUXxvlCZIu0hzgXF84Ww rIx/wWdCRKbjfJ21zgm0SVwGg8XkVUXxGh5LdF60HOpXEUMu38GlpAvZ9u1m4ezJ5j9K TTNQ== X-Received: by 10.194.178.201 with SMTP id da9mr28053906wjc.139.1437755442678; Fri, 24 Jul 2015 09:30:42 -0700 (PDT) Received: from [192.168.0.185] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by smtp.googlemail.com with ESMTPSA id y1sm4300687wib.7.2015.07.24.09.30.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jul 2015 09:30:41 -0700 (PDT) Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag To: Harald Hanche-Olsen References: <87mw22k3wo.fsf@fastmail.fm> <55B11640.6030707@math.ntnu.no> <55B1958F.8020806@yandex.ru> <55B1FA4C.4040404@math.ntnu.no> From: Dmitry Gutov Message-ID: <55B26830.10503@yandex.ru> Date: Fri, 24 Jul 2015 19:30:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <55B1FA4C.4040404@math.ntnu.no> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 07/24/2015 11:41 AM, Harald Hanche-Olsen wrote: > (Created with git format-patch.) > I hope it will work better. Thank you, I've changed the message (please take a look, by the way, for future reference), and pushed it. Someone please double-check that it fixes the problem, and if so send an email to 20386-done, to close this bug. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 12:55:31 2015 Received: (at 20386) by debbugs.gnu.org; 24 Jul 2015 16:55:31 +0000 Received: from localhost ([127.0.0.1]:58154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIgFv-0001Xn-79 for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:55:31 -0400 Received: from hylle05.itea.ntnu.no ([129.241.56.225]:50456) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIgFs-0001Xc-B1 for 20386@debbugs.gnu.org; Fri, 24 Jul 2015 12:55:29 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle05.itea.ntnu.no (Postfix) with ESMTP id 0F070904FFA; Fri, 24 Jul 2015 18:55:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle05.itea.ntnu.no Received: from [IPv6:2001:4662:4ff3::b864:cc4e:7962:2eb5] (unknown [IPv6:2001:4662:4ff3:0:b864:cc4e:7962:2eb5]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle05.itea.ntnu.no (Postfix) with ESMTPSA id 81986904FF6; Fri, 24 Jul 2015 18:55:26 +0200 (CEST) Message-ID: <55B26DFB.3020201@math.ntnu.no> Date: Fri, 24 Jul 2015 18:55:23 +0200 From: Harald Hanche-Olsen User-Agent: Postbox 4.0.1 (Macintosh/20150514) MIME-Version: 1.0 To: Dmitry Gutov Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag References: <87mw22k3wo.fsf@fastmail.fm> <55B11640.6030707@math.ntnu.no> <55B1958F.8020806@yandex.ru> <55B1FA4C.4040404@math.ntnu.no> <55B26830.10503@yandex.ru> In-Reply-To: <55B26830.10503@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 20386 Cc: 20386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.5 (---) Dmitry Gutov wrote: > Thank you, I've changed the message (please take a look, by the way, for > future reference), and pushed it. Great. The message looks fine to me. – Harald From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 14:28:14 2015 Received: (at 20386-done) by debbugs.gnu.org; 24 Jul 2015 18:28:14 +0000 Received: from localhost ([127.0.0.1]:58192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIhhe-0003ql-8o for submit@debbugs.gnu.org; Fri, 24 Jul 2015 14:28:14 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:32808) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIhhc-0003qd-Dq for 20386-done@debbugs.gnu.org; Fri, 24 Jul 2015 14:28:12 -0400 Received: by wicmv11 with SMTP id mv11so74674786wic.0 for <20386-done@debbugs.gnu.org>; Fri, 24 Jul 2015 11:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=INxVjE4nDbdoDxmEgmKfpx9L58o+151S10y46G+/0wk=; b=tv9eQ2RdPmyHfAQWmOTd1WtyT6EHjd/NsREwx9/x7rm4zKVRN23VSEJuspPIB2re+x Rjw1SrCUccQ2qBvNRCzl7KDxnMYg/5wgAyyxJM4iw8e+nzQCkfLrZz/8nGGG5U2BYSe+ eILwKRleCZe6bOUIcDQTb5YJyROu3D/CjoGzP90SbDXfYOd3Qec5yGw3Vga3Vadq6M3m 9r07Lh4wnacjLvJM+v0bCXET+9cUjM+EVek/sfxEcYPzXfbIYx1qpH/JvckVxxCSFIvm YunVvBYNzj6sF9YAZzWFpBsMmzSqEs4vsxLzQyDZNbdNLFjpi3pAMqF3BkineyW32e4y gYLg== X-Received: by 10.180.206.14 with SMTP id lk14mr3573039wic.50.1437762491815; Fri, 24 Jul 2015 11:28:11 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id v20sm13864035wjw.17.2015.07.24.11.28.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jul 2015 11:28:10 -0700 (PDT) Subject: Re: bug#20386: 25.0.50; error when calling sgml-attributes and sgml-tag To: Harald Hanche-Olsen References: <87mw22k3wo.fsf@fastmail.fm> <55B11640.6030707@math.ntnu.no> <55B1958F.8020806@yandex.ru> <55B1FA4C.4040404@math.ntnu.no> <55B26830.10503@yandex.ru> <55B26DFB.3020201@math.ntnu.no> From: Dmitry Gutov Message-ID: <55B283B9.5010008@yandex.ru> Date: Fri, 24 Jul 2015 21:28:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <55B26DFB.3020201@math.ntnu.no> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20386-done Cc: 20386-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (/) On 07/24/2015 07:55 PM, Harald Hanche-Olsen wrote: > Great. The message looks fine to me. Please try to follow its format in future patches (see CONTRIBUTE for details). From unknown Wed Jun 25 00:27:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 22 Aug 2015 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