Lute Kamstra [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Kim F. Storm) writes:
[...]
That's the analysis -- I'm not sure how to fix the problem.
Shouldn't Fprint (and other functions that accept a marker as output
stream) just check if the marker is within the accessible part of the
+int marker_pos = -1;
This should be EMACS_INT, since Lisp_Object can be 64bit even if int is
only 32bit (and it should be in the MARKERP branch of PRINTPREPARE rather
than in PRINTDECLARE).
Stefan
PS: Yes, it's a very widespread problem, but if we ever want to be able to
Stefan Monnier [EMAIL PROTECTED] writes:
+int marker_pos = -1;
This should be EMACS_INT, since Lisp_Object can be 64bit even if int is
only 32bit
I just checked:
/* Return the char position of marker MARKER, as a C integer. */
int
marker_position (marker)
Lisp_Object
Lute Kamstra [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Kim F. Storm) writes:
[...]
That's the analysis -- I'm not sure how to fix the problem.
Shouldn't Fprint (and other functions that accept a marker as output
stream) just check if the marker is within the accessible part of the
Symptoms:
cat foo.htm EOF
html
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/html
EOF
When I start emacs --no-init-file foo.htm, I can edit and save the
file as expected.
On the other hand, when I start emacs --unibyte --no-init-file foo.htm,
then edit the file
[EMAIL PROTECTED] (Mario Domgrgen) writes:
I start a clean emacs with emacs -q --no-init-file and evaluate
the following function:
(defun html-eval-scripts ()
(interactive)
(save-excursion
(goto-char (point-min))
(while (re-search-forward
In article [EMAIL PROTECTED], Peter Dyballa [EMAIL PROTECTED] writes:
Hello!
Few characters are not correctly coded:
Thank you for finding those error. I've just fixed the code
of code-pages.el. Although you didn't list it, 0241 = A1 =
U+201D was also incorrectly decoded.
---
Ken'ichi HANDA
Fprint uses PRINTPREPARE which will try to set point at the marker
position:
if (MARKERP (printcharfun))
\
{
\
...
SET_PT_BOTH