emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing function?


From: Richard . G . Bielawski
Subject: Missing function?
Date: Mon, 1 Nov 2004 08:44:17 -0600

To: address@hidden
Subject: Missing function?
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing
list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The code below parses text based on syntax.
The part commented out does not work when syntax is `put' on characters.
The replacement works but is ugly.  
Hard-coding an internal table mapping doesn't seem right.
There doesn't seem to be a function that does the job of (elt ...).

(defun tal-next-token (&optional move) 
  (when (not (eobp))
    (looking-at
     (concat "\\s"
;            (char-to-string (char-syntax (char-after)))
             (char-to-string (elt "-.w_()'\"$\\/<>@!|"
                                  (car (syntax-after (point)))))
             "+"))
    (if move (goto-char (match-end 0)))
    (match-string 0)
  )
)


In GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
 of 2004-07-26 on BERATUNG4
configured using `configure --with-gcc (3.3) --cflags
-I../../jpeg-6b-1/include -I../../libpng-1.2.4-1/include
-I../../tiff-3.5.7/include -I../../xpm-nox-4.2.0/include
-I../../zlib-1.1.4-1/include'

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: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  eldoc-mode: t
  cua-mode: t
  recentf-mode: t
  show-paren-mode: t
  tool-bar-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t


Richard Bielawski
612-667-5039

"This message may contain confidential and/or privileged information.  If
you are not the addressee or authorized to receive this for the addressee,
you must not use, copy, disclose, or take any action based on this message
or any information herein.  If you have received this message in error,
please advise the sender immediately by reply e-mail and delete this
message.  Thank you for your cooperation."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]