point-at-eol instead of line-(beginning|end)-position.
* assistant.el (assistant-parse-buffer): Ditto.
* netrc.el (netrc-parse-services): Ditto.
+2007-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-cite.el (gnus-message-search-citation-line): Use point-at-bol
+ and point-at-eol instead of line-(beginning|end)-position.
+
+ * assistant.el (assistant-parse-buffer): Ditto.
+
+ * netrc.el (netrc-parse-services): Ditto.
+
2007-02-28 Daiki Ueno <ueno@unixuser.org>
* mml2015.el (mml2015-epg-find-usable-key): New function.
2007-02-28 Daiki Ueno <ueno@unixuser.org>
* mml2015.el (mml2015-epg-find-usable-key): New function.
(forward-line 1)))
(skip-chars-forward " \t")
(prog1
(forward-line 1)))
(skip-chars-forward " \t")
(prog1
- (buffer-substring (point) (line-end-position))
+ (buffer-substring (point) (point-at-eol))
(forward-line 1))))
(push (list command (assistant-reader command value))
results))
(forward-line 1))))
(push (list command (assistant-reader command value))
results))
"[ \t [:alnum:]]+")))
gnus-message-max-citation-depth))
(mlist (make-list (* (1+ gnus-message-max-citation-depth) 2) nil))
"[ \t [:alnum:]]+")))
gnus-message-max-citation-depth))
(mlist (make-list (* (1+ gnus-message-max-citation-depth) 2) nil))
- (start (line-beginning-position))
- (end (line-end-position)))
+ (start (point-at-bol))
+ (end (point-at-eol)))
(setcar mlist start)
(setcar (cdr mlist) end)
(setcar (nthcdr (* cdepth 2) mlist) start)
(setcar mlist start)
(setcar (cdr mlist) end)
(setcar (nthcdr (* cdepth 2) mlist) start)
(with-temp-buffer
(insert-file-contents netrc-services-file)
(while (search-forward "#" nil t)
(with-temp-buffer
(insert-file-contents netrc-services-file)
(while (search-forward "#" nil t)
- (delete-region (1- (point)) (line-end-position)))
+ (delete-region (1- (point)) (point-at-eol)))
(goto-char (point-min))
(while (re-search-forward
"^ *\\([^ \n\t]+\\)[ \t]+\\([0-9]+\\)/\\([^ \t\n]+\\)" nil t)
(goto-char (point-min))
(while (re-search-forward
"^ *\\([^ \n\t]+\\)[ \t]+\\([0-9]+\\)/\\([^ \t\n]+\\)" nil t)