From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 08 15:46:30 2015 Received: (at submit) by debbugs.gnu.org; 8 Mar 2015 19:46:30 +0000 Received: from localhost ([127.0.0.1]:39769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUh9g-0002ay-MN for submit@debbugs.gnu.org; Sun, 08 Mar 2015 15:46:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34832) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUh9c-0002aj-Lo for submit@debbugs.gnu.org; Sun, 08 Mar 2015 15:46:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUh9U-00083z-2h for submit@debbugs.gnu.org; Sun, 08 Mar 2015 15:46: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=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUh9T-00083v-Vs for submit@debbugs.gnu.org; Sun, 08 Mar 2015 15:46:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUh9R-0003cq-Li for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 15:46:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUh9L-00081B-IU for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 15:46:13 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]:35721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUh9L-00080x-0o for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2015 15:46:07 -0400 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 8544AD49B for ; Sun, 8 Mar 2015 20:46:03 +0100 (CET) X-SENDER-IP: [213.114.148.47] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CJBgBmpvxU/y+UctVagwZSWoMKsBSOdgeFeIEeTgEBAQEBAXyEOTMTAScdAgUPEgIRAQQZDFWIFQGXaI9Km0EYgQmOEwEBKUWCUIFFBY9thAaHCTmFQ4V/hl8jgVEuAwEbgVE9MYELgTgBAQE X-IPAS-Result: A2CJBgBmpvxU/y+UctVagwZSWoMKsBSOdgeFeIEeTgEBAQEBAXyEOTMTAScdAgUPEgIRAQQZDFWIFQGXaI9Km0EYgQmOEwEBKUWCUIFFBY9thAaHCTmFQ4V/hl8jgVEuAwEbgVE9MYELgTgBAQE X-IronPort-AV: E=Sophos;i="5.11,363,1422918000"; d="scan'208";a="760770787" Received: from c-2f9472d5.04-99-73746f3.cust.bredbandsbolaget.se (HELO goblin) ([213.114.148.47]) by ipb4.telenor.se with ESMTP; 08 Mar 2015 20:46:02 +0100 From: Johan Claesson To: bug-gnu-emacs@gnu.org Subject: 24.4; complete-tag at end of buffer fails Date: Sun, 08 Mar 2015 20:45:50 +0100 Message-ID: <87vbibz30x.fsf@bredband.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -3.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: -3.3 (---) Hi, Running complete-tag at end of buffer will fail with end-of-buffer error. This happens if there is something before point that should have been able to be expanded by complete-tag. Below is a suggestion for correction.=20 diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index b89b4cf..2c6cf24 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -809,7 +809,8 @@ If no tags table is loaded, do nothing and return nil." beg) (when pattern (save-excursion - (forward-char (1- (length pattern))) + (forward-char (min (- (point-max) (point)) + (1- (length pattern)))) (search-backward pattern) (setq beg (point)) (forward-char (length pattern)) Regards, /Johan In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit) of 2014-10-26 on goblin Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.10 Configured using: `configure --prefix=3D/ssd/home/jcl/usr --with-x-toolkit=3Dlucid --without-toolkit-scroll-bars -C --without-compress-info --enable-link-time-optimization' Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Debbugs Minor modes in effect: display-time-mode: t minibuffer-depth-indicate-mode: t minibuffer-electric-default-mode: t icomplete-mode: t diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t shell-dirtrack-mode: t winner-mode: t ido-everywhere: t which-function-mode: t electric-layout-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-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 temp-buffer-resize-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x 1 0=20 M-f M-f C-h f =20 M-x d e b u g b=20 u g g n u 2 1 1 6 =20 C-s c o m p l e SPC n n n n n q C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s M-1 C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s=20 C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s=20 C-s C-s C-s C-s C-a M-x C-g C-q C-SPC M-.=20 =20 =20 =20 =20 C-v C-v C-v C-1 TAB =20 M-x C-e - s e r a =20 a r c o p =20 o m p l e t e SPC e n d SPC o f SPC e b=20 u f f e r =20 M-x c o m p l e t e =20 C-s e n d =20 =20 C-s C-s C-a C-w=20 C-s e n d C-s C-s C-s C-s C-s=20 C-s C-s C-s C-a M-x r e p o r t - e m b =20 Recent messages: Opening nndoc server on /tmp/gnus-temp-group-588Bxc-ephemeral...done Mark saved where search started Mark set Quit Contacting host: debbugs.gnu.org:80 [3 times] Unknown symbol: =E6=B6=82 Unknown symbol: =E5=9D=9A Mark saved where search started Mark set Mark saved where search started Load-path shadows: /home/jcl/share/elisp/gitconfig-mode hides /home/jcl/elpa/gitconfig-mode-20= 140605.520/gitconfig-mode Features: (emacsbug nndoc crm tree-widget elp inferior-slime slime-banner slime-enclosing-context slime-cl-indent cl-indent gud apropos gnus-fun make-mode scheme tramp-cache tramp-sh vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir vc vc-dispatcher mailalias cal-move cal-iso nnir gnus-draft w3m-form tempo company-dabbrev company-template company haskell haskell-load haskell-commands highlight-uses-mode haskell-modules haskell-sandbox haskell-repl haskell-debug haskell-interactive-mode haskell-presentation-mode haskell-show haskell-collapse haskell-navigate-imports haskell-compile haskell-process haskell-str haskell-session haskell-font-lock rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util org-table esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util org-id ob-octave autoload lisp-mnt tar-mode gnutls url-handlers epg nnrss shadow gnus-dired eieio-opt speedbar sb-image ezimage dframe git-commit-mode log-edit pcvs-util footnote misearch multi-isearch tabify gitconfig-mode conf-mode sort gnus-cite flow-fill mm-archive mail-extr gnus-async add-log time-stamp url-cache w3m-cookie smiley jcl-replace jcl-games-init jcl-muse-init htmlize-hack htmlize muse-latex muse-html muse-xml-common muse-colors cus-edit cus-start cus-load muse-publish muse-project muse-protocols muse-regexps muse muse-nested-tags muse-mode jcl-yaoddmuse-init yaoddmuse-extension yaoddmuse skeleton sgml-mode jcl-renegade-goblin jcl-home-boot network-stream mule-util vc-git org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m jcl-load jcl-billboard-init jcl-elisp-init profiler pcase tagbag-init jcl-grep-init jcl-safe-init jcl-abbrev-init jcl-ediff-init jcl-term-init jcl-erlang-init jcl-sbg jcl-erlang-log bookmark erlang-eunit jcl-erlang-man man jcl-midnite-init jcl-midnite midnight jcl-picpocket-init picpocket-test jcl-erc-init jcl-ido-init jcl-dired-init image-file wdired jcl-register-init jcl-command-subset-init jcl-generic-init generic-x jcl-eww-init eww mm-url shr jcl-org-init poporg ob-latex ob-sh ox-beamer org-feed org-capture jcl-haskell-init jcl-haskell-old inf-haskell haskell-cabal haskell-utils haskell-decl-scan haskell-mode haskell-string haskell-sort-imports haskell-align-imports haskell-compat haskell-complete-module flymake dabbrev haskell-customize jcl-mentor-init mentor xml-rpc url-scgi jcl-google-init jcl-modes-init calc calc-loaddefs calc-macs jcl-rfc rfcview goto-addr proced nroff-mode table picture python rx jcl-ruby inf-ruby ruby-mode fpl cc-langs cwarn grep jcl-elpa-init view jcl-global-init time printing mb-depth whitespace ffap saveplace num3-mode minibuf-eldef icomplete jcl-sl-init jcl-keys-init diff-mode jcl-sbg-ssit jcl-google google-translate google-translate-default-ui google-translate-core-ui google-translate-core jcl-imenu jcl-wesnoth wesnoth-mode wesnoth-wml-data wesnoth-update jcl-erlang distel-ie edb distel jcl-picpocket jcl-goblin jcl-dired jcl-dired-lexical picpocket dired-aux fuzzy-match jcl-ediff jcl-elisp jcl-grep edebug jcl-stumpwm jcl-org jcl-erc erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat jcl-vbox jcl-keys tramp tramp-compat tramp-loaddefs trampver shell windmove jcl-isearch jcl-sbg-scan sbg filecache jcl-bugfix derived loadhist jcl-debbugs debbugs-org debbugs-gnu debbugs soap-client url-http tls url-auth url-gw warnings jcl-merge jcl-wip jcl-work-buffer ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff jcl-sty jcl-epresent face-remap org-indent epresent ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element diet ps-print ps-def lpr jcl-eel bindat patmatch erl-service derl epmd net-fsm erl erlext jcl-template jcl-copyright jcl-template-lib cperl-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jcl-sbg-tags tagbag erlang wc-mode jcl-register jcl-advice jcl-command-subset jcl-duff clearcase tq reporter jcl-motion jcl-site-start jpt-mode erlang-start qp parse-time gnus-ml gnus-topic nndraft nnmh nnfolder nnml jcl-master jcl-calendar-init jcl-emms-init emms-cache emms-info-ogginfo emms-info-mp3info emms-player-vlc emms-player-mplayer jcl-emms emms-mode-line emms-librefm-stream emms-librefm-scrobbler emms-playing-time emms-info later-do emms-playlist-mode emms-source-playlist xml emms-setup emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf emms-source-file locate emms-player-simple emms emms-compat jcl-gnus-init jcl-gnus jcl-w3m-init jcl-term ange-ftp w3m-search w3m-bookmark w3m-antenna w3m-rss jcl-org-import-icalendar jcl-status jcl-buffer-init org-location-google-maps org-agenda google-maps google-maps-static url-util url-parse url-vars google-maps-geocode google-maps-base json org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs autorevert filenotify appt jcl-calendar jcl-swedish-postfix quail help-mode holidays hol-loaddefs icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs w3m doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util dired-x gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win mailcap starttls smtpmail auth-source password-cache sendmail message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit jcl-boot jcl-slime-init slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-autodoc eldoc jcl-misc jcl-ert ispell find-lisp jcl-misc-lexical winner jcl-windows jcl-buffer ido ert find-func ewoc debug jcl-compile slime-editing-commands slime-repl slime-parse slime compile etags arc-mode archive-mode noutline outline easy-mmode pp comint ansi-color hyperspec thingatpt browse-url jcl-face hi-lock dired paren mic-paren which-func imenu hl-line jcl-times-init jcl-early-init jcl-compat-init advice jcl-util subr-x jcl-times server term disp-table ehelp ring sh-script smie executable jcl-load-path tex-site debbugs-autoloads eimp-autoloads gitconfig-mode-autoloads gitignore-mode-autoloads gnugo-autoloads ascii-art-to-unicode-autoloads gnuplot-mode-autoloads edmacro kmacro htmlize-autoloads ipython-autoloads list-utils-autoloads help-fns cl-macs cl gv cl-loaddefs cl-lib macrostep-autoloads git-commit-mode-autoloads eieio byte-opt bytecomp byte-compile cconv eieio-core memory-usage-autoloads finder-inf mic-paren-autoloads muse-autoloads num3-mode-autoloads python-autoloads simple-httpd-autoloads info easymenu slime-autoloads svg-clock-autoloads s-autoloads xml-rpc-autoloads yaoddmuse-autoloads package epg-config time-date tooltip 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 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 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 x-toolkit x multi-tty emacs) Memory information: ((conses 16 1897315 204662) (symbols 48 96596 0) (miscs 40 3444 7228) (strings 32 358637 71705) (string-bytes 1 10171033) (vectors 16 101602) (vector-slots 8 2431265 142560) (floats 8 1248 1908) (intervals 56 177422 1226) (buffers 960 204) (heap 1024 137396 27193)) From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 15 18:35:45 2015 Received: (at 20061-done) by debbugs.gnu.org; 15 Nov 2015 23:35:45 +0000 Received: from localhost ([127.0.0.1]:39261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zy6pk-00076v-PM for submit@debbugs.gnu.org; Sun, 15 Nov 2015 18:35:45 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:33938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zy6pQ-00076Q-VA for 20061-done@debbugs.gnu.org; Sun, 15 Nov 2015 18:35:43 -0500 Received: by wmvv187 with SMTP id v187so151969905wmv.1 for <20061-done@debbugs.gnu.org>; Sun, 15 Nov 2015 15:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=4RLVHQb+LUFbBkab9YYYGwk+D5spDE32TuvzoS8+3As=; b=VrMhBZPj3U3q0qhaKkRlE7nDtb71cyHkga+RmrZC9++dx5A35VpQ29aR14ea4vXU4u 3I1P2oST8twHjgwMHSqmqH+H0rMLyTq8LLsu2cTt+ragKzCrwS8OFtFpbXgtypmC11mR O7Dl2cFo0u6aOxFYsAltRxUeuIwWQhOjXy+H0ui+l1d1rTiUYf8a2Hlhyu6VqFI7gf9J 7B5KLty/EG8w2DLU+ZsbSbpGoWVkEs+eQm825on5Ko74aodBbVedxMpFAY4gwnUhqVb+ 69Mmn7c2xKWSskknR1WVxYjD/uRXoZtnssFn3jOslG8ECGed3/kk54da+ntoK9CF+9H2 VirQ== X-Received: by 10.28.217.18 with SMTP id q18mr15876708wmg.10.1447630524101; Sun, 15 Nov 2015 15:35:24 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id c4sm19853377wjs.36.2015.11.15.15.35.22 for <20061-done@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 Nov 2015 15:35:22 -0800 (PST) To: 20061-done@debbugs.gnu.org From: Dmitry Gutov Subject: 24.4; complete-tag at end of buffer fails Message-ID: <564916B9.2000400@yandex.ru> Date: Mon, 16 Nov 2015 01:35:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20061-done 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 (/) Thank you for the report. I've fixed the bug in a slightly different way. Branch emacs-25, f60a3b0. From unknown Mon Aug 18 19:21:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 14 Dec 2015 12:24:03 +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