From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pent Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1960: 23.0.60; A combination of PC Selection, Visual Lines and emacsclient redefines C-backspace Date: Tue, 20 Jan 2009 00:22:57 +0300 Message-ID: Reply-To: cmr.Pent@gmail.com, 1960@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232401435 29526 80.91.229.12 (19 Jan 2009 21:43:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 21:43:55 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 22:45:07 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LP1vS-0006OX-B5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 22:44:55 +0100 Original-Received: from localhost ([127.0.0.1]:60814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP1uB-0000VM-45 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 16:43:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP1u7-0000Uy-Cx for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:43:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP1u6-0000UW-7w for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:43:30 -0500 Original-Received: from [199.232.76.173] (port=43143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP1u6-0000US-24 for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:43:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56478) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LP1u5-0004M9-EY for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:43:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JLhR0X028196; Mon, 19 Jan 2009 13:43:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0JLU3bB024647; Mon, 19 Jan 2009 13:30:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: pent Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 19 Jan 2009 21:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1960 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123240020023376 (code B ref -1); Mon, 19 Jan 2009 21:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jan 2009 21:23:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JLNFFS023370 for ; Mon, 19 Jan 2009 13:23:17 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:57408 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LP1Z4-0002dB-Sr for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 16:21:47 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LP1aO-0002ew-A3 for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 16:23:13 -0500 Original-Received: from aparamon.dialup.corbina.ru ([89.179.245.94]:47034 helo=neo.paramonovs) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LP1aN-0002ec-1E for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 16:23:08 -0500 Original-Received: from pent by neo.paramonovs with local (Exim 4.69) (envelope-from ) id 1LP1aD-0003Js-64; Tue, 20 Jan 2009 00:22:57 +0300 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 19 Jan 2009 16:43:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24290 gmane.emacs.pretest.bugs:23721 Archived-At: 1) Run emacs 2) Hit C-h k C-backspace It replies (expected): runs the command backward-kill-word, which is an interactive compiled Lisp function. It is bound to . (backward-kill-word arg) Kill characters backward until encountering the beginning of a word. With argument arg, do this that many times. 3) Exit emacs 4) Run emacs --daemon 5) Run emacsclient -c 6) Hit C-h k C-backspace It tells (unexpected): runs the command kill-visual-line, which is an interactive compiled Lisp function. It is bound to , , C-k. (kill-visual-line &optional arg) Kill the rest of the visual line. If there are only whitespace characters there, kill through the newline as well. ... The problem is not reproduced with emacs -Q. However, I could trace down the problematic line in my .emacs (see listing below). The problem is triggered by '(pc-selection-mode t) statement. Please note that *do* like the [other] effects of PC Selection and Visual Lines modes and I've turned them on on purpose. My .emacs customizations: ;; --- Customized --- (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(TeX-PDF-mode t) '(TeX-output-view-style (quote (("^dvi$" ("^landscape$" "^pstricks$\\|^pst-\\|^psfrag$") "%(o?)dvips -t landscape %d -o && gv %f") ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv %f") ("^dvi$" ("^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$" "^landscape$") "%(o?)xdvi %dS -paper a4r -s 0 %d") ("^dvi$" "^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$" "%(o?)xdvi %dS -paper a4 %d") ("^dvi$" ("^\\(?:a5\\(?:comb\\|paper\\)\\)$" "^landscape$") "%(o?)xdvi %dS -paper a5r -s 0 %d") ("^dvi$" "^\\(?:a5\\(?:comb\\|paper\\)\\)$" "%(o?)xdvi %dS -paper a5 %d") ("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d") ("^dvi$" "^letterpaper$" "%(o?)xdvi %dS -paper us %d") ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -paper legal %d") ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d") ("^dvi$" "." "%(o?)xdvi %dS %d") ("^pdf$" "." "evince %o") ("^html?$" "." "firefox %o")))) '(TeX-save-query nil) '(case-fold-search t) '(column-number-mode t) '(csv-align-style (quote right)) '(current-language-environment "UTF-8") '(debian-bug-From-address "Andrey ") '(debian-bug-use-From-address t) '(dictionary-create-buttons nil) '(dictionary-default-dictionary "ru-en--en-ru") '(dictionary-server "dict.dvo.ru") '(dired-listing-switches "-l --group-directories-first") '(ediff-split-window-function (quote split-window-horizontally)) '(ediff-window-setup-function (quote ediff-setup-windows-plain)) '(global-visual-line-mode t) '(gnus-select-method (quote (nntp "news.gmane.org"))) '(ibuffer-enable t) '(ibuffer-never-show-predicates (quote ("^\\*.*")) nil (ibuf-ext)) '(kill-whole-line t) '(list-directory-brief-switches "-CF --group-directories-first") '(list-directory-verbose-switches "-l --group-directories-first") '(mouse-wheel-mode t) '(org-insert-mode-line-in-empty-file t) '(pc-selection-mode t) '(scroll-conservatively 50) '(scroll-margin 5) '(scroll-preserve-screen-position t) '(show-paren-mode t) '(svn-status-default-export-directory "~/study") '(svn-status-preserve-window-configuration t) '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))) '(tool-bar-mode nil) '(truncate-lines t) '(use-dialog-box nil) '(w3m-coding-system (quote utf-8)) '(w3m-default-coding-system (quote utf-8)) '(w3m-file-coding-system (quote utf-8)) '(w3m-file-name-coding-system (quote utf-8)) '(w3m-terminal-coding-system (quote utf-8)) '(w3m-use-cookies t) '(x-select-enable-clipboard t) '(x-select-request-type (quote UTF8_STRING) t)) I'm ready to provide any additional info, Andrey In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2009-01-18 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090118-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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: ru_RU.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: delete-selection-mode: t show-paren-mode: t pc-selection-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t