1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
Commit graph

120870 commits

Author SHA1 Message Date
Stefan Monnier
8fd527eb00 * lisp/emacs-lisp/cl|eieio: Minor tweaks
* lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.

* lisp/emacs-lisp/eieio.el (defclass): Change internal name so as to make
sure only EIEIO files should have "eieio--" prefixes in their .elc.
2015-03-26 13:32:45 -04:00
Boruch Baum
3e0fc97bef * lisp/bookmark.el (bookmark-show-all-annotations): Sort them
Fixes: debbugs:20177
2015-03-25 21:43:51 -04:00
Paul Eggert
124ea7763a Spelling fixes 2015-03-25 18:19:52 -07:00
Dmitry Gutov
58c86059c6 Only escape quotation mark, backslash and cntrl U+0000 to U+001F
* lisp/json.el (json-special-chars): Don't treat `/' specially, there's
no need to.
(json-encode-string): Only escape quotation mark, backslash and
the control characters U+0000 to U+001F.
2015-03-25 21:54:29 +02:00
Stefan Monnier
2b828866c2 * etc/TODO: Remove obsolete entries. 2015-03-25 14:28:25 -04:00
Artur Malabarba
eeb515715d emacs-lisp/checkdoc.el: Don't complain about args starting with _. 2015-03-25 17:48:38 +00:00
Stefan Monnier
7c4a0e3b46 * international/mule-cmds.el: Show chars in C-x 8 RET completions
* lisp/international/mule-cmds.el (mule--ucs-names-annotation): New func.
(read-char-by-name): Use it.
2015-03-25 13:45:34 -04:00
Stefan Monnier
599ca626d7 `save-excursion' does not save&restore the mark any more
* src/editfns.c (save_excursion_save): Don't save the mark.
(save_excursion_restore): Don't restore the mark.
(Fsave_excursion): Fix docstring accordingly.

* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/positions.texi (Excursions, Narrowing): `save-excursion' does
not save&restore the mark any more.
2015-03-25 09:47:12 -04:00
Stefan Monnier
76040ddd8a * lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. 2015-03-25 09:34:20 -04:00
Stefan Monnier
176d864cbf * lisp/erc/erc.el (erc-switch-to-buffer): Fix last change.
Fixes: debbugs:20187
2015-03-25 08:53:44 -04:00
Nicolas Petton
d46f31b4b2 * lisp/emacs-lisp/seq.el: Documentation improvements 2015-03-25 09:21:14 +01:00
Glenn Morris
dcac0090da * doc/misc/idlwave.texi: Fix typo in previous. 2015-03-24 23:32:40 -07:00
Glenn Morris
3227a05917 * doc/misc/newsticker.texi (Supported Formats): Remove dead url. 2015-03-24 23:29:34 -07:00
Glenn Morris
8294ea7ed6 * doc/misc/remember.texi (Function Reference): Copyedit. 2015-03-24 23:28:58 -07:00
Glenn Morris
f314d48159 browse-url: mark some of the more obsolete stuff as such
* lisp/net/browse-url.el (browse-url-browser-function)
(browse-url-default-browser):
Remove obsolete items from the explicit listing.
(browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
(browse-url-netscape-program, browse-url-netscape-arguments)
(browse-url-netscape-startup-arguments)
(browse-url-galeon-program, browse-url-galeon-arguments)
(browse-url-galeon-startup-arguments)
(browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
(browse-url-galeon-new-window-is-tab)
(browse-url-netscape-new-window-is-tab)
(browse-url-mosaic-program, browse-url-mosaic-arguments)
(browse-url-mosaic-pidfile, browse-url-CCI-port)
(browse-url-CCI-host, browse-url-netscape-version)
(browse-url-netscape, browse-url-netscape-sentinel)
(browse-url-netscape-reload, browse-url-netscape-send)
(browse-url-galeon, browse-url-galeon-sentinel)
(browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
(browse-url-w3-gnudoit): Make obsolete.

* etc/NEWS: Mention this.

* doc/misc/idlwave.texi (HTML Help Browser Tips): Remove obsolete info.

* lisp/ffap.el (ffap-url-fetcher): Simplify default and doc.

* lisp/x-dnd.el: Comment update.
2015-03-24 23:26:48 -07:00
Olaf Rogalsky
c2385c6f36 * lisp/xt-mouse.el: Add mouse-tracking support.
Fixes: debbugs:19416

* lisp/xt-mouse.el: Add mouse-tracking support.
(xterm-mouse-translate-1): Handle mouse-movement events.
(xterm-mouse--read-event-sequence-1000)
(xterm-mouse--read-event-sequence-1006): Delete functions.
(xterm-mouse--read-event-sequence): New function that handles both at
the same time.  Handle mouse-movements.
(xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
New functions.
(xterm-mouse-event): Simplify.
(xterm-mouse-tracking-enable-sequence)
(xterm-mouse-tracking-disable-sequence): Enable mouse tracking.

* lisp/mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
2015-03-24 21:04:00 -04:00
Eric Abrahamsen
b28753b55c lisp/gnus/nnimap.el: Don't split imap messages back into original group 2015-03-24 22:12:58 +00:00
Michael Albinus
9d70310b02 Extend Tramp tests
* automated/tramp-tests.el (tramp-test18-file-attributes)
(tramp--test-check-files): Extend tests.
(tramp-test31-utf8): Do not skip for tramp-adb.el.
2015-03-24 20:08:52 +01:00
Michael Albinus
444975fa54 Improve special char handling in Tramp
* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-do-file-attributes-with-stat): Quote file names in output.
(tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
2015-03-24 20:05:00 +01:00
Paul Eggert
711770da91 Fix minor ldexp issues
* doc/lispref/numbers.texi (Float Basics): Improve ldexp documentation.
* src/floatfns.c (Fldexp): Require 2 args.  Avoid undefined behavior
if the exponent is out of 'int' range.  Improve documentation.
Fixes: bug#20185
2015-03-24 11:43:21 -07:00
Glenn Morris
1e043f5e79 epg-tests.el: Standardize license notice. 2015-03-24 13:58:46 -04:00
Daniel Colascione
23a98c7a53 Make process-running-child-p return foreground process group ID
* etc/NEWS: Mention change to `process-running-child-p`.

* src/process.c (Fprocess_running_child_p): Return number identifier of
the foreground process group if we know it.
2015-03-24 10:23:24 -07:00
Daiki Ueno
71fdbd770b epg: Fix key generation interface
* epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
invocation; make the PARAMETERS documentation clearer.
2015-03-24 16:32:08 +09:00
Daiki Ueno
e5ce95fa4a Add tests for epg.el
* automated/epg-tests.el: New file.
* automated/data/epg/pubkey.asc: New file.
* automated/data/epg/seckey.asc: New file.
2015-03-24 14:47:54 +09:00
Stefan Monnier
d7d72624b2 Add cl-struct specific optimizations to pcase.
* lisp/emacs-lisp/cl-macs.el (cl--struct-all-parents)
(cl--pcase-mutually-exclusive-p): New functions.
(pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.

* lisp/emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
2015-03-23 23:40:06 -04:00
Stefan Monnier
ae277259b1 Add new cl-struct' and eieio' pcase patterns.
* lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
* lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
(eieio-pcase-slot-index-from-index-table): New functions.
(eieio): New pcase pattern.
* lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function.
(pcase): Use it to build the docstring.
(pcase-defmacro): Make sure the macro is lazy-loaded.
(\`): Move its docstring from `pcase'.
2015-03-23 18:24:30 -04:00
Eli Zaretskii
1b5c411e6a doc/misc/efaq-w32.texi: Fix comments about font dialog. 2015-03-23 19:55:23 +02:00
Paul Eggert
2393085c9a Merge from origin/emacs-24
ad89f85 Another minor improvement in ELisp manual  (Bug#20168)
5e2951b Improve docs of 'posn-actual-col-row'  (Bug#20169)
1291ce1 Minor documentation fix in ELisp manual  (Bug#20174)
33e2236 * display.texi (Useless Whitespace): Fix thinko.
ff3878d * configure.ac: Fix jpeg version check to work with gcc >= 5.
90b46f5 Work for the case nnmail-expiry-target is an nnmh group (bug#20170)
e7f92aa authors.el small additions
0bfe915 * etc/PROBLEMS: Add entry about dir-locals and some auto-mounters.
c3c4b75 Fixes: debbugs:18939

Conflicts:
	ChangeLog
	doc/lispref/ChangeLog
	etc/PROBLEMS
	lisp/ChangeLog
	lisp/gnus/ChangeLog
	lisp/simple.el
2015-03-23 10:30:33 -07:00
Paul Eggert
7f55d42518 Merge from origin/emacs-24
The following commit was skipped:

a4ff05a ChangeLog fix No need to merge to trunk, since it corrects a backported entry that should not appear in trunk.
2015-03-23 10:17:43 -07:00
Paul Eggert
a660037698 Merge from origin/emacs-24
bb7b23c In `debug' don't try using window on inaccessible frame (Bug#17170).

Conflicts:
	lisp/ChangeLog
2015-03-23 10:17:21 -07:00
Paul Eggert
821b600212 Merge from origin/emacs-24
The following commit was skipped:

ae3d733 Backport 20156 fix (stack corruption)
2015-03-23 10:16:40 -07:00
Paul Eggert
325c554303 Merge from origin/emacs-24
e72edc0 Fix lisp/ChangeLog entry from last commit.

Conflicts:
	lisp/ChangeLog
2015-03-23 10:15:22 -07:00
Paul Eggert
bfed046df1 Merge from origin/emacs-24
The following commits were skipped:

17ad6f8 Fix problems caused by calling 'recenter' in auto-revert  (Bug#20122)
1c4900d Backport: ruby-mode: Detect regexps after `!'
f74843a Backport: ruby-mode: Change faces used for self, true, false and nil
a5d1f94 Backport: ruby-mode: Expect regexp after { or | too
2015-03-23 10:14:01 -07:00
Eli Zaretskii
ad89f85067 Another minor improvement in ELisp manual (Bug#20168)
doc/lispref/commands.texi (Accessing Mouse): More accurate description
 of 'posn-object-x-y'.
2015-03-23 18:39:38 +02:00
Eli Zaretskii
5e2951be4a Improve docs of 'posn-actual-col-row' (Bug#20169)
doc/lispref/commands.texi (Accessing Mouse): Expand documentation of
 'posn-actual-col-row'.
2015-03-23 18:35:03 +02:00
Eli Zaretskii
1291ce180e Minor documentation fix in ELisp manual (Bug#20174)
doc/lispref/commands.texi (Event Input Misc): Fix incorrect usage of @code.
2015-03-23 18:23:47 +02:00
Dmitry Gutov
a50c95dbd2 Get rid of json-decode-char0 as well
Fixes: debbugs:20154

* lisp/json.el (json-decode-char0): Delete this alias as well.
(json-read-escaped-char): Don't call it.
2015-03-23 18:00:39 +02:00
Paul Eggert
24960fc72c Minor refactoring of new Fmake_process code
* process.c (Fmake_process): Refactor to avoid call to Flength, to
avoid cast to 'char **', and to reduce indenting and reuse of locals.
2015-03-23 08:57:34 -07:00
Stefan Monnier
33e2236f8f * display.texi (Useless Whitespace): Fix thinko.
Reported by Fabio Pesari.
2015-03-23 09:12:52 -04:00
Andreas Schwab
ff3878d749 * configure.ac: Fix jpeg version check to work with gcc >= 5. 2015-03-23 12:08:41 +01:00
Daniel Colascione
bad7308e0c Fix previous commit (again) 2015-03-23 01:54:42 -07:00
Daniel Colascione
b8d7d7e8e6 Fix previous commit 2015-03-23 01:42:56 -07:00
Daniel Colascione
d235b1d261 Try to avoid fontifying macros in funcall position
* lisp/emacs-lisp/lisp-mode.el
(lisp--el-non-funcall-position-p): New function.
(lisp--el-match-keyword): Use it.
2015-03-23 01:38:20 -07:00
Ben Bacarisse
90b46f5b54 lisp/gnus/nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170) 2015-03-23 08:02:01 +00:00
Daiki Ueno
47e0e31932 Generalize start-process with keyword args
* src/process.c (Fmake_process): New function.
(create_process, create_pty): Check p->pty_flag instead of
Vprocess_connection_type.
(syms_of_process): Register QCcommand, QCconnection_type, Qpty,
Qpipe, and Smake_process.  Unregister Sstart_process.

* lisp/subr.el (start-process): New function, ported from the C
implementation.

* doc/lispref/processes.texi (Asynchronous Processes): Mention
`make-process'.

* etc/NEWS: Mention `make-process'.
2015-03-23 16:27:29 +09:00
Daniel Colascione
165bea7800 Automatically adjust process window sizes
* lisp/window.el (window-adjust-process-window-size-function): New
customizable variable.
(window-adjust-process-window-size)
(window-adjust-process-window-size-smallest)
(window-adjust-process-window-size-largest)
(window--process-window-list, window--adjust-process-windows):
New functions.
(window-configuration-change-hook): Add
`window--adjust-process-windows'.
* lisp/term.el (term-mode): Observe result of
`window-adjust-process-window-size-function'.
(term-check-size): Delete.
2015-03-22 21:09:32 -07:00
Jackson Ray Hamilton
f4c23f4583 Have `sgml-attribute-offset' control SGML attribute indentation
Fixes: debbugs:20161

* textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
(sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
indentation.
2015-03-22 20:47:43 -07:00
Glenn Morris
e7f92aa3d3 authors.el small additions
* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-obsolete-files-regexps): Additions.
2015-03-22 17:33:49 -07:00
Glenn Morris
0bfe915be7 * etc/PROBLEMS: Add entry about dir-locals and some auto-mounters. 2015-03-22 17:10:10 -07:00
Glenn Morris
70a8bbe443 json-tests.el: Fix copyright 2015-03-22 16:50:00 -07:00