1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

121771 commits

Author SHA1 Message Date
Nicolas Petton
cd22663b85 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring. 2015-06-06 01:26:25 +02:00
Nicolas Petton
431fca48a8 ; * lisp/emacs-lisp/map.el: Fix formatting. 2015-06-06 01:26:25 +02:00
Nicolas Petton
8fe836abbd Fix a byte-compiler error in map-put and map-delete
* lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
called with a symbol.
2015-06-06 01:26:25 +02:00
Glenn Morris
5977a07d94 * admin/gitmerge.el (gitmerge-commit-message):
Revert to including "skipped" messages in ChangeLog once again.
2015-06-05 18:10:07 -04:00
Tassilo Horn
9533ed8d05 Use string> instead of equiv lambda with string<
* lisp/help.el (view-emacs-news): Use string> instead of equivalent
lambda with string<.
2015-06-05 23:58:39 +02:00
Glenn Morris
b0eb66823f * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
(map--delete-array): Fix typo.
2015-06-05 16:30:39 -04:00
Glenn Morris
45fbcfe37d * test/automated/map-tests.el: Replace "assert" with "should". 2015-06-05 16:29:41 -04:00
Glenn Morris
18942259ce * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
(SUBDIRS_REL): Derive from SUBDIRS.
2015-06-05 16:12:44 -04:00
Glenn Morris
1805ce763e Tweak some build messages.
* lisp/Makefile.in ($(lisp)/loaddefs.el):
* lisp/cus-dep.el (custom-make-dependencies):
* lisp/finder.el (finder-compile-keywords): Say what we are doing.
* lisp/international/titdic-cnv.el (batch-titdic-convert):
Don't say how to compile.
2015-06-05 16:10:18 -04:00
Eli Zaretskii
34ad02767b ; etc/DEBUG copedits
* etc/DEBUG: Improve the section on debugging redisplay issues.
Also other minor copyedits.
2015-06-05 13:45:02 +03:00
Paul Eggert
58eeddf56b Omit U+0332 COMBINING LOW LINE in previous change
It turns out that it does not work on Ubuntu 15.04.
2015-06-05 00:04:53 -07:00
Paul Eggert
8453c73295 Fix transliteration of Bahá'í months
* lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
Improve quality of Latin transliteration of Bahá'í month names.
2015-06-04 23:54:49 -07:00
Paul Eggert
1ba0149572 Fix curved quotes in a few places
* lisp/calc/calc-misc.el (calc-help): Fix quoting.
The strings in question are not doc strings, so this partially
undoes the recent change that assumed they were doc strings.
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/info.el (Info-finder-find-node):
Use curved quotes.
* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
Also allow curved quotes in doc strings.
2015-06-04 23:54:49 -07:00
Glenn Morris
8fb6253c00 * lisp/Makefile.in (AM_V_at): Add missing definition. 2015-06-04 21:19:22 -04:00
Glenn Morris
76f896dd1b * lisp/Makefile.in: Quieten output a bit.
($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
Don't echo directories, since the commands we invoke print them.
2015-06-04 21:16:23 -04:00
Glenn Morris
0382a93465 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
(SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
(SUBDIRS_SUBDIRS): New variables.
(setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
Remove.
($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
(update-subdirs, compile-main, compile-clean):
Replace "setwins" usage with new "SUBDIRS" variables.
2015-06-04 21:02:26 -04:00
Glenn Morris
09cefee10c * lisp/vc/compare-w.el (compare-windows-get-window-function):
Fix :version tag.
2015-06-04 20:47:05 -04:00
YAMAMOTO Mitsuharu
7c9a2ef845 * src/ftfont.c (ftfont_open2): Round divisions by upEM. 2015-06-05 09:44:40 +09:00
YAMAMOTO Mitsuharu
dcf18b5c84 Undo removal of x_clear_area call on expose for GTK3 or cairo.
* src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
exposed area.  (Bug#20677)
2015-06-05 09:41:40 +09:00
Glenn Morris
ddaef07eca * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash. 2015-06-04 19:27:05 -04:00
Glenn Morris
cc88cb8ac4 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot. 2015-06-04 19:26:32 -04:00
Glenn Morris
058ecce357 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
Rename from quail-lao-update-translation, since lao.el defines that.
2015-06-04 19:25:48 -04:00
Dmitry Gutov
f6fc446d93 Handle new-style advice in find-funct
* lisp/emacs-lisp/find-func.el (find-function-advised-original):
Handle new-style advice.  Return the symbol's function definition.
(Bug#20718)
(find-function-library): Update accordingly.
2015-06-05 01:34:40 +03:00
Nicolas Petton
d4aca72ead Merge branch 'map' 2015-06-04 22:30:29 +02:00
Nicolas Petton
cfb35800a8 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro. 2015-06-04 22:26:22 +02:00
Nicolas Petton
015c89a912 ; * etc/NEWS: Add string-greaterp 2015-06-04 18:31:49 +02:00
Nicolas Petton
41a929c5ae Add new function string-greaterp
* lisp/subr.el (string-greaterp): New function.  Also aliased to
`string>'.
* test/automated/subr-tests.el (string-comparison-test): Add unit
tests for `string>'and `string<'.
* src/fns.c (string-lessp): Better docstring.
2015-06-04 18:27:54 +02:00
Eli Zaretskii
285260fce8 Fix timezone-related functions on MS-Windows
* src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
'xputenv', even if no reallocation of tzvalbuf was necessary.
This fixes a bug in timezone-related functions on MS-Windows.
Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
2015-06-04 18:28:29 +03:00
Paul Eggert
adc7d9e89c Don't pass raw directory name to 'error'
* lisp/files.el (basic-save-buffer-2): Avoid format error if
a directory name contains a string like "%s".
2015-06-03 17:19:19 -07:00
Dmitry Gutov
6d020ecd89 Override 'grep --color=always'
* lisp/progmodes/xref.el (xref-collect-matches):
Override --color=always in grep-find-template.
2015-06-04 02:46:43 +03:00
Michael Albinus
0c182b332d Fix error introduced recently in file-notify-tests.el
* test/automated/file-notify-tests.el
(file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
(file-notify--deftest-remote): Revert previous patch, not
necessary anymore.
2015-06-03 20:03:42 +02:00
Wolfgang Jenkner
68529c89fa * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
Starting from a display string after a newline, point went to the
previous line.  Also, fix an inadvertent use of a buffer position
with FETCH_BYTE.  (Bug#20701)
2015-06-03 15:29:24 +02:00
Michael Albinus
a62306bbcb Instrument file-notify-test.el in order to catch hydra error.
* test/automated/file-notify-tests.el (file-notify--deftest-remote):
Wrap body by `ignore-case', in order to trap non-local errors.
2015-06-03 14:07:06 +02:00
YAMAMOTO Mitsuharu
e6d8f70057 Undo previous changes in non-toolkit scroll bar drawing.
* src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
[!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window.  (Bug#20668)
2015-06-03 15:22:56 +09:00
Paul Eggert
9204b0c622 * .gitignore: Also ignore doc/*/*/*.html and .ps. 2015-06-02 22:52:44 -07:00
Paul Eggert
8e06d22bb6 Support quotes 'like this' in info files
This is possible when 'makeinfo --disable-encoding' is used
in Texinfo 5.
* lisp/calc/calc-help.el (calc-describe-thing):
* lisp/gnus/gnus-art.el (gnus-button-alist):
* lisp/info.el (Info-find-index-name):
* lisp/vc/ediff-help.el (ediff-help-for-quick-help):
Also support quotes 'like this'.
* lisp/calc/calc-help.el (calc-describe-thing): Simplify.
* lisp/finder.el (finder-font-lock-keywords): Remove var that
hasn't been used in years, instead of bothering to fix its quoting.
2015-06-02 22:52:44 -07:00
Paul Eggert
f2211e51b7 * .gitignore: Remove !test/etags/html-src/*.html.
It's no longer needed, since *.html was removed.  Sort.
2015-06-02 19:59:25 -07:00
Dmitry Gutov
c6ee95ddee Restore <D> instead of '.' in grep-find-template
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-grep-use-template): Update a comment.

* lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
instead of '.' in grep-find-template (bug#20719).
(rgrep): Pass nil as the directory to rgrep-default-command.

* lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
default value for DIR.

* lisp/progmodes/xref.el (xref-collect-matches): Drop the
workaround.
2015-06-03 05:45:15 +03:00
Glenn Morris
0a9e3248af * configure.ac (emacs_config_features): Add X toolkit and scroll-bars. 2015-06-02 21:25:11 -04:00
Glenn Morris
7714add630 ; * etc/NEWS: Tiny edit. 2015-06-02 20:46:09 -04:00
Glenn Morris
f0380bb6cf * configure.ac (emacs_config_features): Add Cairo. 2015-06-02 20:22:35 -04:00
Glenn Morris
b459d945c0 ; * etc/NEWS: Add Cairo placeholder. 2015-06-02 20:20:06 -04:00
Glenn Morris
73dee110de * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later. 2015-06-02 20:19:06 -04:00
Michael Albinus
420b293c7d Ensure, that autorevert works for remote files in file-notify-tests.el
* test/automated/file-notify-tests.el (file-notify--test-desc):
New defvar.
(file-notify--test-remote-enabled)
(file-notify-test00-availability, file-notify-test01-add-watch)
(file-notify-test02-events): Use it.
(file-notify--test-event-test): Check proper descriptor.
(file-notify-test03-autorevert): Ensure, that
`visited-file-modtime' has changed.

Fixes: debbugs:20392
2015-06-02 23:47:17 +02:00
Nicolas Petton
988d721186 Add a pcase pattern for maps and `map-let' based on it
* lisp/emacs-lisp/map.el (map-let): New macro.
(map--make-pcase-bindings, map--make-pcase-patterns): New functions.
* test/automated/map-tests.el: New test for `map-let'.
2015-06-02 22:19:48 +02:00
Dmitry Gutov
7f01832e13 Reuse rgrep mechanics in xref-find-regexp
* lisp/progmodes/grep.el (rgrep-default-command):
Extract from `rgrep'.

* lisp/progmodes/xref.el (xref-collect-references): Split from
`xref-collect-matches'.  Only handle the case of symbol search.
(xref-collect-matches): Instead of Semantic Symref, use
`rgrep-default-command', to take advantage of its directory and
file ignore settings.
(xref--collect-match): Remove the last argument, leaving the
regexp construction up to the caller.

* lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
Change to take the xref-collect- function to use as an argument.
(elisp-xref-find): Update accordingly.

* lisp/progmodes/etags.el (etags--xref-find-matches)
(etags-xref-find): Same.
2015-06-02 18:47:43 +03:00
Dmitry Gutov
64f2d346b7 Move xref-elisp-location to elisp-mode.el
* lisp/progmodes/xref.el (xref-elisp-location)
(xref-make-elisp-location, xref-location-marker): Remove here.
(xref--xref): Don't limit the type of the location slot.

* lisp/progmodes/elisp-mode.el (xref-elisp-location):
Define as a cl-struct here.
(xref-location-marker): Move here.
2015-06-02 18:47:42 +03:00
Eli Zaretskii
98cb43fb0d Minor tweaks for .gitignore
* .gitignore: Don't ignore versioned *.html and *.ps files.  Don't
ignore admin/notes/tags that might be ignored as TAGS on
case-insensitive filesystems.  (Bug#20710)
2015-06-02 18:27:28 +03:00
Paul Eggert
a158324abd Generate curved quotes in ert doc
* lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
(ert-results-mode-menu)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-describe-test):
Quote ‘like this’, not `like this', when generating doc strings
and the like.
* test/automated/ert-x-tests.el (ert-test-describe-test):
Allow quoting ‘like this’.
2015-06-02 07:33:14 -07:00
Nicolas Richard
c7695d0adb Add test for previous commit
* test/automated/replace-tests.el: New file.
(query-replace--split-string-tests): Add test for previous commit.
2015-06-02 10:54:31 +02:00