From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan McCarthy Newsgroups: gmane.emacs.bugs Subject: bug#7340: 23.2; occur-mode blocks repeat-macro shortcut Date: Fri, 5 Nov 2010 19:23:57 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174be6d09776b70494569163 X-Trace: dough.gmane.org 1289000636 17795 80.91.229.12 (5 Nov 2010 23:43:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2010 23:43:56 +0000 (UTC) To: 7340@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 06 00:43:51 2010 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.69) (envelope-from ) id 1PEVwg-0007qG-5m for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Nov 2010 00:43:47 +0100 Original-Received: from localhost ([127.0.0.1]:42139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEVwf-000540-Hc for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Nov 2010 19:43:45 -0400 Original-Received: from [140.186.70.92] (port=54834 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEVwW-00053e-Hl for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:43:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEVwU-0006gu-Ka for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:43:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEVwU-0006gq-Ga for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:43:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PEVdZ-0001sh-Oe; Fri, 05 Nov 2010 19:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan McCarthy Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Nov 2010 23:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7340 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12889994027223 (code B ref -1); Fri, 05 Nov 2010 23:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Nov 2010 23:23:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PEVcv-0001sS-Mz for submit@debbugs.gnu.org; Fri, 05 Nov 2010 19:23:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PEVZH-0001qe-Mt for submit@debbugs.gnu.org; Fri, 05 Nov 2010 19:19:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEVdd-0004a3-KY for submit@debbugs.gnu.org; Fri, 05 Nov 2010 19:24:07 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:33782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEVdd-0004Zz-Fe for submit@debbugs.gnu.org; Fri, 05 Nov 2010 19:24:05 -0400 Original-Received: from [140.186.70.92] (port=33757 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEVdb-0006VH-I1 for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:24:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEVdZ-0004Ys-8M for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:24:03 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:59134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEVdY-0004YD-Rf for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2010 19:24:01 -0400 Original-Received: by eydd26 with SMTP id d26so1976135eyd.0 for ; Fri, 05 Nov 2010 16:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bVIiNB0Qna3769GgieUagKh/UJr5NVvvhQ/1ogmYJTg=; b=skn7rXNEg7XhDz/LDzwVO7zBNApFlGkzdKXzCxABfvqQf6jNTgHCWkv43k5D+wNOnd m6iW+oS2IY8vB/PLGTkpDFmn33ZZZMM+ZXapYHB45GBnJn0KBCte0D2LHzNf3Z1oIOCu JI1FfMnL+KqEqudqd98E9ptHtqC0HsPFu+YbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ovm2qUFdlossXZQAQWTSIIE13o26FR+J/NMuMZKI+EWg+xNns89MMKsW/GeCSR0TFV ch4b0lNUy1VImW9smF14VGrieJFkwRmiRXg6iHV2Sh6hDNMXlOo9z8MVfHSMm8+yY97W kFC3dIMmnCfhS6u9g1UT2w46TyMqKlSyFNJqw= Original-Received: by 10.213.36.2 with SMTP id r2mr2154283ebd.78.1288999437563; Fri, 05 Nov 2010 16:23:57 -0700 (PDT) Original-Received: by 10.213.5.1 with HTTP; Fri, 5 Nov 2010 16:23:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 05 Nov 2010 19:23:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 05 Nov 2010 19:24:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:41402 Archived-At: --0015174be6d09776b70494569163 Content-Type: text/plain; charset=ISO-8859-1 If I execute a keyboard macro that ends in an occur-mode buffer, Emacs gives the usual '(Type e to repeat macro)' prompt, but if you type 'e' it gets rejected because the occur buffer is read-only. I can still repeat the macro with C-x e (or C-u 100 C-x e, which is probably what you usually do with macros in occur buffers), but it is surprising at first. In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2010-05-10 on discordia Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--without-sound'' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Occur Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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-x e C-x e e e C-x e e C-x e e C-x e C-x e C-x e C-x e C-x e C-x e C-x e C-u 2 0 C-x e C-u 2 0 C-x e C-w M-x d e l e d u p C-g C-w C-w C-w C-w C-w C-w C-w C-x C-s M-x r e p o r t - e m a c s - b u g Recent messages: Buffer is read-only: # (Type e to repeat macro) Buffer is read-only: # (Type e to repeat macro) [8 times] After 14 kbd macro iterations: occur-mode-find-occurrence: No occurrence on this line Making completion list... [2 times] Quit Auto-saving...done Load-path shadows: ~/emacs-lisp/css-mode hides /usr/local/share/emacs/23.2/lisp/textmodes/css-mode ~/emacs-lisp/greek hides /usr/local/share/emacs/23.2/lisp/language/greek Features: (shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug disp-table woman novice hideif find-func two-column iso-transl dictionary link connection multi-isearch noutline outline ruler-mode mule-util hl-line hexl sort newcomment server skeleton sh-script jka-compr help-mode view make-mode executable grep ansi-color shell vc-dispatcher vc-svn man paren cua-base cus-start cus-load acme-search slime byte-opt bytecomp byte-compile apropos easy-mmode hyperspec browse-url hideshow pp quack thingatpt compile cmuscheme comint scheme session xref rx ecf-mode dcm-general arc-mode archive-mode tar-mode advice advice-preload vanc-mode php-mode speedbar sb-image ezimage dframe assoc darcs-mode derived css-mode cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt eperiodic edmacro kmacro sudoku easymenu esh-var esh-io esh-cmd esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util etags ring cl cl-19 eldoc help-fns tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --0015174be6d09776b70494569163 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If I execute a keyboard macro that ends in an occur-mode buffer, Emacs
g= ives the usual '(Type e to repeat macro)' prompt, but if you type &= #39;e'
it gets rejected because the occur buffer is read-only.

