*** empty log message ***
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 4 Mar 1997 19:59:34 +0000 (19:59 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 4 Mar 1997 19:59:34 +0000 (19:59 +0000)
lisp/ChangeLog
lisp/browse-url.el [deleted file]
lisp/gnus-nocem.el
lisp/gnus-score.el
lisp/gnus.el
lisp/message.el
lisp/nnheader.el
lisp/nnmh.el
texi/gnus.texi

index e794e2e..00b9d7b 100644 (file)
@@ -1,3 +1,37 @@
+Fri Jun 28 04:02:25 1996  Lars Magne Ingebrigtsen  <larsi@aegir.ifi.uio.no>
+
+       * gnus.el: Gnus v5.2.29 is released.
+
+Thu Jun 27 23:14:54 1996  Lars Magne Ingebrigtsen  <larsi@aegir.ifi.uio.no>
+
+       * browse-url.el: Removed from distribution.
+
+       * nnmh.el (nnmh-request-group): Re-read dir.
+
+Thu Jun 27 23:13:17 1996  Andy Norman  <ange@hplb.hpl.hp.com>
+
+       * nnheader.el (nnheader-re-read-dir): New function.
+
+Thu Jun 27 21:50:16 1996  Lars Magne Ingebrigtsen  <larsi@aegir.ifi.uio.no>
+
+       * gnus.el (gnus-summary-next-article): Would stall on canceled
+       articles. 
+       (gnus-dribble-enter): Would bury the wrong buffer.
+
+       * gnus-score.el (gnus-score-followup-thread,
+       gnus-score-followup-article): Would switch to wrong buffer.
+
+       * gnus.el (gnus-adjust-marked-articles): Possible fix for killed
+       articles. 
+       (gnus-subscribe-hierarchically): Kill .newsrc buffer.
+
+       * gnus-nocem.el (gnus-nocem-check-article): Would not search
+       properly. 
+
+Thu Jun 27 21:50:16 1996  Lars Magne Ingebrigtsen  <larsi@aegir.ifi.uio.no>
+
+       * gnus.el: Gnus v5.2.28 is released.
+
 Thu Jun 27 23:33:18 1996  Lars Magne Ingebrigtsen  <larsi@ylfing.ifi.uio.no>
 
        * nnmail.el (nnmail-get-spool-files): Wouldn't get much mail. 
diff --git a/lisp/browse-url.el b/lisp/browse-url.el
deleted file mode 100644 (file)
index eec192a..0000000
+++ /dev/null
@@ -1,686 +0,0 @@
-;;; browse-url.el --- ask a WWW browser to load a URL
-
-;; Copyright 1995 Free Software Foundation, Inc.
-
-;; Author: Denis Howe <dbh@doc.ic.ac.uk>
-;; Maintainer: Denis Howe <dbh@doc.ic.ac.uk>
-;; Created: 03 Apr 1995
-;; Version: 0.30 23 Mar 1996
-;; Keywords: hypertext
-;; X-Home page: http://wombat.doc.ic.ac.uk/
-
-;; This file is part of GNU Emacs.
-
-;; GNU Emacs is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published
-;; by the Free Software Foundation; either version 1, or (at your
-;; option) any later version.
-
-;; GNU Emacs is distributed in the hope that it will be useful, but
-;; WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-;; General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; Commentary:
-
-;; The latest version of this package should be available from
-;; <URL:http://wombat.doc.ic.ac.uk/emacs/browse-url.el>.
-
-;; This package provides functions which read a URL (Uniform Resource
-;; Locator) from the minibuffer, defaulting to the URL around point,
-;; and ask a World-Wide Web browser to load it.  It can also load the
-;; URL associated with the current buffer.  Different browsers use
-;; different methods of remote control so there is one function for
-;; each supported browser.  If the chosen browser is not running, it
-;; is started.  Currently there is support for:
-
-;; Function              Browser     Earliest version
-;; browse-url-netscape   Netscape    1.1b1        
-;; browse-url-mosaic     XMosaic     <= 2.4
-;; browse-url-cci        XMosaic     2.5
-;; browse-url-w3         w3          0
-;; browse-url-iximosaic  IXI Mosaic  ?
-;; browse-url-lynx-*    Lynx        0
-
-;; Note that versions of Netscape before 1.1b1 did not have remote
-;; control.  <URL:http://www.netscape.com/newsref/std/x-remote.html>
-;; and <URL:http://www.netscape.com/info/APIs/>.
-
-;; Netscape can cache Web pages so it may be necessary to tell it to
-;; reload the current page if it has changed (e.g. if you have edited
-;; it).  There is currently no perfect automatic solution to this.
-
-;; Netscape allows you to specify the id of the window you want to
-;; control but which window DO you want to control and how do you
-;; discover its id?
-
-;; If using XMosaic before version 2.5, check the definition of
-;; browse-url-usr1-signal below.
-;; <URL:http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/remote-control.html>
-
-;; XMosaic version 2.5 introduced Common Client Interface allowing you
-;; to control mosaic through Unix sockets.
-;; <URL:http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/CCI/cci-spec.html>
-
-;; William M. Perry's excellent "w3" WWW browser for
-;; Emacs <URL:ftp://cs.indiana.edu/pub/elisp/w3/>
-;; has a function w3-follow-url-at-point, but that
-;; doesn't let you edit the URL like browse-url.
-
-;; I recommend Nelson Minar <nelson@santafe.edu>'s excellent
-;; html-helper-mode.el for editing HTML and thank Nelson for
-;; his many useful comments on this code.
-;; <URL:http://www.santafe.edu/~nelson/hhm-beta/>
-
-;; This package generalises function html-previewer-process in Marc
-;; Andreessen <marca@ncsa.uiuc.edu>'s html-mode (LCD
-;; modes/html-mode.el.Z) and provides better versions of the URL
-;; functions in Michelangelo Grigni <mic@cs.ucsd.edu>'s ffap.el
-;; (find-file-at-point) <URL:ftp://cs.ucsd.edu:/pub/mic/>.  The huge
-;; hyperbole package also contains similar functions.
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Help!
-
-;; Can you write and test some code for the Macintrash and Windoze
-;; Netscape remote control APIs?  (See the URL above).
-
-;; Do any other browsers have remote control?
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Installation
-
-;; Put the following in your ~/.emacs file:
-;;
-;; (autoload 'browse-url-at-point "browse-url"
-;;   "Ask a WWW browser to load the URL at or before point." t)
-;; (autoload 'browse-url-at-mouse "browse-url"
-;;   "Ask a WWW browser to load a URL clicked with the mouse." t)
-;; (autoload 'browse-url-of-buffer "browse-url"
-;;   "Ask a WWW browser to display BUFFER." t)
-;; (autoload 'browse-url-of-file "browse-url"
-;;   "Ask a WWW browser to display FILE." t)
-;; (autoload 'browse-url-of-dired-file "browse-url"
-;;   "In Dired, ask a WWW browser to display the file named on this line." t)
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Usage
-
-;; To display the URL at or before point:
-;; M-x browse-url-at-point RET
-
-;; To display a URL by shift-clicking on it, put this in your ~/.emacs
-;; file:
-;;     (global-set-key [S-mouse-1] 'browse-url-at-mouse)
-
-;; To display the current buffer in a web browser:
-;; M-x browse-url-of-buffer RET
-
-;; In Dired, to display the file named on the current line:
-;; M-x browse-url-of-dired-file RET
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Customisation (~/.emacs)
-
-;; To see what variables are available for customization, type `M-x
-;; set-variable browse-url TAB'.
-
-;; To bind the browse-url commands to keys with the `C-c C-z' prefix
-;; (as used by html-helper-mode):
-;;     (global-set-key "\C-c\C-z." 'browse-url-at-point)
-;;     (global-set-key "\C-c\C-zb" 'browse-url-of-buffer)
-;;     (global-set-key "\C-c\C-zv" 'browse-url-of-file)
-;;     (add-hook 'dired-mode-hook
-;;               (function (lambda ()
-;;                           (local-set-key "\C-c\C-zf" 'browse-url-of-dired-file))))
-
-;; To browse URLs in mail messages by clicking mouse-2:
-;; (add-hook 'rmail-mode-hook (function (lambda () ; rmail-mode startup
-;;   (define-key rmail-mode-map [mouse-2] 'browse-url-at-mouse))))
-
-;; To use the Emacs w3 browser when not running under X11:
-;;     (or (eq window-system 'x)
-;;         (setq browse-url-browser-function 'browse-url-w3))
-
-;; To always save modified buffers before displaying the file in a browser:
-;;     (setq browse-url-save-file t)
-
-;; To get round the Netscape caching problem, you could try either of
-;; the following (but not both).  EITHER write-file in
-;; html-helper-mode makes Netscape reload the document:
-;;
-;;     (autoload 'browse-url-netscape-reload "browse-url"
-;;       "Ask a WWW browser to redisplay the current file." t)
-;;     (add-hook 'html-helper-mode-hook
-;;               (function (lambda ()
-;;                  (add-hook 'local-write-file-hooks
-;;                            (function (lambda ()
-;;                               (let ((local-write-file-hooks))
-;;                                 (save-buffer))
-;;                               (browse-url-netscape-reload)
-;;                               t))                   ; => file written by hook
-;;                            t))))                    ; append to l-w-f-hooks
-;;
-;; [Does this work for html-mode too?]
-;;
-;; OR browse-url-of-file asks Netscape to load and then reload the
-;; file:
-;;
-;;     (add-hook 'browse-url-of-file-hook 'browse-url-netscape-reload)
-
-;; You may also want to customise browse-url-netscape-arguments, e.g.
-;;     (setq browse-url-netscape-arguments '("-install"))
-;;
-;; or similarly for the other browsers. 
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; Change Log:
-
-;; 0.00 03 Apr 1995 Denis Howe <dbh@doc.ic.ac.uk>
-;;     Created.
-
-;; 0.01 04 Apr 1995
-;;     All names start with "browse-url-".  Added provide.
-
-;; 0.02 05 Apr 1995
-;;     Save file at start of browse-url-of-file.
-;;     Use start-process instead of start-process-shell-command.
-
-;; 0.03 06 Apr 1995
-;;     Add browse-url-netscape-reload, browse-url-netscape-send.
-;;     browse-url-of-file save file option.
-
-;; 0.04 08 Apr 1995
-;;     b-u-file-url separate function.  Change b-u-filename-alist
-;;     default.
-
-;; 0.05 09 Apr 1995
-;;     Added b-u-of-file-hook.
-
-;; 0.06 11 Apr 1995
-;;     Improved .emacs suggestions and documentation.
-
-;; 0.07 13 Apr 1995
-;;     Added browse-url-interactive-arg optional prompt.
-
-;; 0.08 18 Apr 1995
-;;     Exclude final "." from browse-url-regexp.
-
-;; 0.09 21 Apr 1995
-;;     Added mouse-set-point to browse-url-interactive-arg.
-
-;; 0.10 24 Apr 1995
-;;     Added Mosaic signal sending variations.
-;;     Thanks Brian K Servis <servis@ecn.purdue.edu>.
-;;     Don't use xprop for Netscape.
-
-;; 0.11 25 Apr 1995
-;;     Fix reading of ~/.mosaicpid.  Thanks Dag.H.Wanvik@kvatro.no.
-
-;; 0.12 27 Apr 1995
-;;     Interactive prefix arg => URL *after* point.
-;;     Thanks Michelangelo Grigni <mic@cs.ucsd.edu>.
-;;     Added IXI Mosaic support.
-;;     Thanks David Karr <dkarr@nmo.gtegsc.com>.
-
-;; 0.13 28 Apr 1995
-;;     Exclude final [,;] from browse-url-regexp.
-
-;; 0.14 02 May 1995
-;;     Provide browser argument variables.
-
-;; 0.15 07 May 1995
-;;     More Netscape options.  Thanks Peter Arius
-;;     <arius@immd2.informatik.uni-erlangen.de>.
-
-;; 0.16 17 May 1995
-;;     Added browse-url-at-mouse.
-;;     Thanks Wayne Mesard <wmesard@sgi.com>
-
-;; 0.17 27 Jun 1995
-;;     Renamed browse-url-at-point to browse-url-url-at-point.
-;;     Added browse-url-at-point.
-;;     Thanks Jonathan Cano <cano@patch.tandem.com>.
-
-;; 0.18 16 Aug 1995
-;;     Fixed call to browse-url-url-at-point in browse-url-at-point.
-;;     Thanks Eric Ding <ericding@San-Jose.ate.slb.com>.
-
-;; 0.19 24 Aug 1995
-;;     Improved documentation.
-;;     Thanks Kevin Rodgers <kevin.rodgers@ihs.com>.
-
-;; 0.20 31 Aug 1995
-;;     browse-url-of-buffer to handle file-less buffers.
-;;     browse-url-of-dired-file browses current file in dired.
-;;     Thanks Kevin Rodgers <kevin.rodgers@ihs.com>.
-
-;; 0.21 09 Sep 1995
-;;     XMosaic CCI functions.
-;;     Thanks Marc Furrer <Marc.Furrer@di.epfl.ch>.
-
-;; 0.22 13 Sep 1995
-;;     Fixed new-window documentation and added to browse-url-cci.
-;;     Thanks Dilip Sequeira <djs@dcs.ed.ac.uk>.
-
-;; 0.23 10 Nov 1995
-;;     Added b-u-lynx.  Thanks Steven L. Baur <steve@miranova.com>.
-
-;; 0.24 22 Nov 1995
-;;     Renamed b-u-netscape command to b-u-netscape-send.
-;;     Added b-u-netscape-command variable.
-
-;; 0.25 03 Dec 1995
-;;     Added event-buffer and event-point for XEmacs compatibility.
-;;     Thanks Eric Engstrom <engstrom@src.honeywell.com>
-
-;; 0.26 13 Jan 1996
-;;     Changed b-u-lynx to b-u-lynx-xterm, added b-u-lynx-emacs to
-;;     run Lynx in an Emacs buffer under terminal-emulator.
-;;     Thanks Jari Aalto <jaalto@tre.tele.nokia.fi>
-
-;; 0.27 27 Feb 1996
-;;     Changed event-buffer and event-point from macros to functions.
-;;     Other fixes for byte-compilation.
-
-;; 0.28 07 Mar 1996
-;;     browse-url-lynx-emacs uses term.el instead of terminal.el.
-
-;; 0.29 13 Mar 1996
-;;     Added browse-url-CCI-host.  Thanks Greg Marr <gregm@WPI.EDU>.
-
-;; 0.30 23 Mar 1996
-;;     Contact/start Netscape in the background.
-;;     Thanks Per Abrahamsen <abraham@dina.kvl.dk>
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; Code:
-
-(eval-when-compile (require 'dired))
-
-(defvar browse-url-regexp
-  "\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mailto:\\)[^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+"
-  "A regular expression probably matching a URL.")
-
-(defvar browse-url-browser-function
-  'browse-url-netscape
-  "*Function to display the current buffer in a WWW browser.
-Used by the `browse-url-at-point', `browse-url-at-mouse', and
-`browse-url-of-file' commands.")
-
-(defvar browse-url-netscape-command "netscape"
-  "*The name by which to invoke Netscape.")
-
-(defvar browse-url-netscape-arguments nil
-  "*A list of strings to pass to Netscape as arguments.")
-
-(defvar browse-url-new-window-p nil
-  "*If non-nil, always open a new browser window.
-Passing an interactive argument to \\[browse-url-netscape] or
-\\[browse-url-cci] reverses the effect of this variable.  Requires
-Netscape version 1.1N or later or XMosaic version 2.5 or later.")
-
-(defvar browse-url-mosaic-arguments nil
-  "*A list of strings to pass to Mosaic as arguments.")
-
-(defvar browse-url-filename-alist
-  '(("^/+" . "file:/"))
-  "An alist of (REGEXP . STRING) pairs.
-Any substring of a filename matching one of the REGEXPs is replaced by
-the corresponding STRING.  All pairs are applied in the order given.
-Used by the `browse-url-of-file' command.")
-
-(defvar browse-url-save-file nil
-  "If non-nil, save the buffer before displaying its file.
-Used by the `browse-url-of-file' command.")
-
-(defvar browse-url-of-file-hook nil
-  "A hook to be run with run-hook after `browse-url-of-file' has asked
-a browser to load a file.
-
-Set this to `browse-url-netscape-reload' to force Netscape to load the
-file rather than displaying a cached copy.")
-
-(defvar browse-url-usr1-signal
-  (if (and (boundp 'emacs-major-version)
-          (or (> emacs-major-version 19) (>= emacs-minor-version 29)))
-      'SIGUSR1 ; Why did I think this was in lower case before?
-    30)                                        ; Check /usr/include/signal.h.
-  "The argument to `signal-process' for sending SIGUSR1 to XMosaic.
-Emacs 19.29 accepts 'SIGUSR1, earlier versions require an integer
-which is 30 on SunOS and 16 on HP-UX and Solaris.")
-
-(defvar browse-url-CCI-port 3003
-  "Port to access XMosaic via CCI.
-This can be any number between 1024 and 65535 but must correspond to
-the value set in the browser.")
-
-(defvar browse-url-CCI-host "localhost"
-  "*Host to access XMosaic via CCI.
-This should be the host name of the machine running XMosaic with CCI
-enabled.  The port number should be set in `browse-url-CCI-port'.")
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; URL input
-
-;; thingatpt.el doesn't work for complex regexps.
-
-(defun browse-url-url-at-point ()
-  "Return the URL around or before point.
-Then search backwards for the start of a URL.  If no URL found, return
-the empty string."
-  (if (or (looking-at browse-url-regexp)       ; Already at start
-         (let ((eol (save-excursion (end-of-line) (point))))
-           ;; Search forwards for the next URL or end of line in case
-           ;; we're in the middle of one.
-           (and (re-search-forward browse-url-regexp eol 'lim)
-                (goto-char (match-beginning 0)))
-           ;; Now back to where we started or earlier.
-           (re-search-backward browse-url-regexp nil t)))
-      (buffer-substring (match-beginning 0) (match-end 0))
-    ""))                               ; No match
-
-;; Todo: restrict to around or immediately before point.  Expand bare
-;; hostname to URL.
-
-(defun browse-url-interactive-arg (&optional prompt)
-  "Read a URL from the minibuffer, optionally prompting with PROMPT.
-Default to the URL at or before point.  If bound to a mouse button,
-set point to the position clicked.  Return the result as a list for
-use in `interactive'."
-  (let ((event (elt (this-command-keys) 0)))
-    (and (listp event) (mouse-set-point event)))
-  (list (read-string (or prompt "URL: ") (browse-url-url-at-point))))
-
-(defun browse-url-at-point ()
-  "Ask a WWW browser to load the URL at or before point.
-The URL is loaded according to the value of `browse-url-browser-function'."
-  (interactive)
-  (funcall browse-url-browser-function (browse-url-url-at-point)))
-
-;; Define these if not already defined (XEmacs compatibility)
-
-(eval-and-compile
-  (or (fboundp 'event-buffer)
-      (defun event-buffer (event)
-       (window-buffer (posn-window (event-start event))))))
-
-(eval-and-compile
-  (or (fboundp 'event-point)
-      (defun event-point (event)
-       (posn-point (event-start event)))))
-
-(defun browse-url-at-mouse (event)
-  "Ask a WWW browser to load a URL clicked with the mouse.
-The URL is the one around or before the position of the mouse click
-but point is not changed.  The URL is loaded according to the value of
-`browse-url-browser-function'."
-  (interactive "e")
-  (save-excursion
-    (set-buffer (event-buffer event))
-    (goto-char (event-point event))
-    (let ((url (browse-url-url-at-point)))
-      (if (string-equal url "")
-         (error "No URL found"))
-      (funcall browse-url-browser-function url))))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Browse current buffer
-
-(defun browse-url-of-file (&optional file)
-  "Ask a WWW browser to display FILE.
-Display the current buffer's file if FILE is nil or if called
-interactively.  Turn the filename into a URL by performing
-replacements given in variable `browse-url-filename-alist'.  Pass the
-URL to a browser using variable `browse-url-browser-function' then run
-`browse-url-of-file-hook'."
-  (interactive)
-  (setq file
-       (or file
-           (buffer-file-name)
-           (error "Current buffer has no file")))
-  (let ((buf (get-file-buffer file)))
-    (if buf
-       (save-excursion
-         (set-buffer buf)
-         (cond ((not (buffer-modified-p)))
-               (browse-url-save-file (save-buffer))
-               (t (message "%s modified since last save" file))))))
-  (funcall browse-url-browser-function (browse-url-file-url file))
-  (run-hooks 'browse-url-of-file-hook))
-
-(defun browse-url-file-url (file)
-  "Return the URL corresponding to FILE.
-Uses variable `browse-url-filename-alist' to map filenames to URLs."
-  (let ((maps browse-url-filename-alist))
-    (while maps
-      (let* ((map (car maps))
-            (from-re (car map))
-            (to-string (cdr map)))
-       (setq maps (cdr maps))
-       (if (string-match from-re file)
-           (setq file (concat (substring file 0 (match-beginning 0))
-                              to-string
-                              (substring file (match-end 0))))))))
-  file)
-
-(defvar browse-url-temp-file-name nil)
-(make-variable-buffer-local 'browse-url-temp-file-name)
-
-(defvar browse-url-temp-file-list '())
-
-(defun browse-url-of-buffer (&optional buffer)
-  "Ask a WWW browser to display BUFFER.
-Display the current buffer if BUFFER is nil."
-  (interactive)
-  (save-excursion
-    (set-buffer (or buffer (current-buffer)))
-    (let ((file-name
-          (or buffer-file-name
-              (and (boundp 'dired-directory) dired-directory))))
-      (if (null file-name)
-         (progn
-           (if (null browse-url-temp-file-name)
-               (progn
-                 (setq browse-url-temp-file-name
-                       (make-temp-name
-                        (expand-file-name (buffer-name)
-                                          (or (getenv "TMPDIR") "/tmp"))))
-                 (setq browse-url-temp-file-list
-                       (cons browse-url-temp-file-name
-                             browse-url-temp-file-list))))
-           (write-region (point-min) (point-max) browse-url-temp-file-name
-                         nil 'no-message)))
-      (browse-url-of-file (or file-name browse-url-temp-file-name)))))
-
-(defun browse-url-delete-temp-file (&optional temp-file-name)
-  ;; Delete browse-url-temp-file-name from the file system and from
-  ;; browse-url-temp-file-list.  If optional arg TEMP-FILE-NAME is
-  ;; non-nil, delete it instead, but only from the file system --
-  ;; browse-url-temp-file-list is not affected.
-  (let ((file-name (or temp-file-name browse-url-temp-file-name)))
-    (if (and file-name (file-exists-p file-name))
-       (progn
-         (delete-file file-name)
-         (if (null temp-file-name)
-             (setq browse-url-temp-file-list
-                   (delete browse-url-temp-file-name
-                           browse-url-temp-file-list)))))))
-
-(defun browse-url-delete-temp-file-list ()
-  ;; Delete all elements of browse-url-temp-file-list.
-  (while browse-url-temp-file-list
-    (browse-url-delete-temp-file (car browse-url-temp-file-list))
-    (setq browse-url-temp-file-list
-         (cdr browse-url-temp-file-list))))
-
-(add-hook 'kill-buffer-hook 'browse-url-delete-temp-file)
-(add-hook 'kill-emacs-hook 'browse-url-delete-temp-file-list)
-
-(defun browse-url-of-dired-file ()
-  "In Dired, ask a WWW browser to display the file named on this line."
-  (interactive)
-  (browse-url-of-file (dired-get-filename)))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Browser-specific functions
-
-(defun browse-url-netscape (url &optional new-window)
-  "Ask the Netscape WWW browser to load URL.
-
-Default to the URL around or before point.  The strings in variable
-`browse-url-netscape-arguments' are also passed to Netscape.
-
-When called interactively, if variable `browse-url-new-window-p' is
-non-nil, load the document in a new Netscape window, otherwise use a
-random existing one.  A non-nil interactive prefix argument reverses
-the effect of browse-url-new-window-p.
-
-When called non-interactively, optional second argument NEW-WINDOW is
-used instead of browse-url-new-window-p."
-
-  (interactive (append (browse-url-interactive-arg "Netscape URL: ")
-                      (list (not (eq (null browse-url-new-window-p)
-                                     (null current-prefix-arg))))))
-  (let ((process (apply 'start-process
-                       (concat "netscape " url) nil
-                       browse-url-netscape-command
-                       (append browse-url-netscape-arguments
-                               (if new-window '("-noraise"))
-                               (list "-remote" 
-                                     (concat "openURL(" url 
-                                             (if new-window ",new-window")
-                                             ")"))))))
-    (set-process-sentinel process
-       (list 'lambda '(process change)
-            (list 'browse-url-netscape-sentinel 'process url)))))
-
-(defun browse-url-netscape-sentinel (process url)
-  "Handle a change to the process communicating with Netscape."
-  (or (eq (process-exit-status process) 0)
-      (progn
-       ;; Netscape not running - start it
-       (message "Starting Netscape...")
-       (apply 'start-process (concat "netscape" url) nil
-              browse-url-netscape-command
-              (append browse-url-netscape-arguments (list url))))))
-
-(defun browse-url-netscape-reload ()
-  "Ask Netscape to reload its current document."
-  (interactive)
-  (browse-url-netscape-send "reload"))
-
-(defun browse-url-netscape-send (command)
-  "Send a remote control command to Netscape."
-  (apply 'start-process "netscape" nil
-        browse-url-netscape-command
-        (append browse-url-netscape-arguments
-                (list "-remote" command))))
-
-
-(defun browse-url-mosaic (url)
-  "Ask the XMosaic WWW browser to load URL.
-Default to the URL around or before point."
-  (interactive (browse-url-interactive-arg "Mosaic URL: "))
-  (let ((pidfile (expand-file-name "~/.mosaicpid"))
-       pid pidbuf)
-    (if (file-readable-p pidfile)
-       (save-excursion
-         (find-file pidfile)
-         (goto-char (point-min))
-         (setq pid (read (current-buffer)))
-         (kill-buffer nil)))
-    (if (and pid (zerop (signal-process pid 0))) ; Mosaic running
-       (save-excursion
-         (find-file (format "/tmp/Mosaic.%d" pid))
-         (erase-buffer)
-         (insert "goto\n" url "\n")
-         (save-buffer)
-         (kill-buffer nil)
-         ;; Send signal SIGUSR to Mosaic
-         (message "Signalling Mosaic...")
-         (signal-process pid browse-url-usr1-signal)
-         ;; Or you could try:
-         ;; (call-process "kill" nil 0 nil "-USR1" (int-to-string pid))
-         (message "Signalling Mosaic...done")
-         )
-      ;; Mosaic not running - start it
-      (message "Starting Mosaic...")
-      (apply 'start-process "xmosaic" nil "xmosaic"
-            (append browse-url-mosaic-arguments (list url)))
-      (message "Starting Mosaic...done"))))
-
-
-(defun browse-url-cci (url &optional new-window)
-  "Ask the XMosaic WWW browser to load URL.
-Default to the URL around or before point.
-
-This function only works for XMosaic version 2.5 or later.  You must
-select `CCI' from XMosaic's File menu, set the CCI Port Address to the
-value of variable `browse-url-CCI-port', and enable `Accept requests'.
-
-When called interactively, if variable `browse-url-new-window-p' is
-non-nil, load the document in a new browser window, otherwise use a
-random existing one.  A non-nil interactive prefix argument reverses
-the effect of browse-url-new-window-p.
-
-When called non-interactively, optional second argument NEW-WINDOW is
-used instead of browse-url-new-window-p."
-  (interactive (append (browse-url-interactive-arg "Mosaic URL: ")
-                      (list (not (eq (null browse-url-new-window-p)
-                                     (null current-prefix-arg))))))
-  (open-network-stream "browse-url" " *browse-url*"
-                      browse-url-CCI-host browse-url-CCI-port)
-  ;; Todo: start browser if fails
-  (process-send-string "browse-url"
-                      (concat "get url (" url ") output "
-                              (if new-window "new" "current") "\r\n"))
-  (process-send-string "browse-url" "disconnect\r\n")
-  (delete-process "browse-url"))
-
-
-(defun browse-url-iximosaic (url)
-  "Ask the IXIMosaic WWW browser to load URL.
-Default to the URL around or before point."
-  (interactive (browse-url-interactive-arg "IXI Mosaic URL: "))
-  (start-process "tellw3b" nil "tellw3b"
-                "-service WWW_BROWSER ixi_showurl " url))
-
-
-(defun browse-url-w3 (url)
-  "Ask the w3 WWW browser to load URL.
-Default to the URL around or before point."
-  (interactive (browse-url-interactive-arg "W3 URL: "))
-  (w3-fetch url))
-
-(defun browse-url-lynx-xterm (url)
-  "Ask the Lynx WWW browser to load URL.
-Default to the URL around or before point.  A new Lynx process is run
-in an Xterm window."
-  (interactive (browse-url-interactive-arg "Lynx URL: "))
-  (start-process (concat "lynx" url) nil "xterm" "-e" "lynx" url))
-
-;(eval-when-compile (require 'term))
-
-(defun browse-url-lynx-emacs (url)
-  "Ask the Lynx WWW browser to load URL.
-Default to the URL around or before point.  Run a new Lynx process in
-an Emacs buffer."
-  (interactive (browse-url-interactive-arg "Lynx URL: "))
-  (let ((system-uses-terminfo t))      ; Lynx uses terminfo
-    (if (fboundp 'make-term)
-       (let ((term-term-name "vt100"))
-         (set-buffer (make-term "browse-url" "lynx" nil url))
-         (term-mode)
-         (term-char-mode)
-         (switch-to-buffer "*browse-url*")))
-    (terminal-emulator "*browse-url*" "lynx" (list url))))
-
-(provide 'browse-url)
-
-;;; browse-url.el ends here
index d73cf33..89f2777 100644 (file)
@@ -139,6 +139,7 @@ isn't bound, the message will be used unconditionally.")
               (nnmail-time-since (nnmail-date-to-time date))
               (nnmail-days-to-time gnus-nocem-expiry-wait)))
       (gnus-request-article-this-buffer (mail-header-number header) group)
+      (goto-char (point-min))
       ;; The article has to have proper NoCeM headers.
       (when (and (setq b (search-forward "\n@@BEGIN NCM HEADERS\n" nil t))
                 (setq e (search-forward "\n@@BEGIN NCM BODY\n" nil t)))
index c0686ef..0463de5 100644 (file)
@@ -720,11 +720,11 @@ SCORE is the score to add."
   (setq score (gnus-score-default score))
   (when (gnus-buffer-live-p gnus-summary-buffer)
     (save-excursion
-      (set-buffer gnus-summary-buffer)
       (save-restriction
        (goto-char (point-min))
        (let ((id (mail-fetch-field "message-id")))
          (when id
+           (set-buffer gnus-summary-buffer)
            (gnus-summary-score-entry
             "references" (concat id "[ \t]*$") 'r
             score (current-time-string) nil t)))))))
@@ -735,11 +735,11 @@ SCORE is the score to add."
   (setq score (gnus-score-default score))
   (when (gnus-buffer-live-p gnus-summary-buffer)
     (save-excursion
-      (set-buffer gnus-summary-buffer)
       (save-restriction
        (goto-char (point-min))
        (let ((id (mail-fetch-field "message-id")))
          (when id
+           (set-buffer gnus-summary-buffer)
            (gnus-summary-score-entry
             "references" id 's
             score (current-time-string))))))))
index 6a84a92..dc481e0 100644 (file)
@@ -1750,7 +1750,7 @@ variable (string, integer, character, etc).")
   "gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys)"
   "The mail address of the Gnus maintainers.")
 
-(defconst gnus-version-number "5.2.28"
+(defconst gnus-version-number "5.2.29"
   "Version number for this version of Gnus.")
 
 (defconst gnus-version (format "Gnus v%s" gnus-version-number)
@@ -3034,7 +3034,8 @@ If variable `gnus-use-long-file-name' is non-nil, it is
        (setq groupkey
              (if (string-match "^\\(.*\\)\\.[^.]+$" groupkey)
                  (substring groupkey (match-beginning 1) (match-end 1)))))
-      (gnus-subscribe-newsgroup newgroup before))))
+      (gnus-subscribe-newsgroup newgroup before))
+    (kill-buffer (current-buffer))))
 
 (defun gnus-subscribe-interactively (group)
   "Subscribe the new GROUP interactively.
@@ -8983,7 +8984,7 @@ If READ-ALL is non-nil, all articles in the group are selected."
         (min (car active))
         (max (cdr active))
         (types gnus-article-mark-lists)
-        (uncompressed '(score bookmark))
+        (uncompressed '(score bookmark killed))
         marks var articles article mark)
 
     (while marked-lists
@@ -8999,12 +9000,12 @@ If READ-ALL is non-nil, all articles in the group are selected."
       ;; All articles have to be subsets of the active articles.
       (cond
        ;; Adjust "simple" lists.
-       ((memq mark '(tick dormant expirable reply killed save))
+       ((memq mark '(tick dormant expirable reply save))
        (while articles
          (when (or (< (setq article (pop articles)) min) (> article max))
            (set var (delq article (symbol-value var))))))
        ;; Adjust assocs.
-       ((memq mark '(score bookmark))
+       ((memq mark uncompressed)
        (while articles
          (when (or (not (consp (setq article (pop articles))))
                    (< (car article) min)
@@ -10447,8 +10448,7 @@ If BACKWARD, the previous article is selected instead of the next."
    ;; If not, we try the first unread, if that is wanted.
    ((and subject
         gnus-auto-select-same
-        (or (gnus-summary-first-unread-article)
-            (eq (gnus-summary-article-mark) gnus-canceled-mark)))
+        (gnus-summary-first-unread-article))
     (gnus-summary-position-point)
     (gnus-message 6 "Wrapped"))
    ;; Try to get next/previous article not displayed in this group.
@@ -14955,7 +14955,7 @@ If NEWSGROUP is nil, return the global kill file name instead."
        (set-buffer gnus-dribble-buffer)
        (insert string "\n")
        (set-window-point (get-buffer-window (current-buffer)) (point-max))
-       (bury-buffer)
+       (bury-buffer gnus-dribble-buffer)
        (set-buffer obuf))))
 
 (defun gnus-dribble-read-file ()
index 2a9e682..20142f1 100644 (file)
@@ -1093,6 +1093,8 @@ Puts point before the text and mark after.
 Normally indents each nonblank line ARG spaces (default 3).  However,
 if `message-yank-prefix' is non-nil, insert that prefix on each line.
 
+This function uses `message-cite-function' to do the actual citing.
+
 Just \\[universal-argument] as argument means don't indent, insert no
 prefix, and don't delete any headers."
   (interactive "P")
index 278fa61..ebe212f 100644 (file)
@@ -593,6 +593,15 @@ without formatting."
        (setq path (cdr path))))
     result))
 
+(defun nnheader-re-read-dir (path)
+  "Re-read directory PATH if PATH is on a remote system."
+  (if (boundp 'ange-ftp-path-format)
+      (when (string-match (car ange-ftp-path-format) path)
+       (ange-ftp-re-read-dir path))
+    (if (boundp 'efs-path-regexp)
+       (when (string-match efs-path-regexp path)
+         (efs-re-read-dir path)))))
+
 (fset 'nnheader-run-at-time 'run-at-time)
 (fset 'nnheader-cancel-timer 'cancel-timer)
 (fset 'nnheader-find-file-noselect 'find-file-noselect)
index bebc050..cc9adab 100644 (file)
        (nnheader-report 'nnmh "Selected group %s" group)
        t)
        (t
+       ;; Re-scan the directory if it's on a foreign system.
+       (nnheader-re-read-dir pathname)
        (setq dir 
              (sort
               (mapcar (lambda (name) (string-to-int name))
index 6c31330..4a8456d 100644 (file)
@@ -10135,7 +10135,7 @@ spec, and pad with spaces to get a 5-character field''.  Just like a
 normal format spec, almost.
 
 You can also say @samp{%6,4y}, which means that the field will never be
-more than 6 characters wide and never less than 4 characters wide.
+more than 4 characters wide and never less than 6 characters wide.
 
 There are also specs for highlighting, and these are shared by all the
 format variables.  Text inside the @samp{%(} and @samp{%)} specifiers