unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil
@ 2010-08-13  5:59 Sven Joachim
  2010-08-17  0:02 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2010-08-13  5:59 UTC (permalink / raw)
  To: 6849; +Cc: Sven Joachim

[-- Attachment #1: Type: text/plain, Size: 13121 bytes --]

WoMan signals an error on the attached pam.conf(5) manpage.  Here is a
backtrace:

,----
| Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
|   insert-before-markers-and-inherit(nil)
|   woman2-process-escapes(#<marker (moves after insertion) at 77 in *WoMan 5 pam.conf*> numeric)
|   woman2-sp(#<marker (moves after insertion) at 78 in *WoMan 5 pam.conf*>)
|   woman2-roff-buffer()
|   woman-decode-region(1 16377)
|   woman-decode-buffer()
|   woman-process-buffer()
|   woman-really-find-file("/usr/share/man/man5/pam.conf.5.gz" t "*WoMan 5 pam.conf*")
|   woman-find-file("/usr/share/man/man5/pam.conf.5.gz")
|   woman(nil nil)
|   call-interactively(woman nil nil)
`----

In GNU Emacs 23.2.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-08-05 on turtle, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
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.2.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2.50/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: C
  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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  display-time-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> SPC <down> SPC <down> SPC 
<up> <up> SPC SPC <backspace> SPC q SPC <down> SPC 
q SPC q <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> q y M-x <up> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> SPC q SPC <down> SPC <down> SPC 
<down> SPC <up> <up> <up> SPC q SPC <down> SPC <up> 
SPC q SPC q SPC q SPC q g <up> <up> <up> <up> <up> 
<up> <up> <up> L <C-end> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <return> 3 <return> <down> <down> 
SPC t <help-echo> <down-mouse-2> <mouse-2> q l b A 
z <down> <down> <down> <down> <return> 2 0 0 <return> 
<next> <next> <next> <down> <down> <down> <down> <down> 
<up> <up> <up> <return> q g <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <return> <down> SPC C-h f c C-g 
q <C-f1> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<return> C-e <backspace> <backspace> <backspace> <tab> 
<return> C-x k <return> <f10> <help-echo> <menu-bar> 
<options> <debug-on-error> <C-f1> <up> <return> C-x 
o M-x r e p o r t - e m <tab> b u g <return>

Recent messages:
Deleting articles...done
Making completion list...
uncompressing pam.conf.5.gz...done
WoMan formatting buffer...
woman2-process-escapes: Wrong type argument: char-or-string-p, nil
Debug on Error enabled globally
uncompressing pam.conf.5.gz...done
WoMan formatting buffer...
Entering debugger...
Auto-saving...done

Load-path shadows:
~/elisp/po-mode hides /usr/share/emacs-snapshot/site-lisp/gettext/po-mode
~/elisp/debian-bts-control hides /usr/share/emacs-snapshot/site-lisp/dpkg-dev-el/debian-bts-control
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.2.50/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.2.50/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.2.50/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.2.50/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.2.50/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.2.50/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.2.50/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.2.50/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs/23.2.50/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.2.50/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.2.50/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs-snapshot/site-lisp/bbdb/bbdb-pilot-jwz hides /usr/share/emacs/site-lisp/bbdb/bbdb-pilot-jwz
~/elisp/po-mode hides /usr/share/emacs/site-lisp/gettext/po-mode
/usr/share/emacs-snapshot/site-lisp/gettext/po-compat hides /usr/share/emacs/site-lisp/gettext/po-compat
/usr/share/emacs-snapshot/site-lisp/gnuplot-mode/gnuplot hides /usr/share/emacs/site-lisp/gnuplot-mode/gnuplot
/usr/share/emacs-snapshot/site-lisp/gnuplot-mode/info-look.20.3 hides /usr/share/emacs/site-lisp/gnuplot-mode/info-look.20.3
/usr/share/emacs-snapshot/site-lisp/gnuplot-mode/gnuplot-gui hides /usr/share/emacs/site-lisp/gnuplot-mode/gnuplot-gui
/usr/share/emacs/23.2.50/site-lisp/cmake/cmake-mode hides /usr/share/emacs/23.2.50/site-lisp/cmake-data/cmake-mode
/usr/share/emacs/23.2.50/site-lisp/cmake/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/23.2.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.2.50/site-lisp/magit hides /usr/share/emacs/site-lisp/magit
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-util hides /usr/share/emacs/site-lisp/w3m/w3m-util
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-dtree hides /usr/share/emacs/site-lisp/w3m/w3m-dtree
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-hist hides /usr/share/emacs/site-lisp/w3m/w3m-hist
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-weather hides /usr/share/emacs/site-lisp/w3m/w3m-weather
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-rss hides /usr/share/emacs/site-lisp/w3m/w3m-rss
/usr/share/emacs-snapshot/site-lisp/w3m/mew-w3m hides /usr/share/emacs/site-lisp/w3m/mew-w3m
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-filter hides /usr/share/emacs/site-lisp/w3m/w3m-filter
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-session hides /usr/share/emacs/site-lisp/w3m/w3m-session
/usr/share/emacs-snapshot/site-lisp/w3m/w3mhack hides /usr/share/emacs/site-lisp/w3m/w3mhack
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-search hides /usr/share/emacs/site-lisp/w3m/w3m-search
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-lnum hides /usr/share/emacs/site-lisp/w3m/w3m-lnum
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-proc hides /usr/share/emacs/site-lisp/w3m/w3m-proc
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-fb hides /usr/share/emacs/site-lisp/w3m/w3m-fb
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-favicon hides /usr/share/emacs/site-lisp/w3m/w3m-favicon
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-bug hides /usr/share/emacs/site-lisp/w3m/w3m-bug
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-perldoc hides /usr/share/emacs/site-lisp/w3m/w3m-perldoc
/usr/share/emacs-snapshot/site-lisp/w3m/mime-w3m hides /usr/share/emacs/site-lisp/w3m/mime-w3m
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-bookmark hides /usr/share/emacs/site-lisp/w3m/w3m-bookmark
/usr/share/emacs-snapshot/site-lisp/w3m/octet hides /usr/share/emacs/site-lisp/w3m/octet
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-ems hides /usr/share/emacs/site-lisp/w3m/w3m-ems
/usr/share/emacs-snapshot/site-lisp/w3m/w3m hides /usr/share/emacs/site-lisp/w3m/w3m
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-ccl hides /usr/share/emacs/site-lisp/w3m/w3m-ccl
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-mail hides /usr/share/emacs/site-lisp/w3m/w3m-mail
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-cookie hides /usr/share/emacs/site-lisp/w3m/w3m-cookie
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-image hides /usr/share/emacs/site-lisp/w3m/w3m-image
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-form hides /usr/share/emacs/site-lisp/w3m/w3m-form
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-antenna hides /usr/share/emacs/site-lisp/w3m/w3m-antenna
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-symbol hides /usr/share/emacs/site-lisp/w3m/w3m-symbol
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-tabmenu hides /usr/share/emacs/site-lisp/w3m/w3m-tabmenu
/usr/share/emacs-snapshot/site-lisp/w3m/w3m-namazu hides /usr/share/emacs/site-lisp/w3m/w3m-namazu

Features:
(shadow emacsbug debug cus-start cus-load gnus-draft sgml-mode diff
debian-bts-control perl-mode generic boxquote rect locate kmacro nndoc
url-cache url-http tls url-gw url-auth url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-util url-handlers
url-parse url-vars thingatpt vc-annotate vc-bzr vc-sccs vc-svn vc-cvs
vc-rcs shell diff-mode log-view pcvs-util vc vc-dispatcher grep po-mode
make-mode cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs tabify conf-mode newcomment ffap w3m-form w3m-bookmark
w3m-tabmenu w3m-session w3m doc-view image-mode w3m-hist w3m-fb w3m-ems
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util browse-url imenu
debian-bug debian-changelog-mode add-log bookmark woman man assoc
mule-util multi-isearch jka-compr find-func ispell pp help-mode tar-mode
deb-view compile comint ring debian-control-mode sh-script executable
view dired-x dired-aux dired vc-git compface gnus-fun flow-fill sort
gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg gnus-ml
disp-table parse-time timezone byte-opt bytecomp byte-compile nnfolder
nndraft nnmh auth-source gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig
nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
format-spec gnus-start gnus-spec gnus-int gnus-range message idna
sendmail ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode
mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp
ietf-drums mailabbrev gmm-utils mailheader canlock sha1 hex-util
hashcash gnus-win gnus gnus-ems nnheader gnus-util netrc time-date
mail-utils mm-util mail-prsvr wid-edit time server uniquify advice
help-fns advice-preload po generic-x regexp-opt image-file paren add-ons
bitmap bitmap-ci poem poem-e20 poem-e20_3 pces pces-e20 pces-20 broken
pcustom poe pym static apel-ver product debian-el debian-el-loaddefs
w3m-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs
easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs bbdb-autoloads preview-latex
tex-site auto-loads 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)


[-- Attachment #2: pam.conf manpage --]
[-- Type: application/octet-stream, Size: 5503 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil
  2010-08-13  5:59 bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil Sven Joachim
@ 2010-08-17  0:02 ` Glenn Morris
  2010-08-17 18:39   ` Sven Joachim
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2010-08-17  0:02 UTC (permalink / raw)
  To: Sven Joachim; +Cc: 6849


Try this:

*** lisp/woman.el	2010-07-14 15:57:54 +0000
--- lisp/woman.el	2010-08-16 23:59:21 +0000
***************
*** 3388,3394 ****
    "Translate up to marker TO.  Do this last of all transformations."
    (if translations
        (let ((matches (car translations))
! 	    (alist (cdr translations)))
  	(while (re-search-forward matches to t)
  	  ;; Done like this to retain text properties and
  	  ;; support translation of special characters:
--- 3388,3397 ----
    "Translate up to marker TO.  Do this last of all transformations."
    (if translations
        (let ((matches (car translations))
! 	    (alist (cdr translations))
! 	    ;; Translations are case-sensitive, eg ".tr ab" does not
! 	    ;; affect "A" (bug#6849).
! 	    (case-fold-search nil))
  	(while (re-search-forward matches to t)
  	  ;; Done like this to retain text properties and
  	  ;; support translation of special characters:






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil
  2010-08-17  0:02 ` Glenn Morris
@ 2010-08-17 18:39   ` Sven Joachim
  2010-08-18  2:47     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2010-08-17 18:39 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 6849

On 2010-08-17 02:02 +0200, Glenn Morris wrote:

> Try this:
>
> *** lisp/woman.el	2010-07-14 15:57:54 +0000
> --- lisp/woman.el	2010-08-16 23:59:21 +0000
> ***************
> *** 3388,3394 ****
>     "Translate up to marker TO.  Do this last of all transformations."
>     (if translations
>         (let ((matches (car translations))
> ! 	    (alist (cdr translations)))
>   	(while (re-search-forward matches to t)
>   	  ;; Done like this to retain text properties and
>   	  ;; support translation of special characters:
> --- 3388,3397 ----
>     "Translate up to marker TO.  Do this last of all transformations."
>     (if translations
>         (let ((matches (car translations))
> ! 	    (alist (cdr translations))
> ! 	    ;; Translations are case-sensitive, eg ".tr ab" does not
> ! 	    ;; affect "A" (bug#6849).
> ! 	    (case-fold-search nil))
>   	(while (re-search-forward matches to t)
>   	  ;; Done like this to retain text properties and
>   	  ;; support translation of special characters:

Thanks, this patch helps.

Cheers,
       Sven





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil
  2010-08-17 18:39   ` Sven Joachim
@ 2010-08-18  2:47     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2010-08-18  2:47 UTC (permalink / raw)
  To: 6849-done


Installed in emacs23.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-18  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13  5:59 bug#6849: 23.2.50; woman2-process-escapes: Wrong type argument: char-or-string-p, nil Sven Joachim
2010-08-17  0:02 ` Glenn Morris
2010-08-17 18:39   ` Sven Joachim
2010-08-18  2:47     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).