aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog.174
-rw-r--r--lisp/Makefile.in2
-rw-r--r--lisp/gnus/ChangeLog.22
-rw-r--r--lisp/gnus/ChangeLog.32
-rw-r--r--lisp/htmlfontify.el5
-rw-r--r--lisp/image-dired.el2
-rw-r--r--lisp/mh-e/ChangeLog.12
-rw-r--r--lisp/net/newst-backend.el2
-rw-r--r--lisp/net/newst-reader.el2
-rw-r--r--lisp/net/newst-ticker.el2
-rw-r--r--lisp/net/newsticker.el2
-rw-r--r--lisp/net/quickurl.el2
-rw-r--r--lisp/net/tramp-archive.el2
-rw-r--r--lisp/org/org.el4
-rw-r--r--lisp/pixel-scroll.el85
-rw-r--r--lisp/progmodes/flymake.el2
-rw-r--r--lisp/time.el8
17 files changed, 58 insertions, 72 deletions
diff --git a/lisp/ChangeLog.17 b/lisp/ChangeLog.17
index 14a6c5d06e4..4dd3df5953b 100644
--- a/lisp/ChangeLog.17
+++ b/lisp/ChangeLog.17
@@ -10766,7 +10766,7 @@
10766 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value. 10766 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10767 (find-gc-source-files): Update some names. 10767 (find-gc-source-files): Update some names.
10768 (trace-call-tree): Simplify and update. 10768 (trace-call-tree): Simplify and update.
10769 Avoid predictable temp-file names. (http://bugs.debian.org/747100) 10769 Avoid predictable temp-file names. (https://bugs.debian.org/747100)
10770 This is CVE-2014-3422. 10770 This is CVE-2014-3422.
10771 10771
107722014-05-08 Stefan Monnier <monnier@iro.umontreal.ca> 107722014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
@@ -17742,7 +17742,7 @@
177422013-10-13 Glenn Morris <rgm@gnu.org> 177422013-10-13 Glenn Morris <rgm@gnu.org>
17743 17743
17744 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent): 17744 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17745 Occur buffers are read-only. http://bugs.debian.org/720775 17745 Occur buffers are read-only. https://bugs.debian.org/720775
17746 17746
17747 * emacs-lisp/authors.el (authors-fixed-entries): 17747 * emacs-lisp/authors.el (authors-fixed-entries):
17748 Comment out old alpha stuff. 17748 Comment out old alpha stuff.
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 353c9e652c6..df9e5c36ee1 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -60,7 +60,7 @@ BYTE_COMPILE_EXTRA_FLAGS =
60# The example above is just for developers, it should not be used by default. 60# The example above is just for developers, it should not be used by default.
61 61
62# Those automatically generated autoload files that need special rules 62# Those automatically generated autoload files that need special rules
63# to build; ie not including things created via generated-autoload-file 63# to build; i.e. not including things created via generated-autoload-file
64# (eg calc/calc-loaddefs.el). 64# (eg calc/calc-loaddefs.el).
65LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \ 65LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
66 $(lisp)/calendar/diary-loaddefs.el \ 66 $(lisp)/calendar/diary-loaddefs.el \
diff --git a/lisp/gnus/ChangeLog.2 b/lisp/gnus/ChangeLog.2
index 35402dffd07..26ecaada5e5 100644
--- a/lisp/gnus/ChangeLog.2
+++ b/lisp/gnus/ChangeLog.2
@@ -1759,7 +1759,7 @@
1759 1759
1760 * pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el, pgg.el: Reapply changes 1760 * pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el, pgg.el: Reapply changes
1761 from 2003-04-03 to fix security problem. 1761 from 2003-04-03 to fix security problem.
1762 See http://www.debian.org/security/2003/dsa-339. 1762 See https://www.debian.org/security/2003/dsa-339.
1763 1763
17642003-07-23 Teodor Zlatanov <tzz@lifelogs.com> 17642003-07-23 Teodor Zlatanov <tzz@lifelogs.com>
1765 1765
diff --git a/lisp/gnus/ChangeLog.3 b/lisp/gnus/ChangeLog.3
index 2aba3a5706f..836cca87ffb 100644
--- a/lisp/gnus/ChangeLog.3
+++ b/lisp/gnus/ChangeLog.3
@@ -655,7 +655,7 @@
6552014-05-08 Glenn Morris <rgm@gnu.org> 6552014-05-08 Glenn Morris <rgm@gnu.org>
656 656
657 * gnus-fun.el (gnus-grab-cam-face): 657 * gnus-fun.el (gnus-grab-cam-face):
658 Do not use predictable temp-file name. (http://bugs.debian.org/747100) 658 Do not use predictable temp-file name. (https://bugs.debian.org/747100)
659 This is CVE-2014-3421. 659 This is CVE-2014-3421.
660 660
6612014-05-04 Glenn Morris <rgm@gnu.org> 6612014-05-04 Glenn Morris <rgm@gnu.org>
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 9fe6e825f78..8dc4cce3239 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -77,6 +77,7 @@
77;; Changes: moved to changelog (CHANGES) file. 77;; Changes: moved to changelog (CHANGES) file.
78 78
79;;; Code: 79;;; Code:
80
80(eval-when-compile (require 'cl-lib)) 81(eval-when-compile (require 'cl-lib))
81(require 'cus-edit) 82(require 'cus-edit)
82 83
@@ -2307,10 +2308,6 @@ See also `hfy-load-tags-cache'."
2307 (interactive "D source directory: ") 2308 (interactive "D source directory: ")
2308 (hfy-load-tags-cache (directory-file-name srcdir))) 2309 (hfy-load-tags-cache (directory-file-name srcdir)))
2309 2310
2310;;(defun hfy-test-read-args (foo bar)
2311;; (interactive "D source directory: \nD target directory: ")
2312;; (message "foo: %S\nbar: %S" foo bar))
2313
2314(defun hfy-save-kill-buffers (buffer-list &optional dstdir) 2311(defun hfy-save-kill-buffers (buffer-list &optional dstdir)
2315 (dolist (B buffer-list) 2312 (dolist (B buffer-list)
2316 (set-buffer B) 2313 (set-buffer B)
diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index 22e725c2168..6ca0cd8831d 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -41,7 +41,7 @@
41;; 41;;
42;; I briefly tried out thumbs.el, and although it seemed more 42;; I briefly tried out thumbs.el, and although it seemed more
43;; powerful than this package, it did not work the way I wanted to. It 43;; powerful than this package, it did not work the way I wanted to. It
44;; was too slow to created thumbnails of all files in a directory (I 44;; was too slow to create thumbnails of all files in a directory (I
45;; currently keep all my 2000+ images in the same directory) and 45;; currently keep all my 2000+ images in the same directory) and
46;; browsing the thumbnail buffer was slow too. image-dired.el will not 46;; browsing the thumbnail buffer was slow too. image-dired.el will not
47;; create thumbnails until they are needed and the browsing is done 47;; create thumbnails until they are needed and the browsing is done
diff --git a/lisp/mh-e/ChangeLog.1 b/lisp/mh-e/ChangeLog.1
index e87bb343cf1..2201ce22a26 100644
--- a/lisp/mh-e/ChangeLog.1
+++ b/lisp/mh-e/ChangeLog.1
@@ -10218,7 +10218,7 @@
10218 it can fail if the user's MH environment is not setup correctly). 10218 it can fail if the user's MH environment is not setup correctly).
10219 I now set the value of mh-folder-unseen-seq-name at runtime when I 10219 I now set the value of mh-folder-unseen-seq-name at runtime when I
10220 first need it. This should fix Debian bugs 10220 first need it. This should fix Debian bugs
10221 http://bugs.debian.org/140232 and http://bugs.debian.org/140817 10221 https://bugs.debian.org/140232 and https://bugs.debian.org/140817
10222 10222
102232002-03-25 Peter S Galbraith <psg@debian.org> 102232002-03-25 Peter S Galbraith <psg@debian.org>
10224 10224
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el
index 77e148047ae..d51f8c0189f 100644
--- a/lisp/net/newst-backend.el
+++ b/lisp/net/newst-backend.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Ulf Jasper <ulf.jasper@web.de> 5;; Author: Ulf Jasper <ulf.jasper@web.de>
6;; Filename: newst-backend.el 6;; Filename: newst-backend.el
7;; URL: http://www.nongnu.org/newsticker 7;; URL: https://www.nongnu.org/newsticker
8;; Keywords: News, RSS, Atom 8;; Keywords: News, RSS, Atom
9;; Package: newsticker 9;; Package: newsticker
10 10
diff --git a/lisp/net/newst-reader.el b/lisp/net/newst-reader.el
index 40e304402ad..b228ea9a60f 100644
--- a/lisp/net/newst-reader.el
+++ b/lisp/net/newst-reader.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Ulf Jasper <ulf.jasper@web.de> 5;; Author: Ulf Jasper <ulf.jasper@web.de>
6;; Filename: newst-reader.el 6;; Filename: newst-reader.el
7;; URL: http://www.nongnu.org/newsticker 7;; URL: https://www.nongnu.org/newsticker
8;; Package: newsticker 8;; Package: newsticker
9 9
10;; ====================================================================== 10;; ======================================================================
diff --git a/lisp/net/newst-ticker.el b/lisp/net/newst-ticker.el
index 8cfafb5bfe4..068b862b694 100644
--- a/lisp/net/newst-ticker.el
+++ b/lisp/net/newst-ticker.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Ulf Jasper <ulf.jasper@web.de> 5;; Author: Ulf Jasper <ulf.jasper@web.de>
6;; Filename: newst-ticker.el 6;; Filename: newst-ticker.el
7;; URL: http://www.nongnu.org/newsticker 7;; URL: https://www.nongnu.org/newsticker
8;; Keywords: News, RSS, Atom 8;; Keywords: News, RSS, Atom
9;; Package: newsticker 9;; Package: newsticker
10 10
diff --git a/lisp/net/newsticker.el b/lisp/net/newsticker.el
index c1714218be9..52576c936a3 100644
--- a/lisp/net/newsticker.el
+++ b/lisp/net/newsticker.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Ulf Jasper <ulf.jasper@web.de> 5;; Author: Ulf Jasper <ulf.jasper@web.de>
6;; Filename: newsticker.el 6;; Filename: newsticker.el
7;; URL: http://www.nongnu.org/newsticker 7;; URL: https://www.nongnu.org/newsticker
8;; Created: 17. June 2003 8;; Created: 17. June 2003
9;; Keywords: News, RSS, Atom 9;; Keywords: News, RSS, Atom
10 10
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index 7f147fa0ded..ed7d7e53a96 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -55,7 +55,7 @@
55;; 55;;
56;; (("GNU" . "https://www.gnu.org/") 56;; (("GNU" . "https://www.gnu.org/")
57;; ("FSF" "https://www.fsf.org/" "The Free Software Foundation") 57;; ("FSF" "https://www.fsf.org/" "The Free Software Foundation")
58;; ("emacs" . "http://www.emacs.org/") 58;; ("emacs" . "https://www.emacs.org/")
59;; ("davep" "http://www.davep.org/" "Dave's homepage")) 59;; ("davep" "http://www.davep.org/" "Dave's homepage"))
60;; 60;;
61;; In case you're wondering about the mixture of cons cells and lists, 61;; In case you're wondering about the mixture of cons cells and lists,
diff --git a/lisp/net/tramp-archive.el b/lisp/net/tramp-archive.el
index b0f447a3aee..b44a4e86aad 100644
--- a/lisp/net/tramp-archive.el
+++ b/lisp/net/tramp-archive.el
@@ -104,7 +104,7 @@
104;; It is even possible to access file archives in file archives, as 104;; It is even possible to access file archives in file archives, as
105 105
106;; (find-file 106;; (find-file
107;; "http://ftp.debian.org/debian/pool/main/c/coreutils/coreutils_8.28-1_amd64.deb/control.tar.gz/control") 107;; "https://ftp.debian.org/debian/pool/main/c/coreutils/coreutils_8.28-1_amd64.deb/control.tar.gz/control")
108 108
109;;; Code: 109;;; Code:
110 110
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 1a137546192..df79d57f2c6 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -693,7 +693,7 @@ defined in org-duration.el.")
693If a description starts with <C>, the file is not part of Emacs and Org mode, 693If a description starts with <C>, the file is not part of Emacs and Org mode,
694so loading it will require that you have properly installed org-contrib 694so loading it will require that you have properly installed org-contrib
695package from NonGNU Emacs Lisp Package Archive 695package from NonGNU Emacs Lisp Package Archive
696http://elpa.nongnu.org/nongnu/org-contrib.html 696https://elpa.nongnu.org/nongnu/org-contrib.html
697 697
698You can also use this system to load external packages (i.e. neither Org 698You can also use this system to load external packages (i.e. neither Org
699core modules, nor org-contrib modules). Just add symbols 699core modules, nor org-contrib modules). Just add symbols
@@ -773,7 +773,7 @@ For export specific modules, see also `org-export-backends'."
773If a description starts with <C>, the file is not part of Emacs and Org mode, 773If a description starts with <C>, the file is not part of Emacs and Org mode,
774so loading it will require that you have properly installed org-contrib 774so loading it will require that you have properly installed org-contrib
775package from NonGNU Emacs Lisp Package Archive 775package from NonGNU Emacs Lisp Package Archive
776http://elpa.nongnu.org/nongnu/org-contrib.html 776https://elpa.nongnu.org/nongnu/org-contrib.html
777 777
778Unlike to `org-modules', libraries in this list will not be 778Unlike to `org-modules', libraries in this list will not be
779loaded along with Org, but only once the export framework is 779loaded along with Org, but only once the export framework is
diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el
index ead841c9823..336b555e77c 100644
--- a/lisp/pixel-scroll.el
+++ b/lisp/pixel-scroll.el
@@ -397,7 +397,11 @@ returns nil."
397The returned value is a cons of the position of the first 397The returned value is a cons of the position of the first
398character on the unseen line just above the scope of current 398character on the unseen line just above the scope of current
399window, and the pixel height of that line." 399window, and the pixel height of that line."
400 (let* ((pos0 (window-start)) 400 (let* ((pos0 (save-excursion
401 (goto-char (window-start))
402 (unless (bobp)
403 (beginning-of-visual-line))
404 (point)))
401 (vscroll0 (window-vscroll nil t)) 405 (vscroll0 (window-vscroll nil t))
402 (line-height nil) 406 (line-height nil)
403 (pos 407 (pos
@@ -407,8 +411,7 @@ window, and the pixel height of that line."
407 (point-min) 411 (point-min)
408 (vertical-motion -1) 412 (vertical-motion -1)
409 (setq line-height 413 (setq line-height
410 (cdr (window-text-pixel-size nil (point) 414 (cdr (window-text-pixel-size nil (point) pos0)))
411 pos0)))
412 (point))))) 415 (point)))))
413 ;; restore initial position 416 ;; restore initial position
414 (set-window-start nil pos0 t) 417 (set-window-start nil pos0 t)
@@ -436,12 +439,13 @@ the height of the current window."
436 (let* ((desired-pos (posn-at-x-y 0 (+ delta 439 (let* ((desired-pos (posn-at-x-y 0 (+ delta
437 (window-tab-line-height) 440 (window-tab-line-height)
438 (window-header-line-height)))) 441 (window-header-line-height))))
439 (object (posn-object desired-pos))
440 (desired-start (posn-point desired-pos)) 442 (desired-start (posn-point desired-pos))
441 (scroll-area-total-height (cdr (window-text-pixel-size nil 443 (current-vs (window-vscroll nil t))
442 (window-start) 444 (start-posn (unless (eq desired-start (window-start))
443 (1- desired-start)))) 445 (posn-at-point desired-start)))
444 (desired-vscroll (- delta scroll-area-total-height)) 446 (desired-vscroll (if start-posn
447 (- delta (cdr (posn-x-y start-posn)))
448 (+ current-vs delta)))
445 (edges (window-edges nil t)) 449 (edges (window-edges nil t))
446 (usable-height (- (nth 3 edges) 450 (usable-height (- (nth 3 edges)
447 (nth 1 edges))) 451 (nth 1 edges)))
@@ -450,36 +454,24 @@ the height of the current window."
450 (when (zerop (vertical-motion (1+ scroll-margin))) 454 (when (zerop (vertical-motion (1+ scroll-margin)))
451 (signal 'end-of-buffer nil)) 455 (signal 'end-of-buffer nil))
452 (point))) 456 (point)))
453 (end-pos (posn-at-x-y 0 (+ usable-height 457 (scroll-preserve-screen-position nil)
454 (window-tab-line-height) 458 (auto-window-vscroll nil))
455 (window-header-line-height))))) 459 (when (and (or (< (point) next-pos))
456 (if (or (overlayp object) 460 (let ((pos-visibility (pos-visible-in-window-p next-pos nil t)))
457 (stringp object) 461 (and pos-visibility
458 (and (consp object) 462 (or (eq (length pos-visibility) 2)
459 (stringp (car object))) 463 (when-let* ((posn (posn-at-point next-pos)))
460 (and (consp (posn-object end-pos)) 464 (> (cdr (posn-object-width-height posn))
461 (> (cdr (posn-object-x-y end-pos)) 0))) 465 usable-height))))))
462 ;; We are either on an overlay or a string, so set vscroll 466 (goto-char next-pos))
463 ;; directly. 467 (set-window-start nil (if (zerop (window-hscroll))
464 (set-window-vscroll nil (+ (window-vscroll nil t) 468 desired-start
465 delta) 469 (save-excursion
466 t) 470 (goto-char desired-start)
467 (when (and (or (< (point) next-pos)) 471 (beginning-of-visual-line)
468 (let ((pos-visibility (pos-visible-in-window-p next-pos nil t))) 472 (point)))
469 (and pos-visibility 473 t)
470 (or (eq (length pos-visibility) 2) 474 (set-window-vscroll nil desired-vscroll t)))
471 (when-let* ((posn (posn-at-point next-pos)))
472 (> (cdr (posn-object-width-height posn))
473 usable-height))))))
474 (goto-char next-pos))
475 (set-window-start nil (if (zerop (window-hscroll))
476 desired-start
477 (save-excursion
478 (goto-char desired-start)
479 (beginning-of-visual-line)
480 (point)))
481 t)
482 (set-window-vscroll nil desired-vscroll t))))
483 475
484(defun pixel-scroll-precision-scroll-down (delta) 476(defun pixel-scroll-precision-scroll-down (delta)
485 "Scroll the current window down by DELTA pixels." 477 "Scroll the current window down by DELTA pixels."
@@ -558,13 +550,14 @@ animation."
558 (setq time-elapsed (+ time-elapsed 550 (setq time-elapsed (+ time-elapsed
559 (- (float-time) last-time)) 551 (- (float-time) last-time))
560 percentage (/ time-elapsed total-time)) 552 percentage (/ time-elapsed total-time))
561 (if (< delta 0) 553 (let ((throw-on-input nil))
562 (pixel-scroll-precision-scroll-down 554 (if (< delta 0)
563 (ceiling (abs (* (* delta factor) 555 (pixel-scroll-precision-scroll-down
564 (/ between-scroll total-time))))) 556 (ceiling (abs (* (* delta factor)
565 (pixel-scroll-precision-scroll-up 557 (/ between-scroll total-time)))))
566 (ceiling (* (* delta factor) 558 (pixel-scroll-precision-scroll-up
567 (/ between-scroll total-time))))) 559 (ceiling (* (* delta factor)
560 (/ between-scroll total-time))))))
568 (setq last-time (float-time))) 561 (setq last-time (float-time)))
569 (if (< percentage 1) 562 (if (< percentage 1)
570 (progn 563 (progn
@@ -723,8 +716,6 @@ precisely, according to the turning of the mouse wheel."
723 :group 'mouse 716 :group 'mouse
724 :keymap pixel-scroll-precision-mode-map 717 :keymap pixel-scroll-precision-mode-map
725 (setq mwheel-coalesce-scroll-events 718 (setq mwheel-coalesce-scroll-events
726 (not pixel-scroll-precision-mode)
727 make-cursor-line-fully-visible
728 (not pixel-scroll-precision-mode))) 719 (not pixel-scroll-precision-mode)))
729 720
730(provide 'pixel-scroll) 721(provide 'pixel-scroll)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 4f9506c98b9..72199b33a43 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -6,7 +6,7 @@
6;; Maintainer: João Távora <joaotavora@gmail.com> 6;; Maintainer: João Távora <joaotavora@gmail.com>
7;; Version: 1.2.1 7;; Version: 1.2.1
8;; Keywords: c languages tools 8;; Keywords: c languages tools
9;; Package-Requires: ((emacs "26.1") (eldoc "1.1.0") (project "0.7.1")) 9;; Package-Requires: ((emacs "28.1") (eldoc "1.1.0") (project "0.7.1"))
10 10
11;; This is a GNU ELPA :core package. Avoid functionality that is not 11;; This is a GNU ELPA :core package. Avoid functionality that is not
12;; compatible with the version of Emacs recorded above. 12;; compatible with the version of Emacs recorded above.
diff --git a/lisp/time.el b/lisp/time.el
index 4f302caa674..fcea064b4cf 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -526,11 +526,9 @@ If the value is t instead of an alist, use the value of
526 '((t :inherit font-lock-variable-name-face)) 526 '((t :inherit font-lock-variable-name-face))
527 "Face for time zone label in `world-clock' buffer.") 527 "Face for time zone label in `world-clock' buffer.")
528 528
529(defvar world-clock-mode-map 529(defvar-keymap world-clock-mode-map
530 (let ((map (make-sparse-keymap))) 530 "n" #'next-line
531 (define-key map "n" #'next-line) 531 "p" #'previous-line)
532 (define-key map "p" #'previous-line)
533 map))
534 532
535(define-derived-mode world-clock-mode special-mode "World clock" 533(define-derived-mode world-clock-mode special-mode "World clock"
536 "Major mode for buffer that displays times in various time zones. 534 "Major mode for buffer that displays times in various time zones.