1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

121237 Commits

Author SHA1 Message Date
Stefan Monnier
183952e518 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more. 2015-04-16 22:55:41 -04:00
Paul Eggert
a1216b5d99 ; Add missing "(tiny change)" 2015-04-16 17:59:59 -07:00
Paul Eggert
3f5a12a552 ; make change-history-commit 2015-04-16 17:59:58 -07:00
Glenn Morris
455f13b8c9 * admin/authors.el (authors-lax-changelogs): Update for erc changes. 2015-04-16 20:47:35 -04:00
Glenn Morris
13055fd086 ; Split lisp/erc ChangeLogs, for the sake of authors.el
This turns the old 0.1..0.8 files into ChangeLog.1,
and the old ChangeLog file into ChangeLog.2.
2015-04-16 20:46:14 -04:00
Eli Zaretskii
abba535271 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
* configure.ac (LIBJPEG): Leave it empty for MinGW.
2015-04-16 19:02:41 +03:00
Glenn Morris
3ab1784327 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
to avoid rogue setting after startup.
2015-04-16 08:32:38 -07:00
Dmitry Gutov
6f0b4d81b9 ; CONTRIBUTE: Further updates
* Better explanation of commit message vs ChangeLog distinction.

* Fix the name of the ChangeLog make task.

* Make instructions WRT NEWS, etc, ChangeLog entries clearer.

