Uwe Brauer wrote:
Andreas Roehler wrote:
> Uwe Brauer wrote:
>> Andreas Roehler wrote:
>>> Changes uploaded to
>>>
>>>
>>>
https://code.launchpad.net/s-x-emacs-werkstatt/
>>>
>>> added GNU-Emacs-footnote.diff
>>> added XEmacs-footnote.diff
>>> modified footnote-init.el
>>>
>>> Can you try again with new files above?
>> sure of course, but maybe tomorrow. may i suggest to change the rev to
>> at least 1.3
>
> Done, thanks for the hint.
>
please tell me which files I need, I told you compiling footnote-init
gives me
in-comment-p-lor is not found,
Thats a surprise for me, as it should contain
(if (functionp 'in-comment-p-lor)
(in-comment-p-lor)
(progn
(save-excursion
(forward-char 1)
(nth 4 (parse-partial-sexp (point-min) (point))))))
Maybe its just a warning by the compiler?
Anyway better to have `in-comment-p-lor'...
so I tried to download comment-lor.el and all the files in that
directory where I found comment-lor.el but I can't compile them.
compiling comment-lor.el gives me:
** The following functions are not known to be defined:
comment-beginning-position-atpt, looking-back, empty-stringp,
comment-atpt, in-string-p
very odd...
hmm, I see in comment-lor.el
(unless (functionp 'empty-stringp)
(defun empty-stringp (string)
(string= "" string)))
Probably here rather a compiler issue.
comment-beginning-position-atpt is an interactive Lisp
function in `thing-at-point-utils.el'.
(comment-beginning-position-atpt &optional arg)
Returns beginning of symbol or char-class comment at point if any, nil otherwise
have replaced it by
(if (functionp 'comment-beginning-position-atpt)(comment-beginning-position-atpt)
(comment-beginning))
BTW commenting using thingatpt-utils is made to detect nested comments.
In some cases it may pay to use that.
Don't know how to replace ´comment-atpt' here.
Function is only called with comments which may nest, ie have a comment-end string.
Inserted (require 'thing-at-point-utils)
added in-string-p:
;;;###autoload
(unless (functionp 'in-string-p)
(defun in-string-p (&optional pos)
(let ((orig (or pos (point))))
(save-excursion
(save-restriction
(widen)
(beginning-of-defun)
(numberp (nth 3 (parse-partial-sexp (point) orig))))))))
Have created a misc-utils.el at
https://code.launchpad.net/s-x-emacs-werkstatt/
where you should find all needed minor functions.
Thanks
Andreas
I am not sure whether to proceed, before you clarify the issue of
these
libraries, and to report the problems which I still have with xemacs
vanilla but only for the fi- functions not for the original one.
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta