Subject: 24.0.92; align-regexp fails with 'not a markerp: 0' error

From: "Mark T. Kennedy" <[email-masked]>
Date: Wed, 7 Dec 2011 15:06:21 -0500

1) enter the text:

foo = 1
bar     =     2
baz  =    'a string'

2) set the region around those three lines
3) type M-X align-regexp and specify '=' as the regexp
4) align-regexp will fail with the error 'wrong type argument: markerp, 0'

In GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2011-12-01 on d1.diamondbackcap.corp
Windowing system distributor `Fedora Project', version 11.0.10905000
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.utf8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Apropos

Minor modes in effect:
  which-function-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  show-paren-mode: t
  icomplete-mode: t
  global-visible-mark-mode: t
  visible-mark-mode: t
  msb-mode: t
  shell-dirtrack-mode: t
  savehist-mode: t
  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
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
b a l <tab> <return> <escape> , C-s s e t - m a r C-a 
<escape> , C-s a l i g n - - s e t - m a r k e r C-s 
C-s C-s C-s C-s C-s C-s C-s C-a <escape> , <escape> 
x o c c <return> <escape> p C-k a l i g n - - s e t 
- m a r k e r C-l <return> <select-window> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> C-n C-n 
C-c C-c C-x o C-p C-c C-c C-x o C-n C-c C-c C-x o C-n 
C-c C-c C-x o C-n C-c C-c C-x o C-p C-c C-c C-x 1 C-a 
C-l C-M-a C-g C-x C-x C-g C-p C-p C-p C-p C-p C-n C-n 
<f6> f e o l <return> <f7> <f6> f e o l <return> <f7> 
C-s e o l C-r C-r C-r C-r C-r C-r C-a <escape> , C-s 
e o l C-s C-s C-s C-s <help-echo> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <help-echo> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <select-window> <switch-frame> C-s b u 
g C-s C-a m <return> C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n m <return> <help-echo> <help-echo> 
<switch-frame> <down-mouse-4> <mouse-4> <escape> , 
C-s e o l C-s C-s C-a <escape> x a p r o <tab> <return> 
e o l <return> C-x o C-n C-n <return> C-f C-f C-f C-f 
C-f C-f <return> C-a <help-echo> <help-echo> <switch-frame> 
<switch-frame> e o l C-j q e o l p C-j q ( e o l ) 
C-j q ( e o l p ) C-j <switch-frame> <help-echo> <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <select-window> <help-echo> <switch-frame> 
<select-window> <help-echo> <help-echo> <switch-frame> 
<help-echo> <select-window> <help-echo> <select-window> 
<switch-frame> <switch-frame> <escape> x r e p o r 
<tab> <return>

Recent messages:
Mark set
Mark saved where search started
apropos-symbol-button-display-help: There is nothing to follow for `eol'
apropos-follow: There is nothing to follow here
Entering debugger...
Back to top level.
Entering debugger...
Back to top level.
Entering debugger...
Back to top level.

Load-path shadows:
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-cmds hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-cmds
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-fonts hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-fonts
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-mode hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-mode
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-compat hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-compat
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-guess hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-guess
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-langs hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-langs
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-bytecomp hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-bytecomp
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-align hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-align
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-awk hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-awk
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-menus hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-menus
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-defs hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-defs
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-styles hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-styles
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-engine hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-engine
/usr/local/share/emacs/site-lisp/cc-mode-5.32/cc-vars hides /usr/local/share/emacs/24.0.92/lisp/progmodes/cc-vars
/usr/local/share/emacs/site-lisp/tramp-cache hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-cache
/usr/local/share/emacs/site-lisp/tramp hides /usr/local/share/emacs/24.0.92/lisp/net/tramp
/usr/local/share/emacs/site-lisp/trampver hides /usr/local/share/emacs/24.0.92/lisp/net/trampver
/usr/local/share/emacs/site-lisp/tramp-compat hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-compat
/usr/local/share/emacs/site-lisp/tramp-smb hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-smb
/usr/local/share/emacs/site-lisp/tramp-gw hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-gw
/usr/local/share/emacs/site-lisp/tramp-uu hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-uu
/usr/local/share/emacs/site-lisp/tramp-gvfs hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-gvfs
/usr/local/share/emacs/site-lisp/tramp-sh hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-sh
/usr/local/share/emacs/site-lisp/tramp-ftp hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-ftp
/usr/local/share/emacs/site-lisp/tramp-loaddefs hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-loaddefs
/usr/local/share/emacs/site-lisp/tramp-cmds hides /usr/local/share/emacs/24.0.92/lisp/net/tramp-cmds

Features:
(shadow mail-extr message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader emacsbug sort vc-dispatcher
vc-svn lpr bs tramp-cache tramp-sh debug cus-start cus-load apropos
hippie-exp multi-isearch add-log jka-compr ruler-mode mule-util winner
which-func hi-lock icomplete server menu-bar+ edit-server facemenu+
palette eyedropper hexrgb bookmark+ gnus gnus-ems nnheader mail-utils
bookmark pp cflow-mode espresso ido json thingatpt newcomment paren
mic-paren twit url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045
ietf-drums url-gw url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-util url-parse url-vars mailcap xml js2-mode
imenu js2-indent js2-parse js2-browse js2-highlight js2-ast js2-messages
js2-scan js2-util js2-vars cc-langs cc-mode warnings cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
etags-stack etags register-list help-fns+ help-mode view wid-edit
bindings+ trim regex-tool visible-mark anything-dabbrev-expand anything
edmacro kmacro woman man perl-find-library pulse festival crosshairs
col-highlight vline easy-mmode hl-line+ hl-line frame-cmds fit-frame
frame-fns avoid browse-kill-ring derived cl page-menu teco rect-mark msb
info tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile
cconv macroexp assoc gnus-util mm-util mail-prsvr password-cache shell
pcomplete comint ring format-spec tramp-loaddefs regexp-opt autoinsert
saveplace savehist cperl-mode easymenu echistory chistory ebuff-menu
electric align advice help-fns advice-preload time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe 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 files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

This communication and any attachments may contain confidential/proprietary information and is intended for information purposes only. It is not an invitation or offer to purchase interests from Diamondback. Any representation to the contrary is unintentional. This communication is intended only for the person(s) to whom it is addressed. If you are not the intended recipient you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message or any attachments is not permitted. If you have received this in error, please notify the sender immediately by e-mail and delete this message. All e-mails sent to or received from this address will be received by Diamondback's company e-mail system and is subject to archival and possible review by someone other than the recipient. This notice is automatically appended to each e-mail message leaving Diamondback.