mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
Merge from origin/emacs-27
f3d30b5303
Remove some doc references to old Emacs versions4217bc229b
Fix infloop in shell.el74b151195d
Fix erc-notifications-notify for non-PRIVMSGs, broken in l...db4436eaf9
Fix the notification action for PRIVMSG in erc-notificatio...36a4068105
ERC: New maintainer.2391d3f45d
; spelling fixese898442be3
Honor tags-case-fold-search during xref identifer completion # Conflicts: # etc/NEWS
This commit is contained in:
commit
519de2f88e
@ -126,6 +126,11 @@ Ulf Jasper
|
||||
lisp/calendar/icalendar.el
|
||||
test/lisp/calendar/icalendar-tests.el
|
||||
|
||||
Amin Bandali
|
||||
ERC
|
||||
lisp/erc/*
|
||||
doc/misc/erc.texi
|
||||
|
||||
==============================================================================
|
||||
2. Areas that someone is willing to maintain, although he would not
|
||||
necessarily mind if someone else was the official maintainer.
|
||||
@ -248,6 +253,11 @@ Alan Third
|
||||
lisp/term/ns-win.el
|
||||
doc/emacs/macos.texi
|
||||
|
||||
Amin Bandali
|
||||
Eshell
|
||||
lisp/eshell/*
|
||||
doc/misc/eshell.texi
|
||||
|
||||
|
||||
;;; Local Variables:
|
||||
;;; coding: utf-8
|
||||
|
@ -93,7 +93,7 @@ The optional display of the fill-column indicator is no longer
|
||||
supported. With the display sizes becoming smaller and smaller as you
|
||||
move back in time, we feel that the display itself will always show
|
||||
you where to fill or wrap your text, and do this much more easily and
|
||||
reliably than eny such display indicator.
|
||||
reliably than any such display indicator.
|
||||
|
||||
@item
|
||||
We removed the features that made visiting large files easier. Thus,
|
||||
|
@ -1416,7 +1416,7 @@ other words, if a module function wants to call Lisp functions or
|
||||
Emacs primitives, convert @code{emacs_value} objects to and from C
|
||||
datatypes (@pxref{Module Values}), or interact with Emacs in any other
|
||||
way, some call from Emacs to @code{emacs_module_init} or to a module
|
||||
function must be in the callstack. Module function may not interact
|
||||
function must be in the call stack. Module function may not interact
|
||||
with Emacs while garbage collection is running; @pxref{Garbage
|
||||
Collection}. They may only interact with Emacs from Lisp interpreter
|
||||
threads (including the main thread) created by Emacs; @pxref{Threads}.
|
||||
|
@ -135,7 +135,7 @@ non-@code{nil} value, it returns that value; otherwise it returns
|
||||
@node Setting Hooks
|
||||
@subsection Setting Hooks
|
||||
|
||||
Here's an example that adds a funtion to a mode hook to turn
|
||||
Here's an example that adds a function to a mode hook to turn
|
||||
on Auto Fill mode when in Lisp Interaction mode:
|
||||
|
||||
@example
|
||||
|
@ -1440,7 +1440,6 @@ of files from Macintosh, Microsoft, and Unix platforms.
|
||||
* Compiler error messages::
|
||||
* Indenting switch statements::
|
||||
* Customizing C and C++ indentation::
|
||||
* Horizontal scrolling::
|
||||
* Overwrite mode::
|
||||
* Turning off beeping::
|
||||
* Turning the volume down::
|
||||
@ -2123,23 +2122,6 @@ Java sources, etc. If you want the same customizations to be in
|
||||
effect in @emph{all} languages supported by @code{cc-mode}, use
|
||||
@code{c-mode-common-hook}.
|
||||
|
||||
@node Horizontal scrolling
|
||||
@section How can I make Emacs automatically scroll horizontally?
|
||||
@cindex @code{hscroll-mode}
|
||||
@cindex Horizontal scrolling
|
||||
@cindex Scrolling horizontally
|
||||
|
||||
In Emacs 21 and later, this is on by default: if the variable
|
||||
@code{truncate-lines} is non-@code{nil} in the current buffer, Emacs
|
||||
automatically scrolls the display horizontally when point moves off the
|
||||
left or right edge of the window.
|
||||
|
||||
Note that this is overridden by the variable
|
||||
@code{truncate-partial-width-windows} if that variable is non-@code{nil}
|
||||
and the current buffer is not full-frame width.
|
||||
|
||||
In Emacs 20, use @code{hscroll-mode}.
|
||||
|
||||
@node Overwrite mode
|
||||
@section How do I make Emacs ``typeover'' or ``overwrite'' instead of inserting?
|
||||
@cindex @key{Insert}
|
||||
@ -2305,9 +2287,9 @@ to investigate @file{cpp.el}, which is distributed with Emacs.
|
||||
@cindex Commands, repeating many times
|
||||
@cindex @code{.}, equivalent to @code{vi} command
|
||||
|
||||
As of Emacs 20.3, there is indeed a @code{repeat} command (@kbd{C-x z})
|
||||
that repeats the last command. If you preface it with a prefix
|
||||
argument, the prefix arg is applied to the command.
|
||||
Use the @code{repeat} command (@kbd{C-x z}) to repeat the last
|
||||
command. If you preface it with a prefix argument, the prefix arg is
|
||||
applied to the command.
|
||||
|
||||
You can also type @kbd{C-x @key{ESC} @key{ESC}}
|
||||
(@code{repeat-complex-command}) to reinvoke commands that used the
|
||||
@ -2820,9 +2802,9 @@ Alternatively, use the following Lisp form in your @file{.emacs}:
|
||||
@cindex Microsoft files, editing
|
||||
@cindex Windows files, editing
|
||||
|
||||
As of Emacs 20, detection and handling of MS-DOS (and Windows) files is
|
||||
performed transparently. You can open MS-DOS files on a Unix system,
|
||||
edit it, and save it without having to worry about the file format.
|
||||
Detection and handling of MS-DOS (and Windows) files is performed
|
||||
transparently. You can open MS-DOS files on a Unix system, edit it,
|
||||
and save it without having to worry about the file format.
|
||||
|
||||
When editing an MS-DOS style file, the mode line will indicate that it
|
||||
is a DOS file. On Unix and GNU/Linux systems, and also on a Macintosh,
|
||||
|
@ -697,7 +697,7 @@ current and the previous or the next line, as before.
|
||||
|
||||
+++
|
||||
** You can now change the font size with the mouse wheel.
|
||||
Scroling the mouse wheel with the Ctrl key pressed will now act the
|
||||
Scrolling the mouse wheel with the Ctrl key pressed will now act the
|
||||
same as the 'C-x C-+' and 'C-x C--' commands.
|
||||
|
||||
|
||||
@ -1458,6 +1458,10 @@ A new command 'xref-revert-buffer' is bound to 'g'.
|
||||
---
|
||||
*** Imenu support has been added to 'xref--xref-buffer-mode'.
|
||||
|
||||
*** New generic method 'xref-backend-identifier-completion-ignore-case'.
|
||||
Using it, the etags backend now honors 'tags-case-fold-search' during
|
||||
identifier completion.
|
||||
|
||||
** Checkdoc
|
||||
|
||||
---
|
||||
|
@ -273,7 +273,7 @@ Return (REGEXP . PRECEDENCE)."
|
||||
;; (or (+ digit) "CHARLIE" "CHAN" (+ blank))
|
||||
;; -> (or (+ digit) (or "CHARLIE" "CHAN") (+ blank))
|
||||
;;
|
||||
;; - Optimise single-character alternatives better:
|
||||
;; - Optimize single-character alternatives better:
|
||||
;; * classes: space, alpha, ...
|
||||
;; * (syntax S), for some S (whitespace, word)
|
||||
;; so that (or "@" "%" digit (any "A-Z" space) (syntax word))
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jorgen Schaefer <forcer@forcix.cx>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcAutoAway
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
;; Filename: erc-backend.el
|
||||
;; Author: Lawrence Mitchell <wence@gmx.li>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Created: 2004-05-7
|
||||
;; Keywords: IRC chat client internet
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 1996-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: irc, button, url, regexp
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcButton
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
;; Copyright (C) 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2003, 2005-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Alex Schroeder <alex@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki/ERC
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -6,7 +6,7 @@
|
||||
;; Author: Ben A. Mesander <ben@gnu.ai.mit.edu>
|
||||
;; Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
;; Per Persson <pp@sno.pp.se>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, processes
|
||||
;; Created: 1994-01-23
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Julien Danjou <julien@danjou.info>
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
@ -54,12 +55,14 @@
|
||||
|
||||
(defvar dbus-debug) ; used in the macroexpansion of dbus-ignore-errors
|
||||
|
||||
(defun erc-notifications-notify (nick msg)
|
||||
"Notify that NICK send some MSG.
|
||||
(defun erc-notifications-notify (nick msg &optional privp)
|
||||
"Notify that NICK send some MSG, where PRIVP should be non-nil for PRIVMSGs.
|
||||
This will replace the last notification sent with this function."
|
||||
;; TODO: can we do this without PRIVP? (by "fixing" ERC's not
|
||||
;; setting the current buffer to the existing query buffer)
|
||||
(dbus-ignore-errors
|
||||
(setq erc-notifications-last-notification
|
||||
(let ((channel (current-buffer)))
|
||||
(let ((channel (if privp (erc-get-buffer nick) (current-buffer))))
|
||||
(notifications-notify :bus erc-notifications-bus
|
||||
:title (format "%s in %s"
|
||||
(xml-escape-string nick)
|
||||
@ -79,7 +82,7 @@ This will replace the last notification sent with this function."
|
||||
(not (and (boundp 'erc-track-exclude)
|
||||
(member nick erc-track-exclude)))
|
||||
(not (erc-is-message-ctcp-and-not-action-p msg)))
|
||||
(erc-notifications-notify nick msg)))
|
||||
(erc-notifications-notify nick msg t)))
|
||||
;; Return nil to continue processing by ERC
|
||||
nil)
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002, 2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Andreas Fuchs <asf@void.at>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
;; Author: Andreas Fuchs <asf@void.at>
|
||||
;; Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcFilling
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jorgen Schaefer <forcer@forcix.cx>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
;; Most code is taken verbatim from erc.el, see there for the original
|
||||
;; authors.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002, 2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcIbuffer
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2003, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: John Wiegley <johnw@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, processes
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -4,7 +4,7 @@
|
||||
;; Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcImenu
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Alex Schroeder <alex@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: irc
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcAutoJoin
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002, 2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Alex Schroeder <alex@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Old-Version: 1.0.0
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcLang
|
||||
;; Keywords: comm languages processes
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Tom Tromey <tromey@redhat.com>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Old-Version: 0.1
|
||||
;; Keywords: comm
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2003-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Lawrence Mitchell <wence@gmx.li>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: IRC, chat, client, Internet, logging
|
||||
|
||||
;; Created 2003-04-26
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Andreas Fuchs <asf@void.at>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, faces
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcMatch
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2001-2002, 2004-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, processes, menu
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002, 2004-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@lexx.delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@lexx.delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
;; Copyright (C) 2002, 2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Sacha Chua <sacha@free.net.ph>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, convenience
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcCompletion
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
;; Inc.
|
||||
|
||||
;; Author: Andreas Fuchs <asf@void.at>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: IRC, client, Internet
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2001-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Alex Schroeder <alex@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcHistory
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
;; Copyright (C) 2002-2003, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Contributor: Eric M. Ludlam <zappo@gnu.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2005-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jorgen Schaefer <forcer@forcix.cx>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: irc
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcSpelling
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, processes, timestamp
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcStamp
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, faces
|
||||
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcChannelTracking
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2003-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Andreas Fuchs <asf@void.at>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: IRC, chat, client, Internet, logging
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3,7 +3,7 @@
|
||||
;; Copyright (C) 2003-2004, 2006-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Mario Lang <mlang@delysid.org>
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: comm, processes
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -10,7 +10,7 @@
|
||||
;; Gergely Nagy (algernon@midgard.debian.net)
|
||||
;; David Edmondson (dme@dme.org)
|
||||
;; Kelvin White (kwhite@gnu.org)
|
||||
;; Maintainer: emacs-devel@gnu.org
|
||||
;; Maintainer: Amin Bandali <mab@gnu.org>
|
||||
;; Keywords: IRC, chat, client, Internet
|
||||
|
||||
;; Version: 5.3
|
||||
|
@ -2821,7 +2821,7 @@ See Info node `(gnus)Formatting Variables'."
|
||||
(:constructor gnus-info-make
|
||||
(group rank read &optional marks method params))
|
||||
(:constructor nil)
|
||||
;; FIMXE: gnus-newsrc-alist contains a list of those,
|
||||
;; FIXME: gnus-newsrc-alist contains a list of those,
|
||||
;; so changing them to a real struct will take more work!
|
||||
(:type list))
|
||||
group rank read marks method params)
|
||||
|
@ -391,7 +391,7 @@ SUBJECT is a regular expression."
|
||||
(defun rmail-summary-by-senders (senders)
|
||||
"Display a summary of all messages whose \"From\" field matches SENDERS.
|
||||
SENDERS is a regular expression. The default for SENDERS matches the
|
||||
sender of the current messsage."
|
||||
sender of the current message."
|
||||
(interactive
|
||||
(let* ((def (rmail-get-header "From"))
|
||||
;; We quote the default argument, because if it contains regexp
|
||||
|
@ -60,7 +60,8 @@ Any other value means use the setting of `case-fold-search'."
|
||||
:type '(choice (const :tag "Case-sensitive" nil)
|
||||
(const :tag "Case-insensitive" t)
|
||||
(other :tag "Use default" default))
|
||||
:version "21.1")
|
||||
:version "21.1"
|
||||
:safe 'symbolp)
|
||||
|
||||
;;;###autoload
|
||||
;; Use `visit-tags-table-buffer' to cycle through tags tables in this list.
|
||||
@ -819,9 +820,7 @@ tags table for BUF and its (recursively) included tags tables."
|
||||
"Using tags, return a completion table for the text around point.
|
||||
If no tags table is loaded, do nothing and return nil."
|
||||
(when (or tags-table-list tags-file-name)
|
||||
(let ((completion-ignore-case (if (memq tags-case-fold-search '(t nil))
|
||||
tags-case-fold-search
|
||||
case-fold-search))
|
||||
(let ((completion-ignore-case (find-tag--completion-ignore-case))
|
||||
(pattern (find-tag--default))
|
||||
beg)
|
||||
(when pattern
|
||||
@ -836,9 +835,7 @@ If no tags table is loaded, do nothing and return nil."
|
||||
|
||||
(defun find-tag-tag (string)
|
||||
"Read a tag name, with defaulting and completion."
|
||||
(let* ((completion-ignore-case (if (memq tags-case-fold-search '(t nil))
|
||||
tags-case-fold-search
|
||||
case-fold-search))
|
||||
(let* ((completion-ignore-case (find-tag--completion-ignore-case))
|
||||
(default (find-tag--default))
|
||||
(spec (completing-read (if default
|
||||
(format "%s (default %s): "
|
||||
@ -851,6 +848,11 @@ If no tags table is loaded, do nothing and return nil."
|
||||
(or default (user-error "There is no default tag"))
|
||||
spec)))
|
||||
|
||||
(defun find-tag--completion-ignore-case ()
|
||||
(if (memq tags-case-fold-search '(t nil))
|
||||
tags-case-fold-search
|
||||
case-fold-search))
|
||||
|
||||
(defun find-tag--default ()
|
||||
(funcall (or find-tag-default-function
|
||||
(get major-mode 'find-tag-default-function)
|
||||
@ -2072,6 +2074,9 @@ file name, add `tag-partial-file-name-match-p' to the list value.")
|
||||
(cl-defmethod xref-backend-identifier-completion-table ((_backend (eql etags)))
|
||||
(tags-lazy-completion-table))
|
||||
|
||||
(cl-defmethod xref-backend-identifier-completion-ignore-case ((_backend (eql etags)))
|
||||
(find-tag--completion-ignore-case))
|
||||
|
||||
(cl-defmethod xref-backend-definitions ((_backend (eql etags)) symbol)
|
||||
(etags--xref-find-definitions symbol))
|
||||
|
||||
@ -2086,9 +2091,7 @@ file name, add `tag-partial-file-name-match-p' to the list value.")
|
||||
(first-time t)
|
||||
(search-fun (if regexp? #'re-search-forward #'search-forward))
|
||||
(marks (make-hash-table :test 'equal))
|
||||
(case-fold-search (if (memq tags-case-fold-search '(nil t))
|
||||
tags-case-fold-search
|
||||
case-fold-search))
|
||||
(case-fold-search (find-tag--completion-ignore-case))
|
||||
(cbuf (current-buffer)))
|
||||
(save-excursion
|
||||
(while (visit-tags-table-buffer (not first-time) cbuf)
|
||||
|
@ -37,7 +37,7 @@
|
||||
;; buffers which control the execution and describe the state of your program.
|
||||
;; It separates the input/output of your program from that of GDB and displays
|
||||
;; expressions and their current values in their own buffers. It also uses
|
||||
;; features of Emacs 21 such as the fringe/display margin for breakpoints, and
|
||||
;; features such as the fringe/display margin for breakpoints, and
|
||||
;; the toolbar (see the GDB Graphical Interface section in the Emacs info
|
||||
;; manual).
|
||||
|
||||
|
@ -287,6 +287,10 @@ recognize and then delegate the work to an external process."
|
||||
(cl-defgeneric xref-backend-identifier-completion-table (backend)
|
||||
"Return the completion table for identifiers.")
|
||||
|
||||
(cl-defgeneric xref-backend-identifier-completion-ignore-case (_backend)
|
||||
"Return t if case is not significant in identifier completion."
|
||||
completion-ignore-case)
|
||||
|
||||
|
||||
;;; misc utilities
|
||||
(defun xref--alistify (list key test)
|
||||
@ -967,7 +971,9 @@ Accepts the same arguments as `xref-show-xrefs-function'."
|
||||
(defun xref--read-identifier (prompt)
|
||||
"Return the identifier at point or read it from the minibuffer."
|
||||
(let* ((backend (xref-find-backend))
|
||||
(def (xref-backend-identifier-at-point backend)))
|
||||
(def (xref-backend-identifier-at-point backend))
|
||||
(completion-ignore-case
|
||||
(xref-backend-identifier-completion-ignore-case backend)))
|
||||
(cond ((or current-prefix-arg
|
||||
(not def)
|
||||
(xref--prompt-p this-command))
|
||||
|
@ -428,7 +428,7 @@ Thus, this does not include the shell's current directory.")
|
||||
(save-excursion
|
||||
(goto-char begin)
|
||||
(while (< (point) end)
|
||||
(skip-chars-forward " \t\n")
|
||||
(skip-chars-forward " \t\n;")
|
||||
(push (point) begins)
|
||||
(let ((arg ()))
|
||||
(while (looking-at
|
||||
|
@ -2024,7 +2024,7 @@ quit spell session exited."
|
||||
(setq ispell-filter (cdr ispell-filter))
|
||||
(when (and ispell-filter (listp ispell-filter))
|
||||
(if (> (length ispell-filter) 1)
|
||||
(error "Ispell and its processs have different character maps: %s" ispell-filter)
|
||||
(error "Ispell and its process have different character maps: %s" ispell-filter)
|
||||
(ispell-parse-output (car ispell-filter)))))
|
||||
|
||||
(defun ispell-error-checking-word (word)
|
||||
|
@ -138,7 +138,7 @@
|
||||
;; Customization, Hooks and Imenu
|
||||
;; ==============================
|
||||
|
||||
;; WoMan supports the GNU Emacs 20+ customization facility, and puts
|
||||
;; WoMan supports the GNU Emacs customization facility, and puts
|
||||
;; a customization group called `WoMan' in the `Help' group under the
|
||||
;; top-level `Emacs' group. In order to be able to customize WoMan
|
||||
;; without first loading it, add the following sexp to your .emacs:
|
||||
|
@ -34,8 +34,7 @@
|
||||
(with-temp-buffer
|
||||
(shell-mode)
|
||||
(insert "cd ba;")
|
||||
(forward-char -1)
|
||||
(should (equal (shell--parse-pcomplete-arguments)
|
||||
'(("cd" "ba") 1 4)))))
|
||||
'(("cd" "ba" "") 1 4)))))
|
||||
|
||||
;;; shell-tests.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user