I can still repeat the macro with C-x e (or C-u 100 C-x e, which is
= probably what you usually do with macros in occur buffers), but it is
su= rprising at first.

In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Vers= ion 2.8.20)
=A0of 2010-05-10 on discordia
Windowing system distributor `The X.Org Fo= undation', version 11.0.70101000
configured using `configure=A0 '= ;--without-sound''

Important settings:
=A0 value of $LC_A= LL: nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value o= f $LC_MESSAGES: nil
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_N= UMERIC: nil
=A0 value of $LC_TIME: nil
=A0 value of $LANG: en_US.UTF-= 8
=A0 value of $XMODIFIERS: nil
=A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-charac= ters: t

Major mode: Occur

Minor modes in effect:
=A0 shell= -dirtrack-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 = file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 auto-encryptio= n-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mode: t
= =A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:<= br><mouse-5> <down-mouse-5> <mouse-5> <down-mouse-5>= ; <mouse-5>
<help-echo> <down-mouse-5> <mouse-5> <help-echo> &l= t;down-mouse-5>
<mouse-5> <help-echo> <down-mouse-5&g= t; <mouse-5> <down-mouse-5>
<mouse-5> <down-mouse-= 5> <mouse-5> <down-mouse-5> <mouse-5>
<down-mouse-5> <mouse-5> <down-mouse-4> <mouse-4> &= lt;down-mouse-4>
<mouse-4> <down-mouse-4> <mouse-4>= ; <help-echo> <down-mouse-4>
<mouse-4> <help-echo&= gt; <down-mouse-4> <mouse-4> <help-echo>
<down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> &= lt;help-echo>
<help-echo> <down-mouse-5> <mouse-5>= <down-mouse-5>
<mouse-5> <down-mouse-1> <mouse-1&= gt; <double-down-mouse-1>
<double-mouse-1> <down-mouse-1> <mouse-1> <help-echo&g= t;
<down-mouse-5> <mouse-5> <help-echo> <down-mous= e-5>
<mouse-5> <help-echo> <down-mouse-5> <mous= e-5> <down-mouse-5>
<mouse-5> <help-echo> <down-mouse-5> <mouse-5> <= help-echo>
<down-mouse-1> <mouse-2> <help-echo> &l= t;down-mouse-1>
<mouse-1> <help-echo> <switch-frame&g= t; <C-backspace>
<C-backspace> <C-backspace> <switch-frame> <help-echo&= gt;
C-x e <switch-frame> <switch-frame> <help-echo> C= -x
e <switch-frame> <switch-frame> e e <help-echo> C-= x
e <switch-frame> <switch-frame> e C-x e <switch-frame> <switch-frame> e <help-echo> <help-echo> <switch-fra= me>
<switch-frame> <help-echo> C-x e <switch-frame>= ; <switch-frame>
C-x e <switch-frame> <switch-frame> C-x e <switch-frame> =
<switch-frame> C-x e <switch-frame> <switch-frame> C-x e <switch-frame> <switch-frame> C-x e <switch-frame>= ;
<switch-frame> C-x e <switch-frame> <switch-frame>
C-= u 2 0 C-x e <switch-frame> <switch-frame> <switch-frame> =
<switch-frame> <switch-frame> <switch-frame> <swit= ch-frame>
<switch-frame> <switch-frame> <switch-frame> <switch-f= rame>
<switch-frame> <switch-frame> <switch-frame>= <switch-frame>
<switch-frame> <switch-frame> <swi= tch-frame> <switch-frame>
<switch-frame> <switch-frame> <switch-frame> <switch-f= rame>
<switch-frame> <switch-frame> <switch-frame>= <switch-frame>
<switch-frame> <switch-frame> <swi= tch-frame> <switch-frame>
<switch-frame> <switch-frame> <switch-frame> <switch-f= rame>
<switch-frame> <switch-frame> <switch-frame>= <switch-frame>
<switch-frame> C-u 2 0 C-x e <switch-fra= me> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <trip= le-down-mouse-4>
<triple-mouse-4> <down-mouse-1> <mou= se-movement> <mouse-1>
<delete> <up> <up> &l= t;up> <up> <down-mouse-1> <mouse-movement>
<drag-mouse-1> <down-mouse-1> <mouse-movement> <mouse-= 1>
<down-mouse-1> <mouse-movement> <mouse-movement>= ; <drag-mouse-1>
C-w <down-mouse-1> <mouse-movement> = <mouse-movement>
<drag-mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1&= gt;
<mouse-movement> <mouse-movement> <drag-mouse-1> = M-x
d e l e <tab> <tab> d u p <tab> <tab> <b= ackspace> <backspace>
<backspace> <tab> C-g <down-mouse-1> <mouse-movement&g= t;
<mouse-movement> <drag-mouse-1> C-w <down-mouse-1>=
<mouse-movement> <mouse-movement> <drag-mouse-1> C-w=
<down-mouse-1> <mouse-movement> <mouse-movement> <drag= -mouse-1>
C-w <down-mouse-1> <mouse-movement> <mouse-= movement>
<drag-mouse-1> C-w <down-mouse-1> <mouse-mo= vement>
<mouse-movement> <drag-mouse-1> C-w <down-mouse-1>
&l= t;mouse-movement> <mouse-movement> <drag-mouse-1> C-w
&l= t;down-mouse-1> <mouse-movement> <mouse-movement> <drag-m= ouse-1>
C-w <switch-frame> <switch-frame> <down-mouse-1> <mous= e-movement>
<mouse-1> C-x C-s <switch-frame> <help-ec= ho> <help-echo>
<help-echo> M-x r e p o r t - e m a c s = - b u g <r
eturn>

