aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorXue Fuqiao2013-09-04 08:39:34 +0800
committerXue Fuqiao2013-09-04 08:39:34 +0800
commitadf2fc4a01efe77d73cd52bc9173914ed56ff531 (patch)
treea5a280a5554a7bffeaf94fccae29fa3ac1a5d066 /lisp/ChangeLog
parent63191d9f2043d2e67657e85a7b3842805dd1dad6 (diff)
parent38726039b77db432989fed106c88e9f1aa463281 (diff)
downloademacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.tar.gz
emacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.zip
Merge from mainline.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog1269
1 files changed, 1259 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9292732dc4c..bc34cbdcf0b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,6 +9,1265 @@
9 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table): 9 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10 Remove. Most code moved to vc.el. 10 Remove. Most code moved to vc.el.
11 11
122013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
15 * net/tramp-smb.el (tramp-smb-get-file-entries):
16 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18
19 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
20 Update call to it.
21 (eww-change-select): Remove unused var `properties'.
22 (eww-make-unique-file-name): Remove unused var `base'.
23
24 * finder.el (finder-compile-keywords): Don't mess with windows.
25
26 * calculator.el (calculator-funcall): Fix typo in last change.
27
28 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
29
30 * emacs-lisp/package.el (package-activate-1): Don't let a missing
31 <pkg>-autoloads.el file stop us.
32
33 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
34 warnings, and factor out common code.
35
362013-09-03 Dmitry Gutov <dgutov@yandex.ru>
37
38 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
39 two-character operators and whether the character preceding them
40 changes their meaning (Bug#15208).
41
422013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
43
44 Format code sent to Python shell for robustness.
45 * progmodes/python.el (python-shell-buffer-substring):
46 New function.
47 (python-shell-send-region, python-shell-send-buffer): Use it.
48
492013-09-02 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
52 * net/tramp.el (tramp-user-error): ... here.
53 (tramp-find-method, tramp-check-proper-host)
54 (tramp-dissect-file-name, tramp-debug-message)
55 (tramp-handle-shell-command):
56 * net/tramp-adb.el (tramp-adb-handle-shell-command):
57 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
58
59 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
60
612013-09-02 Martin Rudalics <rudalics@gmx.at>
62
63 * avoid.el (mouse-avoidance-point-position)
64 (mouse-avoidance-too-close-p): Handle case where posn-at-point
65 returns nil.
66
672013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
68
69 * progmodes/python.el (python-shell-completion-get-completions):
70 Drop use of deleted `comint-last-prompt-overlay'.
71 (python-nav-if-name-main): New command.
72
732013-09-01 Glenn Morris <rgm@gnu.org>
74
75 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
76 Avoid leading space in $wins. Otherwise the sed command used by
77 eg compile-main ends up containing "/*.el". (Bug#15170)
78
79 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
80
812013-08-30 Glenn Morris <rgm@gnu.org>
82
83 * emacs-lisp/bytecomp.el (byte-recompile-directory):
84 Fix is-this-a-directory logic. (Bug#15220)
85
862013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * textmodes/css-mode.el: Use SMIE.
89 (css-smie-grammar): New var.
90 (css-smie--forward-token, css-smie--backward-token)
91 (css-smie-rules): New functions.
92 (css-mode): Use them.
93 (css-navigation-syntax-table): Remove var.
94 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
95 (css-indent-calculate, css-indent-line): Remove functions.
96
97 Misc changes to reduce use of `(lambda...); and other cleanups.
98 * cus-edit.el: Use lexical-binding.
99 (customize-push-and-save, customize-apropos)
100 (custom-buffer-create-internal): Use closures.
101 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
102 * progmodes/ada-xref.el: Use setq.
103 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
104 * dframe.el: Use lexical-binding.
105 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
106 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
107 * descr-text.el: Use lexical-binding.
108 (describe-text-widget, describe-text-sexp, describe-property-list):
109 Use closures.
110 * comint.el (comint-history-isearch-push-state): Use a closure.
111 * calculator.el: Use lexical-binding.
112 (calculator-number-to-string): Make it work with lexical-binding.
113 (calculator-funcall): Same and use cl-letf.
114
115 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
116 (lisp--company-doc-string, lisp--company-location): New functions.
117 (lisp-completion-at-point): Use them to improve Company support.
118
119 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
120 params of lambda expressions.
121 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
122 (ruby-smie--opening-pipe-p): New function.
123 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
124 symbols and matched |...| for formal params.
125 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
126 from being treated as hanging. Handle "rescue".
127
1282013-08-29 Glenn Morris <rgm@gnu.org>
129
130 * progmodes/cc-engine.el (c-pull-open-brace):
131 Move definition before use.
132
1332013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
136 are immutable. Don't use `unsafe' any more.
137 (cl--defsubst-expand): Don't substitute at the same time as keeping
138 a residual unused let-binding. Don't use `unsafe' any more.
139
1402013-08-29 Glenn Morris <rgm@gnu.org>
141
142 * calendar/cal-china.el (calendar-chinese-year-cache):
143 Recenter on 2015.
144
145 * nxml/nxml-util.el (nxml-debug-clear-inside):
146 Use cl-loop rather than loop.
147
148 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
149
150 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
151
1522013-08-28 Glenn Morris <rgm@gnu.org>
153
154 * progmodes/antlr-mode.el: No need to require cc-mode twice.
155
156 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
157
158 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
159
1602013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * simple.el (repeat-complex-command--called-interactively-skip):
163 New function.
164 (repeat-complex-command): Use it (bug#14136).
165
166 * progmodes/cc-mode.el: Minor cleanup of var declarations.
167 (c-define-abbrev-table): Add `doc' argument.
168 (c-mode-abbrev-table, c++-mode-abbrev-table)
169 (objc-mode-abbrev-table, java-mode-abbrev-table)
170 (idl-mode-abbrev-table, pike-mode-abbrev-table)
171 (awk-mode-abbrev-table): Use it.
172 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
173 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
174 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
175 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
176 Move initialization into the declaration; and remove any
177 autoload cookie.
178
179 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
180 and dynamic let binding.
181
182 * vc/smerge-mode.el: Remove redundant :group args.
183
184 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
185 to load-path.
186
1872013-08-28 Juri Linkov <juri@jurta.org>
188
189 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
190 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
191 (isearch-other-meta-char): Handle an undefined shifted printing
192 character by downshifting it. (Bug#15200)
193
1942013-08-28 Juri Linkov <juri@jurta.org>
195
196 * isearch.el (isearch-search): Change regexp error message for
197 non-regexp searches. (Bug#15166)
198
1992013-08-28 Paul Eggert <eggert@cs.ucla.edu>
200
201 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
202 for portability to hosts where /bin/sh has problems.
203
2042013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
207
2082013-08-27 Juri Linkov <juri@jurta.org>
209
210 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
211 in the keyboard macro. (Bug#15126)
212
2132013-08-27 Juri Linkov <juri@jurta.org>
214
215 * isearch.el (isearch-quote-char): Comment out converting unibyte
216 to multibyte, thus syncing with its `quoted-insert' counterpart.
217 (Bug#15166)
218
2192013-08-27 Martin Rudalics <rudalics@gmx.at>
220
221 * window.el (display-buffer-use-some-window): Add missing
222 argument in call of get-largest-window (Bug#15185).
223 Reported by Stephen Leake.
224
2252013-08-27 Glenn Morris <rgm@gnu.org>
226
227 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
228
2292013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * progmodes/python.el (python-font-lock-keywords): Don't return nil
232 from a matcher-function unless there's no more matches (bug#15161).
233
2342013-08-26 Michael Albinus <michael.albinus@gmx.de>
235
236 * minibuffer.el: Revert change from 2013-08-20.
237
238 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
239 with text property `tramp-default', if appropriate.
240 (tramp-check-proper-host): New defun.
241 (tramp-dissect-file-name): Do not check hostname. Revert change
242 of 2013-03-18.
243 (tramp-backtrace): Make VEC-OR-PROC optional.
244
245 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
246 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
247 * net/tramp-sh.el (tramp-maybe-open-connection):
248 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
249 Apply `tramp-check-proper-host'.
250
2512013-08-26 Tassilo Horn <tsdh@gnu.org>
252
253 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
254 lambda expression in order to have `describe-variable' display it.
255
2562013-08-26 Michael Albinus <michael.albinus@gmx.de>
257
258 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
259 BUF can be optional. (Bug#15186)
260
2612013-08-25 Xue Fuqiao <xfq.free@gmail.com>
262
263 * progmodes/flymake.el (flymake-get-real-file-name-function):
264 Fix broken customization. (Bug#15184)
265
2662013-08-25 Alan Mackenzie <acm@muc.de>
267
268 Improve indentation of bracelists defined by macros (without "=").
269
270 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
271 expansion begins with "{", regard it as bracelist when it doesn't
272 contain a ";".
273
274 Parse C++ inher-intro when there's a template split over 2 lines.
275
276 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
277 rigorously the search for "class" etc. followed by ":".
278
279 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
280 random languages a regexp which never matches rather than nil.
281
282 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
283
284 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
285 (c-awk-regexp-one-line-possibly-open-char-list-re)
286 (c-awk-one-line-possibly-open-regexp-re)
287 (c-awk-one-line-non-syn-ws*-re): Remove.
288 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
289 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
290 (c-awk-space*-unclosed-regexp-/-re): New constants.
291 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
292 aren't regexp delimiters.
293
294 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
295 handling for a rare situation in AWK Mode involving unterminated
296 strings/regexps.
297
2982013-08-23 Glenn Morris <rgm@gnu.org>
299
300 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
301
302 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
303
304 * files.el (create-file-buffer): If the result would begin with
305 spaces, prepend a "|" instead of removing them. (Bug#15162)
306
3072013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
310 text-properties (bug#15155).
311
312 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
313 exist any more.
314 (calc-keypad-redraw): Remove unused var `pad'.
315 (calc-keypad-press): Remove unused var `menu'.
316
3172013-08-23 Martin Rudalics <rudalics@gmx.at>
318
319 * window.el (display-buffer-pop-up-frame):
320 Call pop-up-frame-function with BUFFER current so `make-frame' will
321 use it as the new frame's buffer (Bug#15133).
322
3232013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * calendar/timeclock.el: Minor cleanups.
326 (timeclock-ask-before-exiting, timeclock-use-display-time):
327 Use `symbol'.
328 (timeclock-modeline-display): Define as alias before the
329 actual definition.
330 (timeclock-mode-line-display): Use define-minor-mode.
331 (timeclock-day-list-template): Make it a function, add an argument.
332 (timeclock-day-list-required, timeclock-day-list-length)
333 (timeclock-day-list-debt, timeclock-day-list-span)
334 (timeclock-day-list-break): Adjust calls accordingly.
335
3362013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
339 Use read--expression so that completion works again.
340
3412013-08-21 Sam Steingold <sds@gnu.org>
342
343 Add rudimentary inferior shell interaction
344 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
345 (sh-set-shell): Reset it.
346 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
347 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
348
3492013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * align.el: Use lexical-binding.
352 (align-region): Simplify accordingly.
353
3542013-08-20 Michael Albinus <michael.albinus@gmx.de>
355
356 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
357
358 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
359 `non-essential' up.
360
3612013-08-17 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp.el:
364 * net/tramp-adb.el:
365 * net/tramp-cmds.el:
366 * net/tramp-ftp.el:
367 * net/tramp-gvfs.el:
368 * net/tramp-gw.el:
369 * net/tramp-sh.el: Don't wrap external variable declarations by
370 `eval-when-compile'.
371
3722013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
373
374 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
375 now that Emacs supports ImageMagick animations.
376
3772013-08-16 Michael Albinus <michael.albinus@gmx.de>
378
379 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
380 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
381
3822013-08-16 Martin Rudalics <rudalics@gmx.at>
383
384 * window.el (mouse-autoselect-window-select): Do autoselect when
385 mouse pointer is on margin.
386
3872013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
388
389 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
390
3912013-08-16 Glenn Morris <rgm@gnu.org>
392
393 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
394 Handle "Remote Directory" response of some clients. (Bug#15058)
395
396 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
397 Tweak warning. (Bug#14926)
398
399 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
400 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
401
402 * image-mode.el (image-mode-map): Add menu items to reverse,
403 increase, decrease, reset animation speed.
404 (image--set-speed, image-increase-speed, image-decrease-speed)
405 (image-reverse-speed, image-reset-speed): New functions.
406 (image-mode-map): Add bindings for speed commands.
407
408 * image.el (image-animate-get-speed, image-animate-set-speed):
409 New functions.
410 (image-animate-timeout): Respect image :speed property.
411
4122013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
415 previous line (bug#15101).
416 (debugger-eval-expression, debugger-record-expression):
417 Use read--expression (bug#15102).
418
4192013-08-15 Michael Albinus <michael.albinus@gmx.de>
420
421 Remove byte compiler warnings, visible when compiling with
422 `byte-compile-force-lexical-warnings' set to t.
423
424 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
425 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
426 (tramp-handle-unhandled-file-name-directory)
427 (tramp-handle-file-notify-add-watch, tramp-action-login)
428 (tramp-action-succeed, tramp-action-permission-denied)
429 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
430 arguments with "_".
431
432 * net/tramp-adb.el (tramp-adb-parse-device-names)
433 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
434 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
435 (tramp-adb-handle-file-truename): Remove unused arguments.
436
437 * net/tramp-cache.el (tramp-flush-directory-property)
438 (tramp-flush-connection-property, tramp-list-connections)
439 (tramp-parse-connection-properties): Prefix unused arguments with "_".
440
441 * net/tramp-compat.el (tramp-compat-make-temp-file):
442 Rename FILENAME to F.
443
444 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
445 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
446 (tramp-zeroconf-parse-workstation-device-names)
447 (tramp-zeroconf-parse-webdav-device-names)
448 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
449
450 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
451 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
452
453 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
454 arguments.
455 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
456 (tramp-sh-handle-insert-file-contents-literally)
457 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
458 with "_".
459 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
460 Remove unused variables.
461
462 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
463 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
464 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
465
466 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
467 Make them a defconst.
468 (tramp-uuencode-region): Remove unused variable.
469
4702013-08-14 Juanma Barranquero <lekktu@gmail.com>
471
472 * frameset.el (frameset--prop-setter): New function.
473 (frameset-prop): Add gv-setter declaration.
474 (frameset-filter-minibuffer): Deal with the case that the minibuffer
475 parameter was already set in FILTERED. Doc fix.
476 (frameset--record-minibuffer-relationships): Allow saving a
477 minibufferless frame without its corresponding minibuffer frame.
478 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
479 frame, if the frame id matches.
480 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
481 frames before orphaned ones.
482 (frameset-restore): Warn about orphaned windows, instead of error out.
483
4842013-08-14 Martin Rudalics <rudalics@gmx.at>
485
486 * window.el (window-make-atom): Don't overwrite parameter
487 already present.
488 (display-buffer-in-atom-window): Handle special case where we
489 split an already atomic window.
490 (window--major-non-side-window, display-buffer-in-side-window)
491 (window--side-check): Ignore minibuffer window when walking
492 window tree.
493 (window-deletable-p): Return 'frame only if no other frame uses
494 our minibuffer window.
495 (record-window-buffer): Run buffer-list-update-hook.
496 (split-window): Make sure window--check-frame won't destroy an
497 existing atomic window in case the new window gets nested
498 inside.
499 (display-buffer-at-bottom): Ignore minibuffer window when
500 walking window tree. Don't split a side window.
501 (pop-to-buffer): Don't set-buffer here, the select-window call
502 should do that.
503 (mouse-autoselect-window-select): Autoselect only if we are in the
504 text portion of the window.
505
5062013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
507
508 * net/shr.el (shr-parse-image-data): New function to grab both the
509 data itself and the Content-Type.
510 (shr-put-image): Use it.
511
512 * net/eww.el (eww-display-image): Ditto.
513
514 * image.el (image-content-type-suffixes): New variable.
515
5162013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
517
518 * progmodes/python.el (python-imenu--build-tree)
519 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
520
5212013-08-13 Xue Fuqiao <xfq.free@gmail.com>
522
523 * simple.el (backward-word): Mention the optional argument.
524
5252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * frameset.el (frameset--make): Rename constructor from make-frameset.
528 (frameset-p, frameset-valid-p): Don't autoload.
529 (frameset-valid-p): Use normal accessors.
530
5312013-08-13 Glenn Morris <rgm@gnu.org>
532
533 * progmodes/compile.el (compile-command): Tweak example in doc.
534 * obsolete/scribe.el (scribe-mode):
535 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
536
537 * mail/feedmail.el (feedmail-confirm-outgoing)
538 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
539
540 * cus-start.el (truncate-partial-width-windows): Fix type.
541
542 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
543
544 * net/shr.el (shr-table-horizontal-line): Fix custom type.
545
5462013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/timer.el (timer--time-setter): New function.
549 (timer--time): Use it as gv-setter.
550
551 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
552 setter is not a symbol.
553
5542013-08-12 Grégoire Jadi <daimrod@gmail.com>
555
556 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
557 if sending fails. This makes debugging easier.
558
5592013-08-12 Juanma Barranquero <lekktu@gmail.com>
560
561 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
562 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
563 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
564
5652013-08-12 Eli Zaretskii <eliz@gnu.org>
566
567 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
568
5692013-08-12 Glenn Morris <rgm@gnu.org>
570
571 * format.el (format-annotate-function):
572 Handle read-only text properties in the source. (Bug#14887)
573
5742013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
575
576 * net/eww.el (eww-display-html): Ignore coding system errors.
577 One web site uses "utf-8lias" as the coding system.
578
5792013-08-11 Juanma Barranquero <lekktu@gmail.com>
580
581 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
582
5832013-08-10 Juanma Barranquero <lekktu@gmail.com>
584
585 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
586 (tutorial--detailed-help): Remove unused local variables.
587 (tutorial--save-tutorial-to): Use ignore-errors.
588 (help-with-tutorial): Use looking-at-p.
589
590 * view.el (view-buffer-other-window, view-buffer-other-frame):
591 Mark unused arguments.
592
593 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
594 (woman-select-symbol-fonts, woman, woman-find-file)
595 (woman-insert-file-contents, woman-non-underline-faces):
596 Use string-match-p.
597 (woman1-unquote): Move declaration.
598
599 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
600 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
601 argument. Remove unused local variable.
602 (xml-parse-elem-type): Use string-match-p.
603 (xml-substitute-numeric-entities): Use ignore-errors.
604
605 * calculator.el (calculator): Mark unused argument.
606 (calculator-paste, calculator-quit, calculator-integer-p):
607 Use ignore-errors.
608 (calculator-string-to-number, calculator-decimal, calculator-exp)
609 (calculator-op-or-exp): Use string-match-p.
610
611 * dired.el (dired-buffer-more-recently-used-p): Declare.
612 (dired-insert-set-properties, dired-insert-old-subdirs):
613 Use ignore-errors.
614
615 * dired-aux.el (dired-compress): Use ignore-errors.
616 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
617 (dired-do-async-shell-command, dired-do-shell-command)
618 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
619 (dired-insert-subdir-validate): Use string-match-p.
620 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
621 (dired-add-entry): Use string-match-p, looking-at-p.
622 (dired-insert-subdir-newpos): Remove unused local variable.
623
624 * filenotify.el (file-notify-callback): Remove unused local variable.
625
626 * filesets.el (filesets-error): Mark unused argument.
627 (filesets-which-command-p, filesets-filter-dir-names)
628 (filesets-directory-files, filesets-get-external-viewer)
629 (filesets-ingroup-get-data): Use string-match-p.
630
631 * find-file.el (ff-other-file-name, ff-other-file-name)
632 (ff-find-the-other-file, ff-cc-hh-converter):
633 Remove unused local variables.
634 (ff-get-file-name): Use string-match-p.
635 (ff-all-dirs-under): Use ignore-errors.
636
637 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
638 (follow-select-if-visible): Remove unused local variable.
639
640 * forms.el (read-file-filter): Move declaration.
641 (forms--make-format, forms--make-parser, forms-insert-record):
642 Quote function with #'.
643 (forms--update): Use string-match-p. Quote function with #'.
644
645 * help-mode.el (help-dir-local-var-def): Mark unused argument.
646 (help-make-xrefs): Use looking-at-p.
647 (help-xref-on-pp): Use looking-at-p, ignore-errors.
648
649 * ibuffer.el (ibuffer-ext-visible-p): Declare.
650 (ibuffer-confirm-operation-on): Use string-match-p.
651
652 * msb.el (msb-item-handler, msb-dired-item-handler):
653 Mark unused arguments.
654
655 * ses.el (ses-decode-cell-symbol)
656 (ses-kill-override): Remove unused local variable.
657 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
658 (ses-load): Use ignore-errors, looking-at-p.
659 (ses-jump-safe): Use ignore-errors.
660 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
661
662 * tabify.el (untabify, tabify): Mark unused arguments.
663
664 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
665 Mark unused argument.
666 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
667 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
668
669 * emacs-lisp/timer.el (timer--time): Define setter with
670 gv-define-setter to avoid deprecation warning.
671
672 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
673 (*record-cmpl-statistics-p*): Remove (was commented out).
674 (cmpl-statistics-block): Remove (body was commented out).
675 All callers changed.
676 (add-completions-from-buffer, load-completions-from-file):
677 Remove unused variables.
678
6792013-08-09 Juanma Barranquero <lekktu@gmail.com>
680
681 * filecache.el (file-cache-delete-file-list):
682 Print message only when told so.
683 (file-cache-files-matching): Use #' in mapconcat argument.
684
685 * ffap.el (ffap-url-at-point): Fix reference to variable
686 thing-at-point-default-mail-uri-scheme.
687
6882013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * subr.el (define-error): New function.
691 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
692 error-file-not-found and define with define-error.
693 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
694 and define with define-error.
695 * userlock.el (file-locked, file-supersession):
696 * simple.el (mark-inactive):
697 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
698 * progmodes/ada-mode.el (ada-mode-errors):
699 * play/life.el (life-extinct):
700 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
701 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
702 * nxml/rng-util.el (rng-error):
703 * nxml/rng-uri.el (rng-uri-error):
704 * nxml/rng-match.el (rng-compile-error):
705 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
706 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
707 * nxml/nxml-rap.el (nxml-scan-error):
708 * nxml/nxml-outln.el (nxml-outline-error):
709 * net/soap-client.el (soap-error):
710 * net/gnutls.el (gnutls-error):
711 * net/ange-ftp.el (ftp-error):
712 * mpc.el (mpc-proc-error):
713 * json.el (json-error, json-readtable-error, json-unknown-keyword)
714 (json-number-format, json-string-escape, json-string-format)
715 (json-key-format, json-object-format):
716 * jka-compr.el (compression-error):
717 * international/quail.el (quail-error):
718 * international/kkc.el (kkc-error):
719 * emacs-lisp/ert.el (ert-test-failed):
720 * calc/calc.el (calc-error, inexact-result, math-overflow)
721 (math-underflow):
722 * bookmark.el (bookmark-error-no-filename):
723 * epg.el (epg-error): Define with define-error.
724
725 * time.el (display-time-event-handler)
726 (display-time-next-load-average): Don't call sit-for since it seems
727 unnecessary (bug#15045).
728
729 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
730 Use #' instead of ' to quote functions.
731 (checkdoc-output-mode): Use setq-local.
732 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
733 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
734 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
735 (checkdoc-ispell, checkdoc-ispell-current-buffer)
736 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
737 (checkdoc-ispell-message-text, checkdoc-ispell-start)
738 (checkdoc-ispell-continue, checkdoc-ispell-comments)
739 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
740
741 * ido.el (ido-completion-help): Fix up compiler warning.
742
7432013-08-09 Juanma Barranquero <lekktu@gmail.com>
744
745 * frameset.el (frameset-p): Add autoload cookie.
746 (frameset--jump-to-register): New function, based on code moved from
747 register.el.
748 (frameset-to-register): Move from register.el. Adapt to `registerv'.
749
750 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
751 (frameset-restore, frameset-save, frameset-session-filter-alist):
752 Remove declarations.
753 (register-alist): Doc fix.
754 (frameset-to-register): Move to frameset.el.
755 (jump-to-register, describe-register-1): Remove frameset-specific code.
756
7572013-08-08 Juanma Barranquero <lekktu@gmail.com>
758
759 * allout-widgets.el (allout-widgets-pre-command-business)
760 (allout-widgets-post-command-business)
761 (allout-widgets-after-change-handler)
762 (allout-decorate-item-and-context, allout-set-boundary-marker)
763 (allout-body-modification-handler)
764 (allout-graphics-modification-handler): Mark ignored arguments.
765 (allout-widgets-post-command-business)
766 (allout-widgets-exposure-change-processor)
767 (allout-widgets-exposure-undo-processor)
768 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
769 (allout-parse-item-at-point, allout-decorate-item-guides)
770 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
771 * allout.el (epa-passphrase-callback-function): Declare.
772 (allout-overlay-insert-in-front-handler)
773 (allout-overlay-interior-modification-handler)
774 (allout-isearch-end-handler, allout-chart-siblings)
775 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
776 (allout-yank-processing, allout-process-exposed)
777 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
778 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
779 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
780 (lisp-indent-defform): Mark ignored arguments.
781 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
782 (calculate-lisp-indent): Remove unused variables.
783 * international/characters.el (indian-2-column, arabic-2-column)
784 (tibetan): Mark ignored arguments.
785 (use-cjk-char-width-table): Mark ignored arguments.
786 Remove unused variables.
787 * international/fontset.el (build-default-fontset-data)
788 (x-compose-font-name, create-fontset-from-fontset-spec):
789 Mark ignored arguments.
790 (fontset-plain-name): Remove unused variables.
791 * international/mule.el (charset-id, charset-bytes, generic-char-p)
792 (keyboard-coding-system): Mark ignored arguments.
793 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
794 * help.el (resize-temp-buffer-window):
795 * window.el (display-buffer-in-major-side-window)
796 (display-buffer-in-side-window, display-buffer-in-previous-window):
797 Remove unused variables.
798 * isearch.el (isearch-forward-symbol):
799 * version.el (emacs-bzr-version-bzr):
800 * international/mule-cmds.el (current-language-environment):
801 * term/common-win.el (x-handle-iconic, x-handle-geometry)
802 (x-handle-display):
803 * term/pc-win.el (x-list-fonts, x-display-planes)
804 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
805 (x-server-version, x-display-screens, x-display-mm-height)
806 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
807 (x-selection-owner-p, x-own-selection-internal)
808 (x-disown-selection-internal, x-get-selection-internal)
809 (msdos-initialize-window-system):
810 * term/tty-colors.el (tty-color-alist, tty-color-clear):
811 * term/x-win.el (x-handle-no-bitmap-icon):
812 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
813 (vc-default-find-file-hook, vc-default-extra-menu):
814 Mark ignored arguments.
815
8162013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
819 break-condition in the context of the debugged code (bug#12685).
820
8212013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
822
823 * comint.el:
824 Do not use an overlay to highlight the last prompt. (Bug#14744)
825 (comint-mode): Make comint-last-prompt buffer local.
826 (comint-last-prompt): New variable.
827 (comint-last-prompt-overlay): Remove. Superseded by
828 comint-last-prompt.
829 (comint-snapshot-last-prompt, comint-output-filter):
830 Use comint-last-prompt.
831
8322013-08-08 Juanma Barranquero <lekktu@gmail.com>
833
834 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
835 (frameset-save): Check validity of the resulting frameset.
836
8372013-08-08 Xue Fuqiao <xfq.free@gmail.com>
838
839 * ido.el (ido-record-command): Add doc string.
840
8412013-08-08 Juanma Barranquero <lekktu@gmail.com>
842
843 * frameset.el (frameset): Do not disable creation of the default
844 frameset-p predicate. Doc fix.
845 (frameset-valid-p): New function, copied from the old predicate-p.
846 Add additional checks.
847 (frameset-restore): Check with frameset-valid-p.
848 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
849 (frameset-name, frameset-description, frameset-properties)
850 (frameset-states): Add docstring.
851 (frameset-session-filter-alist, frameset-persistent-filter-alist)
852 (frameset-filter-alist): Doc fixes.
853
8542013-08-08 Juanma Barranquero <lekktu@gmail.com>
855
856 * frameset.el (frameset-p, frameset-prop): Doc fixes.
857
8582013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
861 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
862 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
863 (byte-compile-normal-call): Remove obsolescence check.
864
8652013-08-08 Juanma Barranquero <lekktu@gmail.com>
866
867 * frameset.el (frameset-restore): Doc fix.
868
869 * register.el (frameset-frame-id, frameset-frame-with-id)
870 (frameset-p, frameset-restore, frameset-save): Declare.
871 (register-alist): Document framesets.
872 (frameset-session-filter-alist): Declare.
873 (frameset-to-register): New function.
874 (jump-to-register): Implement jumping to framesets. Doc fix.
875 (describe-register-1): Describe framesets.
876
877 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
878
8792013-08-07 Juanma Barranquero <lekktu@gmail.com>
880
881 * desktop.el (desktop-save-frameset): Use new frameset-save args.
882 Use lexical-binding.
883
884 * frameset.el (frameset): Use type vector, not list (incompatible
885 change). Do not declare a new constructor, use the default one.
886 Upgrade suggested properties `app', `name' and `desc' to slots `app',
887 `name' and `description', respectively, and add read-only slot
888 `timestamp'. Doc fixes.
889 (frameset-copy, frameset-persistent-filter-alist)
890 (frameset-filter-alist, frameset-switch-to-gui-p)
891 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
892 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
893 (frameset-filter-iconified, frameset-keep-original-display-p):
894 Doc fixes.
895 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
896 Rename from frameset-filter-(save|restore)-param. All callers changed.
897 Doc fix.
898 (frameset-p): Adapt to change to vector and be more thorough.
899 Change arg name to OBJECT. Doc fix.
900 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
901 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
902 All callers changed.
903 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
904 All callers changed.
905 (frameset--record-minibuffer-relationships): Rename from
906 frameset--process-minibuffer-frames. All callers changed.
907 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
908 Use new default constructor (again). Doc fix.
909 (frameset--find-frame-if): Rename from `frameset--find-frame.
910 All callers changed.
911 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
912 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
913 Doc fix.
914 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
915 PARAMETERS and WINDOW-STATE, respectively.
916 (frameset-restore): Add new keyword argument PREDICATE.
917 Reset frameset--target-display to nil. Doc fix.
918
9192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
922 (bat-mode): Use it.
923 (bat-mode-syntax-table): Mark \n as end-of-comment.
924 (bat-font-lock-keywords): Remove comment rule.
925
926 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
927 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
928
929 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
930 (byte-compile-callargs-warn): Use `push'.
931 (byte-compile-arglist-warn): Ignore higher-order "calls".
932 (byte-compile-file-form-autoload): Use `pcase'.
933 (byte-compile-function-form): If quoting a symbol, check that it exists.
934
9352013-08-07 Eli Zaretskii <eliz@gnu.org>
936
937 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
938 and add a few popular commands found in batch files.
939 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
940 (dos-mode): Doc fixes.
941
9422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
945 (dos-mode): Use setq-local. Add space after "rem".
946 (dos-mode-syntax-table): Don't use "w" for symbol chars.
947 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
948
9492013-08-07 Arni Magnusson <arnima@hafro.is>
950
951 * progmodes/dos.el: New file.
952 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
953 dos-mode.
954
9552013-08-06 Glenn Morris <rgm@gnu.org>
956
957 * calendar/calendar.el: Add new faces, and day-header-array.
958 (calendar-weekday-header, calendar-weekend-header)
959 (calendar-month-header): New faces.
960 (calendar-day-header-construct): New function.
961 (calendar-day-header-width): Also :set calendar-day-header-array.
962 (calendar-american-month-header, calendar-european-month-header)
963 (calendar-iso-month-header): Use calendar- faces.
964 (calendar-generate-month):
965 Use calendar-day-header-array for day headers; apply faces to them.
966 (calendar-mode): Check calendar-font-lock-keywords non-nil.
967 (calendar-abbrev-construct): Add optional maxlen argument.
968 (calendar-day-name-array): Doc fix.
969 (calendar-day-name-array, calendar-abbrev-length)
970 (calendar-day-abbrev-array):
971 Also :set calendar-day-header-array, and maybe redraw.
972 (calendar-day-header-array): New option. (Bug#15007)
973 (calendar-font-lock-keywords): Set to nil and make obsolete.
974 (calendar-day-name): Add option to use header array.
975
9762013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
977
978 * net/shr.el (shr-render-td): Remove debugging.
979 (shr-render-td): Make width computation consistent by defaulting
980 all zero-width columns to 10 characters. This may not be optimal,
981 but it's at least consistent.
982 (shr-make-table-1): Redo last change to fix the real problem in
983 colspan handling.
984
9852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
986
987 * files.el (cache-long-line-scans):
988 Make obsolete alias to `cache-long-scans'.
989
9902013-08-06 Juanma Barranquero <lekktu@gmail.com>
991
992 * frameset.el (frameset, frameset-filter-alist)
993 (frameset-filter-params, frameset-save, frameset--reuse-frame)
994 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
995 (frameset-compute-pos): Rename from frameset--compute-pos,
996 and add docstring.
997 (frameset-move-onscreen): Use frameset-compute-pos.
998 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
999
1000 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1001 Fix typos in docstrings.
1002
10032013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1004
1005 * frame.el (get-other-frame): Tiny cleanup.
1006
10072013-08-06 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * vc/vc.el (vc-default-ignore-completion-table):
1010 Silence byte-compiler warning.
1011
1012 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1013 slot , which can indeed be nil.
1014 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1015 Move entry for `left' from persistent to live filter alist.
1016 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1017 Doc fixes.
1018 (frameset-filter-params): When restoring a frame, copy items added to
1019 `filtered', to avoid unwittingly modifying the original parameters.
1020 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1021 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1022
1023 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1024 to use looking-at-p instead of looking-at. (Bug#15028)
1025
10262013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 Revert introduction of isearch-filter-predicates (bug#14714).
1029 Rely on add-function instead.
1030 * isearch.el (isearch-filter-predicates): Rename it back to
1031 isearch-filter-predicate.
1032 (isearch-message-prefix): Use advice-function-mapc and advice
1033 properties to get the isearch-message-prefix.
1034 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1035 instead of run-hook-with-args-until-failure.
1036 (isearch-filter-visible): Not obsolete any more.
1037 * loadup.el: Preload nadvice.
1038 * replace.el (perform-replace): Revert to funcall
1039 instead of run-hook-with-args-until-failure.
1040 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1041 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1042 dired-isearch-filenames-toggle; make it into a proper minor mode.
1043 Use add/remove-function.
1044 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1045 Call the minor-mode rather than add/remove-hook.
1046 (dired-isearch-filter-filenames):
1047 Remove isearch-message-prefix property.
1048 * info.el (Info--search-loop): New function, extracted from Info-search.
1049 Funcall isearch-filter-predicate instead of
1050 run-hook-with-args-until-failure isearch-filter-predicates.
1051 (Info-search): Use it.
1052 (Info-mode): Use isearch-filter-predicate instead of
1053 isearch-filter-predicates.
1054
10552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1056
1057 Do not call to `selected-window' where it is assumed by default.
1058 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1059 `window-hscroll', `window-width', `window-height', `window-buffer',
1060 `window-frame', `window-start', `window-point', `next-window'
1061 and `window-display-table'.
1062 * abbrev.el (abbrev--default-expand):
1063 * bs.el (bs--show-with-configuration):
1064 * buff-menu.el (Buffer-menu-mouse-select):
1065 * calc/calc.el (calc):
1066 * calendar/calendar.el (calendar-generate-window):
1067 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1068 (diary-make-entry):
1069 * comint.el (send-invisible, comint-dynamic-complete-filename)
1070 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1071 * completion.el (complete):
1072 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1073 * disp-table.el (describe-current-display-table):
1074 * doc-view.el (doc-view-insert-image):
1075 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1076 * ehelp.el (with-electric-help):
1077 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1078 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1079 * emacs-lisp/helper.el (Helper-help-scroller):
1080 * emulation/cua-base.el (cua--post-command-handler-1):
1081 * eshell/esh-mode.el (eshell-output-filter):
1082 * ffap.el (ffap-gnus-wrapper):
1083 * help-macro.el (make-help-screen):
1084 * hilit-chg.el (highlight-compare-buffers):
1085 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1086 * hl-line.el (global-hl-line-highlight):
1087 * icomplete.el (icomplete-simple-completing-p):
1088 * isearch.el (isearch-done):
1089 * jit-lock.el (jit-lock-stealth-fontify):
1090 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1091 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1092 * mpc.el (mpc-tagbrowser, mpc):
1093 * net/rcirc.el (rcirc-any-buffer):
1094 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1095 * play/landmark.el (landmark-max-width, landmark-max-height):
1096 * play/zone.el (zone):
1097 * progmodes/compile.el (compilation-goto-locus):
1098 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1099 * progmodes/etags.el (find-tag-other-window):
1100 * progmodes/fortran.el (fortran-column-ruler):
1101 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1102 * progmodes/verilog-mode.el (verilog-point-text):
1103 * reposition.el (reposition-window):
1104 * rot13.el (toggle-rot13-mode):
1105 * server.el (server-switch-buffer):
1106 * shell.el (shell-dynamic-complete-command)
1107 (shell-dynamic-complete-environment-variable):
1108 * simple.el (insert-buffer, set-selective-display)
1109 (delete-completion-window):
1110 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1111 (speedbar-recenter):
1112 * startup.el (fancy-splash-head):
1113 * textmodes/ispell.el (ispell-command-loop):
1114 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1115 * tutorial.el (help-with-tutorial):
1116 * vc/add-log.el (add-change-log-entry):
1117 * vc/compare-w.el (compare-windows):
1118 * vc/ediff-help.el (ediff-indent-help-message):
1119 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1120 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1121 (ediff-setup-control-frame):
1122 * vc/emerge.el (emerge-position-region):
1123 * vc/pcvs-util.el (cvs-bury-buffer):
1124 * window.el (walk-windows, mouse-autoselect-window-select):
1125 * winner.el (winner-set-conf, winner-undo): Related users changed.
1126
11272013-08-05 Juanma Barranquero <lekktu@gmail.com>
1128
1129 * frameset.el (frameset--set-id): Doc fix.
1130 (frameset-frame-id, frameset-frame-id-equal-p)
1131 (frameset-locate-frame-id): New functions.
1132 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1133 (frameset-restore): Use them.
1134
11352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1136
1137 Do not call to `selected-frame' where it is assumed by default.
1138 Affected functions are `raise-frame', `redraw-frame',
1139 `frame-first-window', `frame-terminal' and `delete-frame'.
1140 * calendar/appt.el (appt-disp-window):
1141 * epg.el (epg-wait-for-completion):
1142 * follow.el (follow-delete-other-windows-and-split)
1143 (follow-avoid-tail-recenter):
1144 * international/mule.el (set-terminal-coding-system):
1145 * mail/rmail.el (rmail-mail-return):
1146 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1147 * progmodes/f90.el (f90-add-imenu-menu):
1148 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1149 * server.el (server-switch-buffer):
1150 * simple.el (delete-completion-window):
1151 * talk.el (talk):
1152 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1153 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1154 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1155 * vc/ediff.el (ediff-documentation): Related users changed.
1156 * frame.el (selected-terminal): Remove the leftover.
1157
11582013-08-05 Glenn Morris <rgm@gnu.org>
1159
1160 * calendar/calendar.el (calendar-generate-month):
1161 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1162 (calendar-generate-month, calendar-font-lock-keywords):
1163 Fix for calendar-day-header-width > length of any day name.
1164
11652013-08-05 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * desktop.el (desktop-clear): Use new name of sort predicate.
1168
1169 * frameset.el (frameset): Add docstring. Move :version property to its
1170 own `version' slot.
1171 (frameset-copy): Rename from copy-frameset.
1172 (frameset-p): Check more thoroughly.
1173 (frameset-prop): Do not check for :version, which is no longer a prop.
1174 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1175 Use new :never value instead of t.
1176 (frameset-filter-alist): Expand and clarify docstring.
1177 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1178 (frameset-filter-minibuffer, frameset-filter-save-param)
1179 (frameset-filter-restore-param, frameset-filter-iconified):
1180 Add pointer to docstring of frameset-filter-alist.
1181 (frameset-filter-params): Rename filter values to be more meaningful:
1182 :never instead of t, and reverse the meanings of :save and :restore.
1183 (frameset--process-minibuffer-frames): Clarify error message.
1184 (frameset-save): Avoid unnecessary and confusing call to framep.
1185 Use new BOA constructor for framesets.
1186 (frameset--reuse-list): Doc fix.
1187 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1188 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1189 (frameset-minibufferless-first-p): Doc fix.
1190 Rename from frameset-sort-frames-for-deletion.
1191 (frameset-restore): Doc fixes. Use new function names.
1192 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1193
11942013-08-04 Juanma Barranquero <lekktu@gmail.com>
1195
1196 * desktop.el (desktop-restore-forces-onscreen)
1197 (desktop-restore-reuses-frames): Document :keyword constant values.
1198 (desktop-filter-parameters-alist): Remove, now identical to
1199 frameset-filter-alist.
1200 (desktop--filter-tty*): Remove, moved to frameset.el.
1201 (desktop-save-frameset, desktop-restore-frameset):
1202 Do not pass :filters argument.
1203
1204 * frameset.el (frameset-live-filter-alist)
1205 (frameset-persistent-filter-alist): New variables.
1206 (frameset-filter-alist): Use them. Add autoload cookie.
1207 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1208 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1209 `frameset--id' (it's supposed to be internal to frameset.el).
1210 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1211 (frameset--initial-params): New function.
1212 (frameset--get-frame): Use it. Doc fix.
1213 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1214 Accept :all, not 'all.
1215 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1216 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1217 with fbound symbols. Fix frame id matching, and remove matching ids if
1218 the frame being restored is deleted. Obey :delete.
1219
12202013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * subr.el (macrop): New function.
1223 (text-clone--maintaining): New var.
1224 (text-clone--maintain): Rename from text-clone-maintain. Use it
1225 instead of inhibit-modification-hooks.
1226
1227 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1228 a proxy, so as handle autoloads and redefinitions of the target.
1229 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1230
1231 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1232 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1233 (pcase--mutually-exclusive-p): New function.
1234 (pcase--split-consp): Use it.
1235 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1236 mutually exclusive with the current predicate.
1237
1238 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1239 (edebug-macrop): Remove. Use `macrop' instead.
1240 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1241 (ad-macro-p):
1242 * eshell/esh-cmd.el (eshell-macrop):
1243 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1244
12452013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1248 (advice-mapc): New function, using it.
1249 (advice-function-member-p): New function.
1250 (advice--normalize): Store the cdr in advice--saved-rewrite since
1251 that's the part that will be changed.
1252 (advice--symbol-function): New function.
1253 (advice-remove): Handle removal before the function is defined.
1254 Adjust to new advice--saved-rewrite.
1255 (advice-member-p): Use advice-function-member-p and
1256 advice--symbol-function.
1257
12582013-08-04 Juanma Barranquero <lekktu@gmail.com>
1259
1260 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1261 (frameset-filter-minibuffer): Doc fix.
1262 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1263 (frameset--set-id, frameset--process-minibuffer-frames)
1264 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1265 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1266
1267 * desktop.el (desktop-clear): Only delete frames when called
1268 interactively and desktop-restore-frames is non-nil. Doc fix.
1269 (desktop-read): Set desktop-saved-frameset to nil.
1270
122013-08-04 Xue Fuqiao <xfq.free@gmail.com> 12712013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13 1272
14 * vc/vc.el (vc-ignore): Rewrite. 1273 * vc/vc.el (vc-ignore): Rewrite.
@@ -33,16 +1292,6 @@
33 (vc-bzr-ignore-completion-table): 1292 (vc-bzr-ignore-completion-table):
34 (vc-bzr-find-ignore-file): New functions. 1293 (vc-bzr-find-ignore-file): New functions.
35 1294
362013-08-04 Juanma Barranquero <lekktu@gmail.com>
37
38 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
39 (frameset-filter-minibuffer): Doc fix.
40 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
41
42 * desktop.el (desktop-clear): Only delete frames when called
43 interactively and desktop-restore-frames is non-nil. Doc fix.
44 (desktop-read): Set desktop-saved-frameset to nil.
45
462013-08-03 Juanma Barranquero <lekktu@gmail.com> 12952013-08-03 Juanma Barranquero <lekktu@gmail.com>
47 1296
48 * frameset.el (frameset-prop): New function and setter. 1297 * frameset.el (frameset-prop): New function and setter.