1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00
Commit Graph

124945 Commits

Author SHA1 Message Date
Paul Eggert
845ee57731 Restore frames into the current display by default
* lisp/desktop.el (desktop-restore-in-current-display):
Default to t, not nil (Bug#23604).
* etc/NEWS: Mention the change.
2016-05-29 22:48:01 -07:00
Stefan Monnier
ee28b4cd46 * lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434). 2016-05-29 20:32:32 -04:00
Stefan Monnier
01c3cd1c0d etc/TODO: Remove out-of-place issue 2016-05-29 20:29:47 -04:00
Eli Zaretskii
5e184861c3 Clarify doc string of 'file-name-sans-extension'
* lisp/files.el (file-name-sans-extension, file-name-extension):
Clarify in the doc strings what is the extension, and which
leading period doesn't count.  (Bug#23643)
2016-05-29 17:59:59 +03:00
Eli Zaretskii
bffda223c2 Fix the MSDOS build
* msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
empty, and remove the lines which use them in recipes, as that
causes weird error message from Make and breaks the MSDOS build.
2016-05-28 15:27:47 +03:00
Andreas Schwab
f907f98b0b * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
substitute-command-keys to undo help--docstring-quote. (Bug#23634)
2016-05-28 11:18:05 +02:00
Eli Zaretskii
1a2ffd0236 * src/dired.c (Ffile_name_all_completions): Doc fix. (Bug#23631) 2016-05-27 16:06:57 +03:00
Eli Zaretskii
f7ffc4b7d3 Fix infloop in 'number-sequence'
* lisp/subr.el (number-sequence): Avoid overflow leading to an
infloop.  (Bug#23627)

* test/automated/subr-tests.el (number-sequence-test): New test.
2016-05-27 12:17:15 +03:00
Paul Eggert
4ab2673d87 ; Spelling and punctuation fixes in comments 2016-05-26 19:22:18 -07:00
Glenn Morris
71c152e2af * lisp/emacs-lisp/find-func.el (find-function-library):
Update for symbol-function no longer erroring.  (Bug#23626)
2016-05-26 19:50:54 -04:00
Glenn Morris
c3489d0504 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
(w32-get-valid-locale-ids): Improve declarations.
2016-05-26 14:57:29 -04:00
Vincent Belaïche
a4d882cd09 Correct old cell name unbinding when renaming cell.
Bug is to unbind old cell names when renaming a cell with
'makunbound'. when the old cell name is of A1 type, then
'kill-local-variable' must be used instead, so that only the current
spreadsheet is affected. When the old cell name is a renamed cell,
then 'ses--unbind-cell-name' must be used in order to remove the old
name from the name hashmap.

* ses.el (ses-rename-cell): check consistency of cell symbol from
text-property and from array object. Instead of 'makunbound', use
either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
whether the cell old name is a named cell or an A1 type cell
2016-05-26 11:03:21 +02:00
Vincent Belaïche
6c12c53949 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25 2016-05-25 23:44:18 +02:00
Vincent Belaïche
0be672542a Document problem: slow screen refresh on missing font.
See discussion of bug#22519 for more on this.
2016-05-25 23:42:54 +02:00
Glenn Morris
853b9b9207 * admin/admin.el (add-release-logs): Basic check of existing ChangeLog. 2016-05-25 14:45:05 -04:00
Glenn Morris
5fa80cfe9f * build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
This is relevant for M-x add-release-logs right after M-x authors.
2016-05-25 14:35:44 -04:00
Glenn Morris
3c79e51821 * admin/admin.el (add-release-logs): Generate ChangeLog if needed. 2016-05-25 14:17:25 -04:00
Paul Eggert
42275df3df * doc/misc/texinfo.tex: Revert previous change (Bug#23611). 2016-05-25 10:39:34 -07:00
Glenn Morris
3f4a9d9d26 * admin/authors.el (authors): First update the ChangeLog.
* admin/make-tarball.txt: Related updates.
2016-05-25 12:47:13 -04:00
Dmitry Gutov
897fb6fa49 ; 'Changes from the pre-25.1 API' copyedits 2016-05-25 04:01:12 +03:00
Dmitry Gutov
825ca2542e Rename vc-stay-local back to vc-cvs-stay-local
* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
vc-stay-local (bug#19548).  Improve the docstring.
(vc-cvs-stay-local-p): Update accordingly.
2016-05-25 03:54:41 +03:00
Glenn Morris
4efb3e8169 * doc/emacs/files.texi (Comparing Files):
* doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.
2016-05-24 14:58:27 -04:00
Glenn Morris
b995d1edf4 * doc/misc/eww.texi (Advanced): Fix xref. 2016-05-24 14:37:54 -04:00
Eli Zaretskii
2e589c0042 Fix cross-references between manuals
* doc/misc/viper.texi (Viper Specials):
* doc/misc/url.texi (Tramp):
* doc/misc/sem-user.texi (Smart Jump):
* doc/lispintro/emacs-lisp-intro.texi (Finding More):
* doc/misc/efaq.texi (Replacing text across multiple files): Fix
cross-references between manuals.  (Bug#23612)
* doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
longer relevant to Emacs Lisp programming.
2016-05-24 21:24:45 +03:00
Glenn Morris
f3d2dedeba * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".". 2016-05-24 13:26:04 -04:00
Glenn Morris
906c810158 ; * admin/release-process: Move etc/HISTORY from here...
; * admin/make-tarball.txt: ... to here.
2016-05-24 13:00:57 -04:00
Glenn Morris
bea1b65b3c * admin/admin.el (add-release-logs): Also update etc/HISTORY. 2016-05-24 12:51:00 -04:00
Eli Zaretskii
503e752c4a ; * CONTRIBUTE: Fix a typo. 2016-05-24 19:06:20 +03:00
Eli Zaretskii
fbfd4787fb Avoid aborting due to errors in arguments of 'set-face-attribute'
* src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
FRAME argument before using it.  This avoids gratuitous aborts in
Emacs built with --enable-checking when the luser was unlucky
enough to get the argument list in wrong order.
2016-05-24 19:04:16 +03:00
Glenn Morris
bdfbe6deff ; * admin/release-process: Copyedits. 2016-05-24 08:59:09 -07:00
Phillip Lord
44a6aed33f ; * test/automated/data-tests.el: Standardize license notice. 2016-05-23 16:59:24 +01:00
Glenn Morris
c33ed39efc ; * test/automated/viper-tests.el: Standardize license notice. 2016-05-23 08:43:26 -07:00
Phillip Lord
df4a14be69 Add automated test for viper-tests.el 2016-05-23 10:39:26 +01:00
Phillip Lord
c0139e32f1 Fix viper undo breakage from undo-boundary changes
* lisp/simple.el (undo-auto-disable-boundaries): New variable
* lisp/emulation/viper-init.el (viper-undo-in-complex-command,
  viper-undo-needs-adjustment): Rename
  variable to reflect new purpose,
  (viper-buffer-undo-list-mark): Remove
* lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
  Add undo using `undo-boundary', disable default undo-boundary
  addition.
* lisp/emulation/viper-cmd.el
  (viper-complete-complex-command-for-undo,viper-adjust-undo):
  Change function name, remove old undo list manipulation.
* lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
  viper-change-state-to-vi,viper-change-state):
  Update for function name change.

Addresses Bug #22295
2016-05-23 09:12:49 +01:00
Kaushal Modi
920d76c208 Fix reference to obsolete fn ps-eval-switch
lpr-eval-switch is functionally the same as ps-eval-switch,
which was obsoleted in 2cdeb903c5.
So use that instead (Bug#19717).
* lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
ps-eval-switch.
2016-05-22 17:48:55 -07:00
Paul Eggert
18a9bc1152 Do not trash symlinks to init file
If the user’s init file is a symbolic link, do not break the link
when initializing the package system.  Problem reported by Jackson
Hamilton (Bug#23050).
* lisp/emacs-lisp/package.el (package--ensure-init-file):
Bind find-file-visit-truename when visiting the init file, and
save and restore the buffer name the way cus-edit does in a
similar situation (Bug#454).
2016-05-22 17:30:34 -07:00
Alan Mackenzie
2671179b11 Don't print the "decomposition" line for control chars in what-cursor-position
This is a temporary workaround for bug #23594, where the decomposition line
for linefeed corrupted the display on a Linux virtual terminal.

* lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
character code properties printed for control characters.
2016-05-22 21:02:34 +00:00
Paul Eggert
869092c9ed Bring back xterm pasting with middle mouse
Problem reported by Jan Synáček.
Solution suggested by Stefan Monnier (Bug#23519).
* lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
(xterm--pasted-text): New decl.
(isearch-xterm-paste): New function.
* lisp/term/xterm.el (xterm--pasted-text): New function,
taken from xterm-paste internals.
(xterm-paste): Use it.
2016-05-22 13:39:30 -07:00
Eli Zaretskii
5ab083034c Provide workaround for xftfont rendering problem
* src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
New variable.
(xftfont_open): Use it to work around problems with rendering some
fonts.  (Bug#23360)
2016-05-22 19:20:28 +03:00
Jun Hao
c9f7ec736b * lisp/desktop.el: Disable restore frameset if in non-graphic display.
Fixes: debbugs:17693
2016-05-21 12:35:45 -07:00
Eli Zaretskii
30989a0ae1 Mention GTK+ problems in etc/PROBLEMS
* etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
problems this could create and the workaround.  (Bug#23587)
2016-05-21 10:19:32 +03:00
Artur Malabarba
421e3c4b2f * lisp/emacs-lisp/package.el (package-refresh-contents):
Don't change the value of `package-check-signature'.
(package-check-signature): Use `epg-find-configuration'
instead of `executable-find'.
2016-05-20 16:22:13 -03:00
Daiki Ueno
dadfc30dae Revert "epg: Add a way to detect gpg1 executable for tests"
This reverts commit d4ae6d7033.
2016-05-20 19:34:06 +09:00
Eli Zaretskii
e41a5cbae9 Avoid errors with Czech and Slovak input methods
* lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
(slovak-prog-3): Remove the kp-* key bindings, they are not needed
and cause errors in "C-u C-x =".
* lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
(czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
(Bug#23559)
2016-05-19 22:57:53 +03:00
Daiki Ueno
d4ae6d7033 epg: Add a way to detect gpg1 executable for tests
Fixes bug#23561.

* test/automated/epg-tests.el
(epg-tests-program-alist-for-passphrase-callback): New
constant.
(epg-tests-find-usable-gpg-configuration): New function,
renamed from `epg-tests-gpg-usable'.  All callers changed.
(epg-tests-gpg-usable): Remove.

* lisp/epg-config.el (epg-config--program-alist): Factor out
constructor element to...
(epg-config--configuration-constructor-alist): ...here.
(epg-find-configuration): Rename FORCE argument to NO-CACHE,
and add PROGRAM-ALIST argument.
2016-05-19 18:11:06 +09:00
Artur Malabarba
ebc3a94e27 * lisp/emacs-lisp/package.el: Fix free variable warnings.
(package--with-response-buffer): Replace two usages of
`macroexp-let2*' with `let'.
2016-05-18 20:09:24 -03:00
Artur Malabarba
6e7129551c * lisp/emacs-lisp/package.el (package--with-response-buffer):
Fix some macro locals leaking into body.  (Bug#22440)

* test/automated/package-test.el (package-test-signed):
Manually check all possible values of `package-check-signature'.
2016-05-18 18:07:50 -03:00
Eli Zaretskii
c45d9f61f7 Improve documentation of 'server-name'
* doc/emacs/misc.texi (Emacs Server): Fix example of setting
'server-name'.  Mention how to do that with daemon sessions.
(Bug#23576)
2016-05-18 22:50:45 +03:00
Paul Eggert
3b5e38cde1 Modernize ASLR advice in etc/PROBLEMS
* etc/PROBLEMS (Segfault during 'make'): Modernize advice for
seccomp, Docker, and NetBSD (Bug#23529).
2016-05-18 01:05:34 -07:00
Juri Linkov
1fe1e0a8e7 * lisp/char-fold.el: Rename from character-fold.el.
* lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
* test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
2016-05-17 23:55:38 +03:00