Recent messages:
Buffer is read-only: #<buffer *Occu= r*>
(Type e to repeat macro)
Buffer is read-only: #<buffer *Occ= ur*>
(Type e to repeat macro) [8 times]
After 14 kbd macro iterati= ons: occur-mode-find-occurrence: No occurrence on this line
Making completion list... [2 times]
Quit
Auto-saving...done

Lo= ad-path shadows:
~/emacs-lisp/css-mode hides /usr/local/share/emacs/23.2= /lisp/textmodes/css-mode
~/emacs-lisp/greek hides /usr/local/share/emacs= /23.2/lisp/language/greek

Features:
(shadow mail-extr message ecomplete rfc822 mml mml-sec pas= sword-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc= 2047 rfc2045
qp ietf-drums mailabbrev nnheader gnus-util netrc time-date= mm-util
mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash
= mail-utils emacsbug disp-table woman novice hideif find-func two-column
= iso-transl dictionary link connection multi-isearch noutline outline
ruler-mode mule-util hl-line hexl sort newcomment server skeleton
sh-scr= ipt jka-compr help-mode view make-mode executable grep ansi-color
shell = vc-dispatcher vc-svn man paren cua-base cus-start cus-load
acme-search s= lime byte-opt bytecomp byte-compile apropos easy-mmode
hyperspec browse-url hideshow pp quack thingatpt compile cmuscheme
comin= t scheme session xref rx ecf-mode dcm-general arc-mode archive-mode
tar-= mode advice advice-preload vanc-mode php-mode speedbar sb-image
ezimage = dframe assoc darcs-mode derived css-mode cc-mode cc-fonts
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opteperiodic edmacro kmacro sudoku easymenu esh-var esh-io esh-cmd esh-extesh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util etags
ring cl cl-19 eldoc help-fns tooltip ediff-hook vc-hooks lisp-float-typemwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe
lisp-= mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag m= ouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korea= n japanese hebrew greek romanian slovak czech european ethiopic
indian c= yrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loa= ddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-pr= int-readable backquote make-network-process dbusbind
system-font-setting= font-render-setting gtk x-toolkit x multi-tty emacs)

--0015174be6d09776b70494569163--