GNU bug report logs -
#13501
24.3.50; mark-defun and friends don't work correctly in python-mode
Previous Next
Reported by: Ivan Andrus <darthandrus <at> gmail.com>
Date: Sat, 19 Jan 2013 21:23:02 UTC
Severity: normal
Tags: notabug
Found in version 24.3.50
Done: Fabián Ezequiel Gallina <fabian <at> anue.biz>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Starting from emacs -Q create a buffer in python-mode with contents
with open('someFile') as f:
data = f.read()
Place the cursor (say) after some and before File. Then run mark-defun
(e.g. with C-M-h). It will set mark at the end of the line and not move
point. Instead, it should select the entire block.
This also happens on the Emacs 24 branch.
-Ivan
In GNU Emacs 24.3.50.16 (i386-apple-darwin12.2.0, NS apple-appkit-1187.34)
of 2013-01-19 on oroszlan.local
Bzr revision: 111557 eggert <at> cs.ucla.edu-20130119122910-o562t7gzs8ju4mah
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure --with-ns --no-create --no-recursion'
Important settings:
value of $LC_CTYPE: UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Python
Minor modes in effect:
tooltip-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
line-number-mode: t
transient-mark-mode: t
Recent input:
<C-up> <C-up> C-k C-k C-k C-k C-k M-x p y h <backspace>
t h <tab> o <backspace> <return> C-y <C-left> <C-left>
<C-left> <C-left> <C-left> <C-left> <right> <right>
<right> <right> s-x C-/ M-x m a r k d <backspace> -
d e f u <tab> <return> <down-mouse-1> <mouse-1> <up>
<up> M-x r e p o <tab> r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Can't guess python-indent-offset, using defaults: 4
Mark set
Undo!
Mark set [2 times]
You can run the command `mark-defun' with C-M-h
Mark set
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr dabbrev emacsbug message 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 mail-prsvr mail-utils help-mode python rx easymenu comint ring
ansi-color time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)
This bug report was last modified 12 years and 173 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.