Package: emacs24
Version: 24.4+1-5

To reproduce: create an empty .html file (touch /tmp/blah.html) then
open it with Emacs in a terminal (emacs -q -nw /tmp/blah.html).  Now
type C-c C-c h to insert a link and try entering a URL with a '?'
(question mark), say "https://www.google.com/search?q=emacs";.
Expected behavior: '?' simply inserts a '?'.  Observed behavior: '?'
conjures some useless and totally uninformative help.  Worse, since
this help disappears as soon as any other character is entered, when
copy-pasting such a link, the '?' character simply disappears.
(Indeed, I discovered this bug because I found a huge number of broken
links in HTML pages I had written, all with a missing '?'.)

I don't know if the problem is that sgml-mode.el badly uses the
define-skeleton function or that the define-skeleton function is bad,
but this is clearly wrong, extremely annoying, and a regression
w.r.t. emacs23, or even w.r.t. Ubuntu's emacs24 24.3+1-2ubuntu1 for
some reason.  (I was unable to read the code to figure out where this
capture of '?' takes place or why the difference between Debian and
Ubuntu packages.)

Suggestions on how to work around this would be very much welcome!

-- 
     David A. Madore
   ( http://www.madore.org/~david/ )

Reply via email to