Fixes: debbugs:20328
2015-04-16 17:48:32 +03:00
Paul Eggert
c6e93df202 Pre-4.6 GCC succeeds with unknown option
* configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
Fixes: bug#20338
2015-04-16 00:14:42 -07:00
Paul Eggert
3074a9fad1 '[:graph:]' now excludes whitespace, not just ' '
* doc/lispref/searching.texi (Char Classes):
* lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
sans whitespace (not sans space).
* src/character.c (graphicp): Exclude all Unicode whitespace chars,
not just space.
* src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
2015-04-15 23:47:01 -07:00
Stefan Monnier
5161c9ca6a (looking-back): Make the second arg non-optional.
* lisp/subr.el (substitute-key-definition-key, special-form-p)
(macrop): Drop deprecated second arg to indirect-function.
(looking-back): Make the second arg non-optional.
2015-04-15 22:25:16 -04:00
Stefan Monnier
caea9a2385 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
command is actually sent to the shell.
2015-04-15 22:04:40 -04:00
Paul Eggert
5761a2ecb1 Port jpeg configuration to Solaris 10 with Sun C
* configure.ac: Check for jpeglib 6b by trying to link it, instead
of relying on cpp magic that has problems in practice.  Check for
both jpeglib.h and jerror.h features.  Remove special case for
mingw32, which should no longer be needed (and if it were needed,
should now be addressable by hotwiring emacs_cv_jpeglib).
Fixes: bug#20332
2015-04-15 18:30:46 -07:00
Stefan Monnier
c0c57f8b36 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
* lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
Move to elisp-mode.el.
(lisp-mode-variables): (Re)move elisp-specific settings.

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
from lisp-mode-variables.
(elisp--font-lock-flush-elisp-buffers): New function, moved from
lisp-mode.el.
2015-04-15 16:50:17 -04:00
Stefan Monnier
59fd76c178 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
Avoid pathological slowdown at top-level in large file.
2015-04-15 16:39:18 -04:00
Glenn Morris
17a8618dc7 ; Auto-commit of loaddefs files. 2015-04-15 15:20:20 -04:00
Paul Eggert
a8292e29dd Standardize names of ChangeLog history files
Suggested by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
* Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
* doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
* lisp/erc/ChangeLog.1: New file, containing the old contents of ...
* lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
* lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
* lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
Remove.
2015-04-15 10:59:11 -07:00
Paul Eggert
374a0262cd Split top-level entries into pre- and post-April 7
This more clearly distingiushes pre-April-7 ChangeLog entries (which
are for top-level files only) from post-April-7 entries (which are
about files at all levels.  Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
* ChangeLog.1: Move post-April-7 entries from here ...
* ChangeLog.2: ... to this new file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
2015-04-15 10:59:11 -07:00
Stefan Monnier
58376670d8 Fix recent cus-start changes that added customize-rogues
* lisp/cus-start.el (custom-delayed-init-variables): Initialize the
vars early.
* lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
2015-04-15 13:02:15 -04:00
Glenn Morris
d338998775 ; * etc/NEWS: Add missing system-type entry. 2015-04-15 12:43:37 -04:00
Nicolas Petton
a5dbb543cb Define cl-concatenate as an alias to seq-concatenate
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
  code by making cl-concatenate an alias to seq-concatenate.
2015-04-15 18:29:15 +02:00
Stefan Monnier
66ae3cff96 * src/lread.c (intern_1): Make sure we'd find the symbol we add
Fixes: debbugs:20334

* src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
2015-04-15 12:15:14 -04:00
Glenn Morris
cc4705f693 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous. 2015-04-15 09:11:15 -07:00
Lars Magne Ingebrigtsen
cb75e80b20 Clean up gnus-uu saving code slightly
* gnus-uu.el (gnus-uu-save-article): Make the
save-restriction/widen calls make more sense.
2015-04-15 15:28:20 +02:00
Paul Eggert
a122a0276b Make [:graph:] act like [:print:] sans space
In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
[:graph:] so that it matches everything that [:print:] does,
except for space.
* doc/lispref/searching.texi (Char Classes):
* etc/NEWS:
* lisp/emacs-lisp/rx.el (rx):
Document [:graph:] to be [:print:] sans ' '.
* src/character.c, src/character.h (graphicp): New function.
* src/regex.c (ISGRAPH) [emacs]: Use it.
(BIT_GRAPH): New macro.
(BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
(re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
Return BIT_GRAPH for RECC_GRAPH.
(re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
and ISPRINT if BIT_PRINT.
2015-04-15 00:27:18 -07:00
Stefan Monnier
45d75c0b75 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
Don't use call-next-method in a cl-defmethod.
2015-04-14 23:06:44 -04:00
Stefan Monnier
5de3427203 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
(eieio--class-p): Remove, provided by cl-defstruct.
2015-04-14 23:04:45 -04:00
Nicolas Petton
17d667b387 Add seq-intersection and seq-difference to the seq library
* lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
functions.

* test/automated/seq-tests.el: Add tests for seq-intersection and
seq-difference.

* doc/lispref/sequences.texi: Add documentation for seq-intersection
and seq-difference.
2015-04-15 01:55:03 +02:00
Dmitry Gutov
4191e54fc6 ; CONTRIBUTE: Update the "make the ChangeLog entry in their name" bit
Fixes: debbugs:20328
2015-04-15 02:21:55 +03:00
Dmitry Gutov
2b714275e3 ; CONTRIBUTE: Remove the "relax this rule for commit messages" bit
Fixes: debbugs:20328
2015-04-15 02:15:07 +03:00
Dmitry Gutov
93d4412046 ; Set indent-tabs-mode to nil in (most) Elisp sources
Fixes: bug#20323
2015-04-15 01:41:10 +03:00
Stefan Monnier
be13be3cd0 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals 2015-04-14 17:26:12 -04:00
Sam Steingold
e45dbdc386 package--ensure-init-file: widen requires save-restriction 2015-04-14 15:14:20 -04:00
Eli Zaretskii
95cee7f6a6 Improve the commit-msg Git hook for unibyte environments
* build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
in unibyte environments.  (Suggested by Paul Eggert
<eggert@cs.ucla.edu>.)  Use a more accurate approximation to
[:print:], based on UTF-8 sequences of the unprintable characters.
2015-04-14 21:57:23 +03:00
Eli Zaretskii
807a0e98f0 Describe problems with cursor caused by Windows Magnifier
* etc/PROBLEMS: Describe the problem with cursor shape on
MS-Windows due to Windows Magnifier.

Fixes: Bug#20271
2015-04-14 19:34:05 +03:00
Eli Zaretskii
6c284c6b58 Make [:print:] support non-ASCII characters correctly
* src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
(BIT_PRINT): New bit mask.
(re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
* src/character.c (printablep): New function.
* src/character.h (printablep): Add prototype.

* lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
of 'print', 'alnum', and 'alphabetic'.

* doc/lispref/searching.texi (Char Classes): Document the new
behavior of [:print:].

* etc/NEWS: Mention the new behavior of [:print:].
2015-04-14 18:47:04 +03:00
Eli Zaretskii
8802474a21 Assign correct general-category and names to surrogates
* admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
surrogates.  This avoids assigning them the default
general-category of 'Cn', i.e. unassigned codepoints.
(unidata-get-name): Give surrogates synthetic names.
2015-04-14 18:37:07 +03:00
Paul Eggert
b5919771ae Assume C89 offsetof in xterm.c, xlwmenu.c
* lwlib/xlwmenu.c (offset):
* src/xterm.c (cvt_string_to_pixel_args):
Use offsetof, not XtOffset.
2015-04-14 00:58:37 -07:00
Paul Eggert
96a858a442 Assume C89 offsetof in widget.c
* src/widget.c (XtOffset): Remove; no longer needed.
(offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
2015-04-14 00:53:35 -07:00
Paul Eggert
7744cc7e95 Fix think-o in previous patch
* src/window.c (count_windows, get_leaf_windows):
Don't optimize count_windows incorrectly.
2015-04-14 00:26:46 -07:00
Paul Eggert
b80c5ebc4f Avoid some int overflows in window.c
* src/print.c (print_object):
* src/window.c (sequence_number):
* src/window.h (struct window.sequence_number):
Don't assume window sequence number fits in int.
* src/window.c (window_select_count):
* src/window.h (struct window.use_time, window_select_count):
Don't assume window use time fits in int.
* src/window.c (Fsplit_window_internal):
Don't assume user-supplied integer, or sum, fits in int.
(Fset_window_configuration, count_windows, get_leaf_windows)
(save_window_save, Fcurrent_window_configuration):
Use ptrdiff_t for object counts.
(Fset_window_configuration): Omit unused local 'n'.
(count_windows): Simplify by writing in terms of get_leaf_windows.
(get_leaf_windows): Don't store through FLAT if it's null.
(extract_dimension): New static function.
(set_window_margins, set_window_fringes, set_window_scroll_bars):
Use it to avoid undefined behavior when converting user-supplied
integer to 'int'.
2015-04-13 23:26:59 -07:00
Glenn Morris
e84d1ca3c6 Minor doc copyedits
* doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.

* doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
2015-04-13 23:20:48 -07:00
Katsumi Yamaoka
d4b44a07a7 [Gnus] Catch the invalid-operation that idna.el will issue
* lisp/gnus/gnus-art.el (gnus-use-idna):
* lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
* lisp/gnus/message.el (message-use-idna):
Catch the invalid-operation that idna.el will issue.
2015-04-14 03:35:02 +00:00
Paul Eggert
b16cdc2782 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u. 2015-04-13 20:32:22 -07:00
Sam Steingold
845cb4a2ce package--ensure-init-file: widen before looking for "(package-initialize)" 2015-04-13 23:27:02 -04:00
Dmitry Gutov
a9ccfaefc1 Change diff-switches default to `-u'
Fixes: debbugs:20290

* doc/emacs/files.texi (Comparing Files): Document the new default
value of `diff-switches'.

* doc/emacs/trouble.texi (Sending Patches): Document the preference
for unified diff format.  Escape the plus in the suggested `-F' regexp
value.

* lisp/vc/diff.el (diff-switches): Change the default to `-u'.
2015-04-14 05:06:49 +03:00
Stefan Monnier
e192281baa (gnus-group--setup-tool-bar-update): Fix last change
* lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
cursor-sensor-functions should be a list of functions.
2015-04-13 21:30:27 -04:00
Katsumi Yamaoka
56dfd3de9c Use gmm-called-interactively-p in Gnus
* lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
2015-04-13 23:42:18 +00:00
Stefan Monnier
40d67a3b0b * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
Fixes: debbugs:20321

* lisp/cus-start.el (read-buffer-function): Don't advertize
iswitchb-read-buffer any more.
(iswitchb): Don't tweak this obsolete group any more.
2015-04-13 18:21:00 -04:00
Artur Malabarba
2bad549b95 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file 2015-04-13 20:51:14 +01:00