Minor rmail fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a574edbe
RS
12014-01-02 Richard Stallman <rms@gnu.org>
2
3 * mail/rmailmm.el (rmail-mime-message-p): Moved to rmail.el.
4 * mail/rmail.el (rmail-mime-message-p): Moved from rmailmm.el.
5 (rmail-epa-decrypt): Turn off mime processing.
6
7 * mail/rmail.el (rmail-make-in-reply-to-field):
8 Add parens in message-id.
9
10 * mail/rmail.el (rmail-get-coding-function): Variable.
11 (rmail-get-coding-system): Use it.
12
b66b98fe
VB
132014-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
14
15 * ses.el (ses-initial-global-parameters-re): New defconst, a
16 specific regexp is needed now that ses.el can handle both
17 file-format 2 (no local printers) and 3 (may have local printers).
18 (silence compiler): Add local variables needed for local printer
19 handling.
20 (ses-set-localvars): Handle hashmap initialisation.
21 (ses-paramlines-plist): Add param-line for number of local printers.
22 (ses-paramfmt-plist): New defconst, needed for code factorization
23 between functions `ses-set-parameter' and
24 `ses-file-format-extend-paramter-list'
25 (ses-make-local-printer-info): New defsubst.
26 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
27 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
28 (ses-cell-printer-aset): New defmacro.
29 (ses-local-printer-compile): New defun.
30 (ses-local-printer): New defmacro.
31 (ses-printer-validate, ses-call-printer): Add support for local
32 printer functions.
33 (ses-file-format-extend-paramter-list): New defun.
34 (ses-set-parameter): Use const `ses-paramfmt-plist' for code factorization.
35 (ses-load): Add support for local
36 printer functions.
37 (ses-read-printer): Update docstring and add support for local printer functions.
38 (ses-refresh-local-printer, ses-define-local-printer): New defun.
39 (ses-safe-printer): Add support for local printer functions.
40
04311a16
KH
412013-12-31 Eli Zaretskii <eliz@gnu.org>
42
43 * international/mule-conf.el: Unify the charset indian-is13194.
44 (indian-is13194): Specify unify-map.
45
c8d89778
LL
462013-12-31 Leo Liu <sdl.web@gmail.com>
47
48 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
49
e63ace37
DC
502013-12-30 Daniel Colascione <dancol@dancol.org>
51
9e0bf19a
DC
52 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
53 of printing a useless when we resume from sleep.
54
e63ace37
DC
55 * progmodes/sh-script.el
56 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
57 in indentation code. (Bug#16233)
58
e9d6c46a
JT
592013-12-28 João Távora <joaotavora@gmail.com>
60
61 * elec-pair.el (electric-pair-post-self-insert-function): Don't
62 open extra newlines at beginning of buffer. (Bug#16272)
63
bf7bea5d
EZ
642013-12-28 Eli Zaretskii <eliz@gnu.org>
65
66 * frame.el (window-system-for-display): Don't allow to create a
67 GUI frame from a -nw session on MS-Windows. (Bug#14739)
68
8449dd1f
GM
692013-12-28 Glenn Morris <rgm@gnu.org>
70
9c5a5c77
GM
71 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
72 Update callers.
73
74 * apropos.el (apropos-match-face):
75 * calculator.el (calculator-displayer):
76 * dabbrev.el (dabbrev-search-these-buffers-only):
77 * face-remap.el (buffer-face-mode-face):
78 * simple.el (yank-handled-properties):
79 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
80 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
81 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
82 (hashcash-double-spend-database):
83 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
84 (ruby-deep-indent-paren-style):
85 * textmodes/flyspell.el (flyspell-auto-correct-binding):
86 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
87 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
88 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
89 Specify custom types.
90
bb098075
GM
91 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
92 * bookmark.el (bookmark-bmenu-use-header-line):
93 * doc-view.el (doc-view-scale-internally):
94 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
95 * register.el (register-preview-delay):
96 * net/shr.el (shr-bullet):
97 * progmodes/cfengine.el (cfengine-cf-promises)
98 (cfengine-parameters-indent):
99 * progmodes/octave.el (inferior-octave-error-regexp-alist):
100 * textmodes/reftex-vars.el (reftex-label-regexps):
101 * vc/log-edit.el (log-edit-setup-add-author): Add version.
102
9c61f806
GM
103 * net/tls.el (tls-certtool-program): Fix default value.
104
105 * desktop.el (desktop-restore-in-current-display):
106 * newcomment.el (comment-empty-lines):
107 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
108 (idlwave-pad-keyword):
109 * progmodes/tcl.el (tcl-tab-always-indent):
110 * textmodes/reftex-vars.el (reftex-index-default-tag):
111 * elec-pair.el (electric-pair-skip-whitespace):
112 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
113
8449dd1f
GM
114 * emacs-lisp/authors.el (authors-ignored-files)
115 (authors-valid-file-names, authors-renamed-files-alist): Additions.
116
fdadeb49
JC
1172013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
118
72140a0f
GM
119 * shell.el (shell-dynamic-complete-command): Doc fix.
120 (shell--command-completion-data): Shell completion now matches
121 executable filenames from the current buffer's directory, on
122 systems in which this behaviour is the default (windows-nt, ms-dos).
fdadeb49 123
e572a7d8
LI
1242013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
125
126 * net/shr.el (shr-insert): Don't infloop if the width is zero.
127
7514d3f8
SM
1282013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
129
a4151f3b
SM
130 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
131 (bug#16251).
132
7514d3f8
SM
133 * electric.el: Move all electric-pair-* to elec-pair.el.
134 * elec-pair.el: New file, split from electric.el.
135
ac5758d1
LI
1362013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
137
138 * net/shr.el (shr-find-fill-point): Don't try to fill if the
139 indentation level is larger than the width, because that will
140 infloop.
141 (shr-insert): Fill repeatedly long texts, so that Japanese is
142 formatted correctly (bug#16263).
24a6b65e
LI
143 (shr-find-fill-point): Off by one error in comparison with the
144 indentation.
ac5758d1 145
7514d3f8 1462013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
147
148 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 149 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
150 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
151 if that keeps or improves their balance in buffers.
152 (electric-pair-delete-adjacent-pairs): Delete the pair when
153 backspacing over adjacent matched delimiters.
154 (electric-pair-open-extra-newline): Open extra newline when
155 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
156 (electric--sort-post-self-insertion-hook):
157 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
158 minor-modes are activated.
159 * simple.el (newline-and-indent): Call newline with interactive
160 set to t.
161 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
162 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
163 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
164 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
165 electric-pair-open-newline-between-pairs to nil.
166
fbcc63a3
FEG
1672013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
168
169 * progmodes/python.el: Use lexical-binding.
170 (python-nav-beginning-of-defun): Stop searching ASAP.
171
ed78d16c
XF
1722013-12-25 Xue Fuqiao <xfq.free@gmail.com>
173
174 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
175 Fix interactive spec. Doc fix. (Bug#15754)
176
38b2c142
KY
1772013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
178
179 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 180 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
181 Fix edebug spec (bug#16184).
182
3c856c14
LI
1832013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
184
83fa295c 185 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
186 (shr-insert): Don't infloop if we can't find a good place to break
187 the line (bug#16256).
3c856c14 188
01379221
FEG
1892013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
190
191 * progmodes/python.el:
192 (python-nav--lisp-forward-sexp): New function.
193 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
194 python-nav-lisp-forward-sexp-safe.
195 (python-nav--forward-sexp): New argument SAFE allows switching
196 forward sexp movement behavior for parens.
197 (python-nav-forward-sexp): Throw errors on unterminated parens
198 (Bug#16191).
199 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
200 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
201 (python-shell-buffer-substring):
202 Use `python-nav-forward-sexp-safe'.
01379221 203
99e4926f
LI
2042013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
205
206 * net/shr.el (shr-find-fill-point): Don't break lines before a
207 quotation mark.
c6c20584
LI
208 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
209 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 210 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 211
fec0e828
KN
2122013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
213
214 * net/eww.el (eww-form-textarea): Use a different face for
215 textareas than text input since they have different keymaps
216 (bug#16142).
217
89c868ad
FEG
2182013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
219
7514d3f8
SM
220 * progmodes/python.el (python-nav-beginning-of-statement):
221 Speed up (Bug#15295).
89c868ad 222
eeef121a
LI
2232013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
224
225 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
226 the window configuration.
227
121ea65f
EZ
2282013-12-24 Eli Zaretskii <eliz@gnu.org>
229
230 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
231 we run on MS-Windows or MS-DOS.
232
18cee9ec
MR
2332013-12-24 Martin Rudalics <rudalics@gmx.at>
234
235 * window.el (balance-windows-area): Call window-size instead of
236 window-height and window-width. Bug#16241.
237
58f2b9a5
LI
2382013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
239
240 * net/eww.el (eww-bookmark-quit): Remove.
241 (eww-bookmark-browse): Restore the window configuration when you
242 choose a bookmark (bug#16144).
243
d64b6308
DC
2442013-12-24 Daniel Colascione <dancol@dancol.org>
245
246 * icomplete.el: Remove redundant :group arguments to `defcustom'
247 throughout.
248 (icomplete-show-matches-on-no-input): New customizable variable.
249 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
250 we have something to show.
7514d3f8 251 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 252
0da54898
DC
2532013-12-23 Daniel Colascione <dancol@dancol.org>
254
255 * icomplete.el: Move `provide' to end of file.
256
b90aa4f4
TZ
2572013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
258
259 * net/gnutls.el (gnutls-verify-error): Add version tag.
260
8cd22a08
CY
2612013-12-23 Chong Yidong <cyd@gnu.org>
262
263 * subr.el (set-transient-map): Rename from
264 set-temporary-overlay-map. Doc fix.
265
266 * face-remap.el (text-scale-adjust):
267 * indent.el (indent-rigidly):
268 * kmacro.el (kmacro-call-macro):
269 * minibuffer.el (minibuffer-force-complete):
270 * repeat.el (repeat):
271 * simple.el (universal-argument--mode):
272 * calendar/todo-mode.el (todo-insert-item--next-param):
273 * progmodes/f90.el (f90-abbrev-start): Callers changed.
274
7510b021
CY
275 * indent.el (indent-rigidly): Use substitute-command-keys.
276
72140a0f 2772013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
278
279 * net/eww.el (eww-tag-select): Add text-property to jump to next
280 select field.
e9dc713d 281 (eww): Add non-supported ftp error.
56890ecd 282
1f87a56c
DG
2832013-12-22 Dmitry Gutov <dgutov@yandex.ru>
284
285 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
286 comments. Handle electric indent after typing `?' and `!'.
287
dca38cf9
CY
2882013-12-22 Chong Yidong <cyd@gnu.org>
289
290 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
291 applicable to a frame, fall back on the defface spec.
292 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 293
f2351498
DG
2942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
297 after `{'. We need it after block openers, and it doesn't seem
298 to hurt after hash openers.
299
6cddebc1
DG
3002013-12-22 Dmitry Gutov <dgutov@yandex.ru>
301
302 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
303 extracted from `ruby-smie-rules'.
304 (ruby--electric-indent-chars): New variable.
305 (ruby--electric-indent-p): New function.
306 (ruby-mode): Use `electric-indent-functions' instead of
307 `electric-indent-chars'.
308
65a1da00
DG
3092013-12-22 Dmitry Gutov <dgutov@yandex.ru>
310
311 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
312 docstring.
313 (ruby-smie-rules): Indent plus one level after `=>'.
314
b51ad4cf
RS
3152013-12-21 Richard Stallman <rms@gnu.org>
316
317 * simple.el (newline): Doc fix.
318
72140a0f 3192013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 320
e9dc713d 321 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
322 (eww-history-browse, eww-history-quit, eww-history-kill)
323 (eww-history-mode-map, eww-history-mode): New command and
324 functions to list browser histories.
e9dc713d
JB
325 (eww-form-text): Support text form with disabled
326 and readonly attributes.
327 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 328
5e1901c1
RS
3292013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
330
331 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
332 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
333 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
334 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
335 Use `user-error'.
336 (eww-bookmark-mode-map): Add menu.
337 (eww-render, eww-mode): Use `setq-local'.
338 (eww-tool-bar-map): New variable.
339 (eww-mode): Set `tool-bar-map'.
340 (eww-view-source): Check for `html-mode' with `fboundp'.
341
073d5cfd
LMI
3422013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
343
344 * net/shr.el (shr--extract-best-source): Don't bug out on audio
345 elements with text inside. Also remove debugging.
346
41cf3d11
JD
3472013-12-21 Jan Djärv <jan.h.d@swipnet.se>
348
349 * cus-start.el (all): Add ns-use-srgb-colorspace.
350
aac2b673
CY
3512013-12-21 Chong Yidong <cyd@gnu.org>
352
353 * custom.el (custom-theme-recalc-face): Do nothing if the face is
354 undefined. Thus, theme settings for undefined faces do not take
355 effect until the faces are defined with defface, the same as with
356 theme variables.
357
358 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
359 (face-spec-reset-face): Don't assign extra properties in temacs.
360 (face-spec-recalc): Apply X resources too.
361
bacb0e77
CY
3622013-12-21 Chong Yidong <cyd@gnu.org>
363
364 * faces.el (face-spec-set):
365 * cus-face.el (custom-theme-set-faces, custom-set-faces):
366 * custom.el (defface): Doc fixes (Bug#16203).
367
77221051
CY
368 * indent.el (indent-rigidly-map): Add docstring, and move commands
369 into named functions.
370 (indent-rigidly-left, indent-rigidly-right)
371 (indent-rigidly-left-to-tab-stop)
372 (indent-rigidly-right-to-tab-stop): New functions. Decide on
373 indentation direction based on bidi direction, and accumulate
374 sequential commands in a single undo boundary.
375 (indent-rigidly--pop-undo): New utility function.
376
e0eb0550
JB
3772013-12-20 Juanma Barranquero <lekktu@gmail.com>
378
379 * faces.el (read-face-name): Require crm.el when using crm-separator.
380
3282bd2e
DC
3812013-12-20 Daniel Colascione <dancol@dancol.org>
382
383 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
384 so that we don't reflow comments into the shebang line.
385
1d42e5b6
JL
3862013-12-20 Juri Linkov <juri@jurta.org>
387
388 * saveplace.el (save-place-to-alist): Add `dired-filename' as
389 a position when `dired-directory' is non-nil. Check integer
390 positions with `integerp'.
391 (toggle-save-place, save-places-to-alist): Add check for
392 `dired-directory'.
393 (save-place-find-file-hook): Check integer positions with
394 `integerp'.
395 (save-place-dired-hook): Use `dired-goto-file' when
396 `dired-filename' is found in the assoc list. Check integer
397 positions with `integerp'.
398 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
399
400 * dired.el (dired-initial-position-hook): Rename back from
401 `dired-initial-point-hook'.
402 (dired-initial-position): Rename `dired-initial-point-hook' to
403 `dired-initial-position-hook'.
404 (dired-file-name-at-point): Doc fix. (Bug#15329)
405
24da7273
JL
4062013-12-20 Juri Linkov <juri@jurta.org>
407
408 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
409 (read-regexp-suggestions): New function.
410 (read-regexp): Use `read-regexp-defaults-function' to get default values.
411 Use `read-regexp-suggestions'. Add non-empty default to history
412 for empty input.
413 (occur-read-regexp-defaults-function): Remove function.
414 (occur-read-primary-args): Use `regexp-history-last' instead of
415 `occur-read-regexp-defaults-function'.
416
417 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
418 (hi-lock-line-face-buffer, hi-lock-face-buffer)
419 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
420 `hi-lock-read-regexp-defaults-function'. Doc fix.
421 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
422 with `find-tag-default-as-symbol-regexp'. Doc fix.
423 (hi-lock-read-regexp-defaults): Remove function.
424 (hi-lock-regexp-okay): Add check for null.
425
426 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
427 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
428
429 * subr.el (find-tag-default-as-symbol-regexp): New function.
430 (find-tag-default-as-regexp): Move symbol regexp formatting to
431 `find-tag-default-as-symbol-regexp'.
432
137f57c8
S
4332013-12-20 E Sabof <esabof@gmail.com> (tiny change)
434
435 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
436 (Bug#14179)
437
f3a66082
SB
4382013-12-20 Stephen Berman <stephen.berman@gmx.net>
439
440 * calendar/todo-mode.el: New implementation of item insertion
441 commands and key bindings.
442 (todo-key-prompt): New face.
443 (todo-insert-item): New command.
444 (todo-insert-item--parameters): New defconst, replacing defvar
445 todo-insertion-commands-args-genlist.
446 (todo-insert-item--param-key-alist): New defconst, replacing
447 defvar todo-insertion-commands-arg-key-list.
448 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
449 (todo-insert-item--argsleft, todo-insert-item--apply-args)
450 (todo-insert-item--next-param): New functions.
451 (todo-insert-item--args, todo-insert-item--argleft)
452 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
453 New variables.
454 (todo-key-bindings-t): Change binding of "i" from
455 todo-insertion-map to todo-insert-item.
456 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
457 (todo-insertion-command-name, todo-insertion-commands-names)
458 (todo-define-insertion-command, todo-insertion-commands)
459 (todo-insertion-key-bindings, todo-insertion-map): Remove.
460
2f99433b
SB
4612013-12-20 Stephen Berman <stephen.berman@gmx.net>
462
463 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
464 (todo-toggle-item-highlighting): Use eval-and-compile instead of
465 eval-when-compile.
466 (todo-move-category): Allow choosing a non-existing todo file to
467 move the category to, and create that file.
468 (todo-default-priority): New user option.
469 (todo-set-item-priority): Use it.
470 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
471 (desktop-restore-file-buffer): Declare.
472 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
473 (todo-modes-set-2): Locally set desktop-save-buffer to
474 todo-desktop-save-buffer.
475 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
476 (auto-mode-alist): Add autoload cookie.
477
131e4695
BB
4782013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
479
480 * emacs-lisp/subr-x.el: Renamed from helpers.el.
481 helpers.el was a poor choice of name.
3cbfb935
BB
482 (string-remove-prefix): New function.
483 (string-remove-suffix): New function.
131e4695 484
c44de18d
MR
4852013-12-20 Martin Rudalics <rudalics@gmx.at>
486
487 Fix assignment for new window total sizes.
488 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
489 (window--pixel-to-total-1, window--pixel-to-total):
490 Fix calculation of new total sizes.
c44de18d 491
ca65efcc
VS
4922013-12-20 Vitalie Spinu <spinuvit@gmail.com>
493
494 * comint.el (comint-output-filter): Fix rear-nonsticky property
495 placement (Bug#16010).
496
a9574eb7
CY
4972013-12-20 Chong Yidong <cyd@gnu.org>
498
499 * faces.el (read-color): Minor fix for completion function.
500
b520f210
DG
5012013-12-20 Dmitry Gutov <dgutov@yandex.ru>
502
e0eb0550
JB
503 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
504 New option. (Bug#16182)
b520f210
DG
505 (ruby-smie--indent-to-stmt-p): Use it.
506 (ruby-smie-rules): Revert the logic in the handling of `when'.
507 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
508 (ruby-deep-arglist, ruby-deep-indent-paren)
509 (ruby-deep-indent-paren-style): Update docstrings to note that the
510 vars don't have any effect with SMIE.
511
26b75b45
JB
5122013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
513
514 * calc/calc.el (calc-enter, calc-pop): Use the variable
515 `calc-context-sensitive-enter'.
516
cf91cee7
LMI
5172013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
518
519 * net/shr.el (shr-insert): Protect against infloops in degenerate
520 tables.
521
51d971b4
RS
5222013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
523
524 * progmodes/octave.el (octave): Add link to manual and octave
525 homepage.
526 (octave-mode-menu): Link to octave-mode manual.
527
8c2e462a
LL
5282013-12-20 Leo Liu <sdl.web@gmail.com>
529
530 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
531 insertion using skeleton-end-newline. (Bug#16138)
532
501158bc
JL
5332013-12-20 Juri Linkov <juri@jurta.org>
534
535 * replace.el (occur-engine): Use `add-face-text-property'
536 to add the face property to matches and titles. (Bug#14645)
537
538 * hi-lock.el (hi-green): Use lighter color "light green" closer to
539 the palette of other hi-lock colors.
540 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
541
50ab1da6
JL
5422013-12-19 Juri Linkov <juri@jurta.org>
543
544 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
545 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
546 (minibuffer-history-symbol): Move variable declaration closer to
547 its usage.
548
549 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
550 (Bug#14785)
551
3d6e95e7
JL
5522013-12-19 Juri Linkov <juri@jurta.org>
553
554 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
555 New function.
556 (log-edit-hook): Add it to :options. (Bug#16170)
557
b41594fd
JL
5582013-12-19 Juri Linkov <juri@jurta.org>
559
560 * simple.el (eval-expression-print-format): Don't check for
561 command names and the last command. Always display additional
562 formats of the integer result in the echo area, and insert them
563 to the current buffer only with a zero prefix arg.
564 Display character when char-displayable-p is non-nil.
565 (eval-expression): With a zero prefix arg, set `print-length' and
566 `print-level' to nil, and insert the integer values from
567 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
568
569 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
570 `eval-last-sexp-arg-internal'. Doc fix.
571 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
572 `eval-last-sexp-print-value'. Doc fix.
573 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
574 Set `print-length' and `print-level' to nil when arg is zero.
575 (eval-last-sexp): Doc fix.
576 (eval-defun-2): Print the integer values from
577 `eval-expression-print-format' at the end.
578
579 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
580 values from `eval-expression-print-format' at the end.
581
582 * ielm.el (ielm-eval-input): Print the integer
583 values from `eval-expression-print-format' at the end.
584
8f2be364
TZ
5852013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
586
587 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
588 2013-12-11T19:01:44Z!tzz@lifelogs.com.
589
2230a6e3
SM
5902013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
593 (hl-line-highlight, global-hl-line-highlight): Use it.
594 (hl-line-overlay): Use defvar-local.
595
1269a680
JD
5962013-12-19 Jan Djärv <jan.h.d@swipnet.se>
597
598 * term/ns-win.el: Require dnd.
599 (global-map): Remove drag items.
600 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
601 (ns-set-background-at-mouse):
602 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
603 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
604 New functions.
1269a680 605
049638ad
GM
6062013-12-19 Glenn Morris <rgm@gnu.org>
607
608 * emacs-lisp/ert.el (ert-select-tests):
609 Fix string/symbol mixup. (Bug#16121)
610
ce41edb4
DG
6112013-12-19 Dmitry Gutov <dgutov@yandex.ru>
612
613 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
614 keywords to their parent.
615
7e1549c9
DG
6162013-12-19 Dmitry Gutov <dgutov@yandex.ru>
617
618 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
619 first arg to be a string (fixed dead code), or an operator symbol.
620 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
621 operator symbols.
622 (ruby-smie-rules): Remove parent token check in the `.' clause, it
623 did nothing. Don't respond to `(:after ".")', it will be called
624 with :before anyway. Remove the ` @ ' rule, it didn't seem to
625 change anything. Only return indentation for binary operators
626 when they are hanging. De-dent opening paren when its parent is
627 `.', otherwise it looks bad when the dot is not at bol or eol
628 (bug#16182).
629
3ee4cd64
JL
6302013-12-19 Juri Linkov <juri@jurta.org>
631
632 * replace.el (query-replace-read-args): Split a non-negative arg
633 and a negative arg into separate elements.
634 (query-replace, query-replace-regexp, replace-string)
635 (replace-regexp): Add arg `backward'. Doc fix.
636 (replace-match-maybe-edit): When new arg `backward' is non-nil,
637 move point to the beginning of the match.
638 (replace-search, replace-highlight): Use new arg `backward'
639 to set the value of `isearch-forward'.
640 (perform-replace): Add arg `backward' and use it to perform
641 replacement backward. (Bug#14979)
642
643 * isearch.el (isearch-query-replace): Use a negative prefix arg
644 to call `perform-replace' with a non-nil arg `backward'.
645
0cda6b7b
JL
6462013-12-18 Juri Linkov <juri@jurta.org>
647
648 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
649 to the default list. Move `log-edit-show-files' to the end.
650 Add more available functions to options.
651 (log-edit): Move default specific settings to
652 `log-edit-insert-message-template'. Don't move point.
653 (log-edit-insert-message-template): New function.
654 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
655 (Bug#16170)
656
b216f0a6
JL
6572013-12-18 Juri Linkov <juri@jurta.org>
658
659 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
660 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
661
1d1c55dc
LL
6622013-12-18 Leo Liu <sdl.web@gmail.com>
663
e9dc713d
JB
664 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
665 (Bug#16186)
1d1c55dc 666
64e4c76e
EZ
6672013-12-18 Eli Zaretskii <eliz@gnu.org>
668
669 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
670 formats for displaying file sizes when the -s switch is given.
671 Instead, compute a separate format for displaying the size in
672 blocks, which is displayed in addition to the "regular" size.
673 When -h is given in addition to -s, produce size in blocks in
674 human-readable form as well. (Bug#16179)
675
b2984e39
TH
6762013-12-18 Tassilo Horn <tsdh@gnu.org>
677
2230a6e3
SM
678 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
679 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 680
50ff2e06
CY
6812013-12-18 Chong Yidong <cyd@gnu.org>
682
0081bc84
CY
683 * cus-edit.el (custom-magic-alist): Fix "themed" description
684 (Bug#14348).
685
a7ee9424
CY
686 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
687 is non-nil, do not create a new entry in the symbol's theme-value
688 or theme-face property; update theme-settings only (Bug#14664).
18874304 689 (custom-available-themes): Doc fix.
a7ee9424 690
8f942537
CY
691 * cus-theme.el (custom-new-theme-mode-map): Add bindings
692 (Bug#15674).
693
50ff2e06
CY
694 * replace.el (occur-engine): Avoid infloop (Bug#7593).
695
83c60f60
KI
6962013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
697
698 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
699 (Bug#13914).
700
e0eb0550 7012013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
702
703 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
704
1f41ee56
GM
7052013-12-18 Glenn Morris <rgm@gnu.org>
706
707 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 708 * cus-start.el (load-prefer-newer): New option.
1f41ee56 709
e82134b1
LW
7102013-12-18 Le Wang <l26wang@gmail.com>
711
2230a6e3
SM
712 * comint.el (comint-previous-matching-input-from-input):
713 Retain point (Bug#13404).
e82134b1 714
33f5d4c1
CY
7152013-12-18 Chong Yidong <cyd@gnu.org>
716
717 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
718
ccc9f6dc
GM
7192013-12-18 Glenn Morris <rgm@gnu.org>
720
721 * mail/emacsbug.el (report-emacs-bug):
722 Only mention enable-multibyte-characters if non-standard.
723
33dd8e95
JL
7242013-12-17 Juri Linkov <juri@jurta.org>
725
726 * arc-mode.el (archive-extract-by-file): Check if directory exists
727 before deletion to not show irrelevant errors if it doesn't exist.
728
7a409b30
JL
7292013-12-17 Juri Linkov <juri@jurta.org>
730
731 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
732 (Bug#14751)
733
734 * net/eww.el (browse-web): Add alias to `eww'.
735 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
736 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
737
738 * net/browse-url.el (browse-url-browser-function): Move `eww'
739 closer to similar functions.
740
741 * startup.el (fancy-startup-screen, fancy-about-screen):
742 Set browse-url-browser-function to eww-browse-url locally.
743 (Bug#14751)
744
2d6b6005
SM
7452013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * window.el (window--pixel-to-total): Remove unused `mini' var.
748 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
749 (split-window): Remove unused `new' var.
750 (window--display-buffer): Remove unused `frame' and `delta' vars.
751 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
752 and display-width'.
753
cf2b7efc
MR
7542013-12-17 Martin Rudalics <rudalics@gmx.at>
755
756 * dired.el (dired-mark-pop-up):
757 * register.el (register-preview): Don't bind
758 split-height-threshold here since it's now done in
759 display-buffer-below-selected.
760
ed3af8a7 7612013-12-17 oblique <psyberbits@gmail.com> (tiny change)
762
763 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
764 xterm-rgb-convert-to-16bit.
765 (rxvt-register-default-colors): Standardize with
766 xterm-register-default-colors (Bug#14078).
767
76da3455
DK
7682013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
769
770 * simple.el (kill-region): Pass mark first, then point, so that
771 kill-append works right (Bug#12819).
772 (copy-region-as-kill, kill-ring-save): Likewise.
773
2b84d763
LL
7742013-12-17 Leo Liu <sdl.web@gmail.com>
775
776 * net/rcirc.el (rcirc-add-face):
777 * eshell/em-prompt.el (eshell-emit-prompt):
778 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
779 (Bug#16167)
780
e2f6a0bc
CY
7812013-12-17 Chong Yidong <cyd@gnu.org>
782
783 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
784 Suggested by Xue Fuqiao.
785
35b249a6
DG
7862013-12-17 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
789
e9145444
SM
7902013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * net/shr.el (shr-insert-document): Remove unused var
793 `shr-preliminary-table-render'.
794 (shr-rescale-image): Remove unused arg `force'.
795 (shr-put-image): Update calls accordingly.
796 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
797
5556c0ce
DG
7982013-12-17 Dmitry Gutov <dgutov@yandex.ru>
799
800 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
801 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
802 :close-all, to see which indentation method to use (Bug#16116).
803 (smie-rules-function): Document the method :close-all.
804
11bade0a
LMI
8052013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
806
1c4b1e61
LMI
807 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
808
11bade0a
LMI
809 * net/eww.el (eww-display-html): If we can't find the anchor we're
810 looking for, then go to point-min.
811
8fb8c4f3
PE
8122013-12-16 Paul Eggert <eggert@cs.ucla.edu>
813
814 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
815 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
816 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
817 Expand dir too, in case it's relative.
818
6c8e0ae6
JL
8192013-12-16 Juri Linkov <juri@jurta.org>
820
821 * desktop.el (desktop-auto-save-timeout): Change default to
822 `auto-save-timeout'. Doc fix.
823 (desktop-save): Skip the timestamp in desktop-saved-frameset
824 when checking for auto-save changes.
825 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
826 `desktop-auto-save' is called repeatedly by the idle timer.
827 (desktop-auto-save-set-timer): Replace `run-with-timer' with
828 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
829 (Bug#15331)
830
2178e858
JL
8312013-12-16 Juri Linkov <juri@jurta.org>
832
833 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
834 (Bug#16035)
835 (isearch-pre-command-hook): Check `this-command' for symbolp.
836
39cb42c6
SM
8372013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
840
5b9b750a
TZ
8412013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
842
843 * progmodes/cfengine.el (cfengine3--current-word): Remove.
844 (cfengine3--current-function): Bring in the current-function
845 functionality from `cfengine3--current-word'.
846 (cfengine3-completion-function): Bring in the
847 bounds-of-current-word functionality from
848 `cfengine3--current-word'.
849
d144ef06
MR
8502013-12-16 Martin Rudalics <rudalics@gmx.at>
851
39cb42c6
SM
852 * window.el (display-buffer-below-selected):
853 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 854
a8bbe298
LL
8552013-12-16 Leo Liu <sdl.web@gmail.com>
856
857 * progmodes/compile.el (compile-goto-error): Do not push-mark.
858 Remove NOMSG arg and all uses changed.
859
2013a2f9
SM
8602013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
863 (cua--deactivate-rectangle): Don't deactivate the mark.
864 (cua-set-rectangle-mark): Don't set mark-active since
865 cua--activate-rectangle already does it for us.
866 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
867 non-rectangular region.
868
869 * emulation/cua-base.el (cua-repeat-replace-region):
870 Use with-current-buffer.
871
872 * net/gnutls.el: Use cl-lib.
873 (gnutls-negotiate): `mapcan' -> cl-mapcan.
874
5ae811dd
TZ
8752013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * emacs-lisp/package.el (package-built-in-p): Support both
878 built-in and the package.el converted package descriptions.
879 (package-show-package-list): Allow keywords.
880 (package-keyword-button-action): Use it instead of
881 `finder-list-matches'.
882 (package-menu-filter-interactive): Interactive filtering (by
883 keyword) function.
884 (package-menu--generate): Support keywords and change keymappings
885 and headers when they are given.
886 (package--has-keyword-p): Helper function.
887 (package-menu--refresh): Use it.
888 (package--mapc): Helper function.
889 (package-all-keywords): Use it.
890 (package-menu-mode-map): Set up menu items and keybindings to
891 provide a filtering UI.
892
31b4827e
TZ
8932013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
894
895 * net/gnutls.el (gnutls-verify-error): New defcustom to control
896 the behavior when a certificate fails validation. Defaults to
897 old behavior: never abort, just warn.
898 (gnutls-negotiate): Use it.
899
f93cc74f
MR
9002013-12-14 Martin Rudalics <rudalics@gmx.at>
901
902 * window.el (display-buffer-below-selected): Never split window
903 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
904
f77d7d17
TW
9052013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
906
907 * emacs-lisp/package.el (package--prepare-dependencies): New function.
908 (package-buffer-info): Use it (bug#15108).
aa2bddd7 909
7514d3f8
SM
9102013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
911
aa2bddd7 912 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 913 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 914
276bc333
DG
9152013-12-14 Dmitry Gutov <dgutov@yandex.ru>
916
917 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
918 open-paren tokens when preceded by a open-paren, too.
919 (ruby-smie-rules): Handle virtual indentation after open-paren
920 tokens specially. If there is code between it and eol, return the
921 column where is starts (Bug#16118).
922
d43957f3
TZ
9232013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
924
a5c1ac0c 925 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 926 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
927 (cfengine3--current-word): Fix parameters.
928 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
929 (cfengine3-completion-function, cfengine3--current-function):
930 Use `assq' for symbols.
d43957f3
TZ
931 (cfengine3--current-function): Fix `cfengine3--current-word' call.
932
06a4f110
GM
9332013-12-13 Glenn Morris <rgm@gnu.org>
934
935 * loadup.el (load-path): Warn if site-load or site-init changes it.
936 No more need to reset it when bootstrapping.
937
978a5fda
TZ
9382013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
939
940 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
941 locations for cf-promises.
942 (cfengine-mode-syntax-functions-regex): New caching variable.
943 (cfengine3-fallback-syntax): Fallback syntax for cases where
944 cf-promises doesn't run.
945 (cfengine3--current-word): Reimplement using
946 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
947 (cfengine3-completion-function, cfengine3--current-function):
948 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
949 (cfengine3-clear-syntax-cache): New function.
950 (cfengine3-make-syntax-cache): Simplify and create
951 `cfengine-mode-syntax-functions-regex' on demand.
952 (cfengine3-format-function-docstring): Don't call
953 `cfengine3-make-syntax-cache' explicitly.
954
71e6691e
MR
9552013-12-13 Martin Rudalics <rudalics@gmx.at>
956
957 Fix windmove-find-other-window broken after pixelwise resizing
958 (Bug#16017).
959 * windmove.el (windmove-other-window-loc): Revert change from
960 2013-12-04.
961 (windmove-find-other-window): Call window-in-direction.
962 * window.el (window-in-direction): New arguments SIGN, WRAP and
963 MINI to emulate original windmove-find-other-window behavior.
964
84c73ba0
DG
9652013-12-13 Dmitry Gutov <dgutov@yandex.ru>
966
967 * simple.el (blink-matching--overlay): New variable.
968 (blink-matching-open): Instead of moving point, highlight the
969 matching paren with an overlay
970 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
971
972 * faces.el (paren-showing-faces, show-paren-match)
973 (show-paren-mismatch): Move from paren.el.
974
b9e20952
LL
9752013-12-13 Leo Liu <sdl.web@gmail.com>
976
977 * indent.el (indent-region): Disable progress reporter in
978 minibuffer. (Bug#16108)
979
980 * bindings.el (visual-order-cursor-movement): Fix version.
981
ce030451
FEG
9822013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
983
984 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
985 Also match after beginning of line.
986 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 987 files. Thanks to Russell Sim. (Bug#15378)
ce030451 988
4a9c6865
JL
9892013-12-13 Juri Linkov <juri@jurta.org>
990
991 * simple.el <Keypad support>: Remove key bindings duplicated
992 with bindings.el. (Bug#14397)
993
2bc170c3
JL
9942013-12-13 Juri Linkov <juri@jurta.org>
995
996 * comint.el (comint-mode-map): Replace `delete-char' with
997 `delete-forward-char'. (Bug#16109)
998
bc9222c9
FEG
9992013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1000
aa2bddd7 1001 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1002 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1003
cb3a1380
SM
10042013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1007 (advice--make): Pay attention to `depth'.
1008 (advice--make-1): Don't autoload commands eagerly.
1009 * emacs-lisp/elp.el (elp-instrument-function):
1010 * emacs-lisp/trace.el (trace-function-internal):
1011 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1012
1013 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1014
01633a17
EZ
10152013-12-12 Eli Zaretskii <eliz@gnu.org>
1016
1017 * term/w32-win.el (w32-handle-dropped-file):
1018 * startup.el (normal-top-level):
1019 * net/browse-url.el (browse-url-file-url):
1020 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1021 decode file names using 'utf-8' rather than
1022 file-name-coding-system.
1023
09faee72
FEG
10242013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1025
1026 * progmodes/python.el (python-indent-context)
1027 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1028 behavior for comment blocks. (Bug#15916)
09faee72 1029
f4f84024 10302013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1031
cb3a1380
SM
1032 * progmodes/python.el (python-indent-calculate-indentation):
1033 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1034 operators when they are just string constituents. (Bug#15812)
1035
d5ccb7be
JL
10362013-12-12 Juri Linkov <juri@jurta.org>
1037
1038 * uniquify.el (uniquify-buffer-name-style): Change default to
1039 `post-forward-angle-brackets'.
1040
1041 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1042 `uniquify'. Change default to `post-forward-angle-brackets'.
1043
7b3f5679
GM
10442013-12-11 Glenn Morris <rgm@gnu.org>
1045
1046 * emacs-lisp/package.el (finder-list-matches):
1047 Autoload rather than falsely declaring.
1048
f4fe8fdd
TZ
10492013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1050
1051 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1052 (eww-mode-map): Use them.
1053
3c29190f
MR
10542013-12-11 Martin Rudalics <rudalics@gmx.at>
1055
1056 * window.el (display-buffer-in-side-window): Fix doc-string
1057 (Bug#16115).
1058
0cd616a2
JB
10592013-12-11 Juanma Barranquero <lekktu@gmail.com>
1060
1061 * vc/vc-git.el: Silence byte-compiler warnings.
1062 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1063 (log-edit-set-header): Declare.
1064
3ef8e0d1
EZ
10652013-12-11 Eli Zaretskii <eliz@gnu.org>
1066
1067 * Makefile.in (custom-deps, finder-data): Run output file names
1068 through unmsys--file-name. (Bug#16099)
1069
afdadaf7
SM
10702013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1071
7ae3ae39 1072 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1073 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1074
5b4f37ab
SM
1075 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1076 instead of deleting the selection "by hand" (bug#16098).
1077 Rely on insert-for-yank to yank rectangles.
1078 (cua-highlight-region-shift-only): Mark obsolete.
1079 (cua-mode): Don't enable/disable transient-mark-mode,
1080 shift-select-mode (cua-mode works both with and without them), and
1081 pc-selection-mode (obsolete).
1082 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1083 (cua--deactivate-rectangle): Deactivate it.
1084
4b72c12b
SM
1085 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1086 (delete-selection-helper): Make sure yank starts at the top of the
1087 deleted region.
1088 (minibuffer-keyboard-quit): Use region-active-p.
1089
e82af72d
SM
1090 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1091
afdadaf7
SM
1092 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1093 to `delete' (bug#16109).
1094
ed4bc201
RS
10952013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1096
1097 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1098 info manual and show keybindings and set `:group' keyword.
1099
bb8097b9
JL
11002013-12-11 Juri Linkov <juri@jurta.org>
1101
1102 * delsel.el (delete-active-region): Let-bind `this-command'
1103 to prevent `kill-region' from changing its original value.
1104 (delete-selection-helper): Handle `overwrite-mode' for the type
1105 `kill' exactly the same way as for the type `t'.
1106 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1107 Support more commands. (Bug#13312)
1108
c1916ff5
JL
11092013-12-11 Juri Linkov <juri@jurta.org>
1110
1111 * bindings.el: Map kp keys to non-kp keys systematically
1112 with basic modifiers control, meta and shift. (Bug#14397)
1113
7514d3f8 11142013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1115
1116 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1117 "Close browser" menu items. Fix wrong function of "List
1118 bookmarks".
1119
4cc51eaf
JL
11202013-12-11 Juri Linkov <juri@jurta.org>
1121
1122 * misearch.el (multi-isearch-buffers): Set the value of
1123 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1124 arg of isearch-forward to t.
1125 (multi-isearch-buffers-regexp): Set the value of
1126 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1127 arg of isearch-forward-regexp to t.
1128 (multi-isearch-files): Set the value of
1129 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1130 arg of isearch-forward to t.
1131 (multi-isearch-files-regexp): Set the value of
1132 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1133 arg of isearch-forward-regexp to t. (Bug#16035)
1134
1135 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1136 arg of isearch-forward to t.
1137 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1138 arg of isearch-forward-regexp to t.
1139 (dired-isearch-filter-filenames): Remove unnecessary check for
1140 `dired-isearch-filenames'.
1141
1142 * comint.el (comint-history-isearch-backward):
1143 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1144 (comint-history-isearch-backward-regexp):
1145 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1146
ceac12b7
EZ
11472013-12-10 Eli Zaretskii <eliz@gnu.org>
1148
1149 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1150 unmsys--file-name. (Bug#16099)
1151
5a565782
TZ
11522013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1153
cb3a1380
SM
1154 * emacs-lisp/package.el (package-keyword-button-action):
1155 Remove finder.el require dependency.
5a565782 1156
a81fc7ba
TZ
11572013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1158
1159 * emacs-lisp/package.el: Require finder.el.
1160 (describe-package-1): Add keyword buttons.
1161 (package-make-button): New convenience function.
1162 (package-keyword-button-action): Keyword button action using
e0eb0550 1163 `finder-list-matches'.
a81fc7ba 1164
6aaca951
EZ
11652013-12-09 Eli Zaretskii <eliz@gnu.org>
1166
1167 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1168 last commit.
1169
a1099a91
MA
11702013-12-09 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1173 symlinked files.
1174
8212d9c0
DG
11752013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1176
1177 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1178 after the end of a percent literal.
1179
8f48d131
CD
11802013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1181
cb3a1380
SM
1182 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1183 Handle caret-delimited strings (Bug#16079).
8f48d131 1184
ff8c9764
DG
11852013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1186
cb3a1380
SM
1187 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1188 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1189 `ruby-parse-partial' (Bug#16078).
1190
d64643b4
LL
11912013-12-09 Leo Liu <sdl.web@gmail.com>
1192
1193 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1194
47e59c66
DG
11952013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1196
1197 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1198 (js-switch-indent-offset): New option.
1199 (js--proper-indentation): Use it. And handle the case when
1200 "default" is actually a key in an object literal.
1201 (js--same-line): New function.
1202 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1203 (js--indent-in-array-comp, js--array-comp-indentation):
1204 New functions.
47e59c66
DG
1205 (js--proper-indentation): Use them, to handle array comprehension
1206 continuations.
1207
974ebc9c
LL
12082013-12-08 Leo Liu <sdl.web@gmail.com>
1209
1210 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1211 (flymake-make-overlay): Remove arg MOUSE-FACE.
1212 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1213
27262e39
SM
12142013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1217 New function.
1218 (redisplay-highlight-region-function): Use it.
1219
1220 * emulation/cua-base.el (cua--explicit-region-start)
1221 (cua--last-region-shifted): Remove.
1222 (cua--deactivate): Use deactivate-mark.
1223 (cua--pre-command-handler-1): Don't handle shift-selection.
1224 (cua--post-command-handler-1): Don't change transient-mark-mode.
1225 (cua--select-keymaps): Use region-active-p rather than
1226 cua--explicit-region-start or cua--last-region-shifted.
1227 (cua-mode): Enable shift-select-mode.
1228
6407822c
LL
12292013-12-08 Leo Liu <sdl.web@gmail.com>
1230
27262e39
SM
1231 * progmodes/flymake.el (flymake-popup-current-error-menu):
1232 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1233 (flymake-posn-at-point-as-event, flymake-popup-menu)
1234 (flymake-make-emacs-menu): Remove. (Bug#16077)
1235
00a2b823
SM
12362013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1237
02033d49
SM
1238 * rect.el (rectangle-mark-mode): Activate mark even if
1239 transient-mark-mode is off (bug#16066).
1240 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1241 is > mark and at bolp.
1242
6f8dfccf
SM
1243 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1244 (region-extract-function): Use it.
1245 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1246 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1247 Delete functions.
1248 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1249 kill-ring-save, kill-region, delete-char, delete-forward-char.
1250 Ignore self-insert-iso.
1251
1252 * emulation/cua-gmrk.el (cua--init-global-mark):
1253 Ignore `self-insert-iso'.
1254
1255 * emulation/cua-base.el (cua--prefix-copy-handler)
1256 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1257 checking cua--rectangle.
1258 (cua-delete-region): Use region-extract-function.
1259 (cua-replace-region): Delete function.
1260 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1261 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1262 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1263 (cua--init-keymaps): Don't remap delete-selection commands.
1264 (cua-mode): Use delete-selection-mode instead of rolling our own
1265 (bug#16085).
1266
1267 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1268 Obey region-extract-function.
1269
00a2b823
SM
1270 Make registers and delete-selection-mode work on rectangles.
1271 * register.el (describe-register-1): Don't modify the register's value.
1272 (copy-to-register): Obey region-extract-function.
1273 * delsel.el (delete-active-region): Obey region-extract-function.
1274
a92fa5f1
LL
12752013-12-08 Leo Liu <sdl.web@gmail.com>
1276
1277 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1278 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1279 (flymake-compilation-prevents-syntax-check)
1280 (flymake-start-syntax-check-on-newline)
1281 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1282 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1283 (flymake-xml-program, flymake-master-file-dirs)
1284 (flymake-master-file-count-limit)
1285 (flymake-allowed-file-name-masks): Relocate.
1286 (flymake-makehash, flymake-float-time)
1287 (flymake-replace-regexp-in-string, flymake-split-string)
1288 (flymake-get-temp-dir): Remove.
1289 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1290 (flymake-current-row, flymake-selected-frame)
1291 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1292 related functions. (Bug#16077)
1293
73c8ceea
BB
12942013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1295
1296 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1297
faec28d9
TH
12982013-12-07 Tassilo Horn <tsdh@gnu.org>
1299
1300 * help-fns.el (describe-function-1): Use new advice-* functions
1301 rather than old ad-* functions. Fix function type description and
1302 source links for advised functions and subrs.
1303
e330b646
LMI
13042013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1305
00a2b823 1306 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1307
4803595d
MA
13082013-12-06 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * progmodes/compile.el (compilation-start):
1311 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1312
1313 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1314 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1315
fa834a93
DG
13162013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1317
00a2b823
SM
1318 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1319 Touch up the last change.
fa834a93 1320
b2856a6f
LL
13212013-12-06 Leo Liu <sdl.web@gmail.com>
1322
1323 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1324 (inferior-octave-startup): Always use "octave> " for prompt.
1325 (octave-goto-function-definition)
1326 (octave-sync-function-file-names)
1327 (octave-find-definition-default-filename): Remove redundant backquotes.
1328
af67e79a
DG
13292013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1330
1331 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1332 syntax for `?'.
1333 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1334 where appropriate already.
1335 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1336 end of method names (Bug#15874).
1337
bf093209
JL
13382013-12-06 Juri Linkov <juri@jurta.org>
1339
1340 * isearch.el (isearch--saved-overriding-local-map):
1341 New internal variable.
1342 (isearch-mode): Set it to the initial value of
1343 `overriding-terminal-local-map'.
1344 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1345 with `isearch--saved-overriding-local-map'. (Bug#16035)
1346
16588fad
DG
13472013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1348
00a2b823
SM
1349 * progmodes/octave.el (inferior-octave-completion-table):
1350 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1351 (Bug#11906). Update all references.
1352
1353 * minibuffer.el (completion-table-with-cache): New function.
1354
bf4906d7
CD
13552013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1356
1357 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1358
ff69c18f
TZ
13592013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1360
1361 * net/eww.el (eww-current-source): New variable to store page
1362 source.
1363 (eww-display-html, eww-mode, eww-save-history)
1364 (eww-restore-history): Use it.
1365 (eww-view-source): New command to view page source.
1366 Opportunistically uses `html-mode' to highlight the buffer.
1367 (eww-mode-map): Install it.
1368
b85eff45
MA
13692013-12-05 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * net/dbus.el (dbus-unregister-service)
1372 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1373 Fix docstring.
1374 (dbus-unregister-service): Skip :serial entries in
1375 `dbus-registered-objects-table'.
1376 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1377
39eb0899
TZ
13782013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1379
1380 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1381 around keywords with extra `split-string' argument.
1382
456760a5
MR
13832013-12-04 Martin Rudalics <rudalics@gmx.at>
1384
1385 * windmove.el (windmove-other-window-loc): Handle navigation
1386 between windows (excluding the minibuffer window - Bug#16017).
1387
81961e4c
MA
13882013-12-04 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1391 in D-Bus type syntax.
1392 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1393 preserve unibyte strings. (Bug#16048)
1394
8497f938
SM
13952013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1398 Call force-mode-line-update is the proper buffer (bug#16042).
1399
dda61916
DG
14002013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1401
1402 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1403 `log-edit-remember-comment', make argument optional. Adjust all
1404 callers.
1405 (log-edit-mode): Add `log-edit-remember-comment' to
1406 `kill-buffer-hook' locally.
1407 (log-edit-kill-buffer): Don't remember comment explicitly since
1408 the buffer is killed anyway.
1409
c085e5b9
JL
14102013-12-04 Juri Linkov <juri@jurta.org>
1411
1412 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1413 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1414
e0eb0550 14152013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1416
1417 * notifications.el (notifications-close-notification): Call the
81961e4c 1418 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1419
39fa32d6
KY
14202013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1421
1422 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1423
9139632a
JL
14242013-12-03 Juri Linkov <juri@jurta.org>
1425
1426 * progmodes/compile.el (compilation-start): Rename window alist
1427 entry `no-display-ok' to `allow-no-window'.
1428
1429 * simple.el (shell-command): Add window alist entry
1430 `allow-no-window' to `display-buffer'.
1431 (async-shell-command): Doc fix.
1432
1433 * window.el (display-buffer-no-window): New action function.
1434 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1435
0f457a37
DG
14362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1437
1438 * vc/log-edit.el (log-edit-set-header): Extract from
1439 `log-edit-toggle-header'.
1440 (log-edit-extract-headers): Separate the summary, when extracted
1441 from header, from the rest of the message with an empty line.
1442
1443 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1444 line, if present, to the Summary header.
1445
0962f376
SM
14462013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1449 in current-buffer (bug#16029).
1450
f345395c
HE
14512013-12-02 Helmut Eller <eller.helmut@gmail.com>
1452
1453 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1454 (debugger-mode-map): Bind it.
1455 (debugger--backtrace-base): New function.
1456 (debugger-eval-expression): Use it.
1457 (debugger-frame-number): Skip local vars when present.
1458 (debugger--locals-visible-p, debugger--insert-locals)
1459 (debugger--show-locals, debugger--hide-locals): New functions.
1460
a8a15d9d
MA
14612013-12-02 Michael Albinus <michael.albinus@gmx.de>
1462
1463 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1464 "LC_ALL".
1465 (tramp-get-remote-locale): New defun.
1466 (tramp-open-connection-setup-interactive-shell): Use it.
1467
0518b057
LL
14682013-12-02 Leo Liu <sdl.web@gmail.com>
1469
1470 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1471
1472 * progmodes/sh-script.el (sh-shell-process):
1473 * progmodes/octave.el (inferior-octave-process-live-p):
1474 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1475 (gdb-inferior-io-sentinel):
1476 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1477
3adc9c6d
DG
14782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1479
1480 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1481 `save-selected-window' to `log-edit-hide-buf'. This makes
1482 `log-edit-show-files' idempotent.
1483 (log-edit-show-files): Mark the new window as dedicated.
1484
47e8b74e
DG
14852013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * vc/log-edit.el (log-edit-mode-map): Add binding for
1488 `log-edit-kill-biffer'.
1489 (log-edit-hide-buf): Add a FIXME comment.
1490 (log-edit-add-new-comment): New function, extracted from
1491 `log-edit-done'.
1492 (log-edit-done, log-edit-add-to-changelog): Use it.
1493 (log-edit-kill-buffer): New command.
1494
1f6e1bb0
LMI
14952013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1496
1497 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1498 instead of killing the buffer.
1499
fb651d15
SM
15002013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1503
8feacce0
RS
15042013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1505
fb651d15 1506 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1507 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1508 (eww-form-checkbox, eww-toggle-checkbox):
1509 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1510
e0eb0550 1511 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1512 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1513 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1514 no :src tag was specified.
1515
fb651d15 1516 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1517 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1518 Use \\` to match beginning of string instead of ^.
1519 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1520 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1521
177948a5
RS
1522 * net/shr.el (shr-tag-video): Display content for video if no
1523 poster is available.
eb2dd24d 1524 (shr-tag-audio): Add support for <audio> tag.
177948a5 1525
e0eb0550 1526 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1527 (eww-process-text-input): Treat input types in
1528 `eww-text-input-types' as text.
1529
8feacce0
RS
1530 * net/shr.el (shr-tag-table): Fix comment typo.
1531
513562a1
LMI
15322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1533
1534 * net/eww.el (eww-follow-link): New command to avoid reloading
1535 pages when we follow #target links (bug#15243).
de8a5633 1536 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1537
9dd99753
KN
15382013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1539
1540 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1541 forms.
1542
3e9876de
LMI
15432013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1544
1545 * net/eww.el (eww-restore-history): Update the window title after
1546 moving in the history.
ab6dea82 1547 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1548
52789f7f
DG
15492013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * vc/log-edit.el (log-edit-mode-map): Add binding for
1552 `log-edit-beginning-of-line'.
1553 (log-edit-setup-add-author): New user option.
1554 (log-edit-beginning-of-line): New command.
1555 (log-edit): Move major mode call above the contents setup so that
1556 the local variable values are already applied.
1557 (log-edit): Only insert "Author: " when
1558 `log-edit-setup-add-author' is non-nil.
1559 (log-edit): When SETUP is non-nil, position point after ": "
1560 instead of point-min.
1561
2e6710c3
GM
15622013-12-01 Glenn Morris <rgm@gnu.org>
1563
1564 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1565
fadec31f
EZ
15662013-11-30 Eli Zaretskii <eliz@gnu.org>
1567
1568 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1569 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1570 visible. (Bug#16014)
1571
10634b40 15722013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1573
1574 Support resizing frames and windows pixelwise.
1575 * cus-start.el (frame-resize-pixelwise)
1576 (window-resize-pixelwise): New entries.
1577 * emacs-lisp/debug.el (debug): Use window-total-height instead
1578 of window-total-size.
1579 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1580 * help.el (describe-bindings-internal): Call help-buffer
1581 (temp-buffer-max-width): New option.
1582 (resize-temp-buffer-window, help-window-setup)
1583 (with-help-window): Rewrite.
1584 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1585 dragging dividers.
1586 * window.el (frame-char-size, window-min-pixel-height)
1587 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1588 (window-min-pixel-width, window-safe-min-pixel-size)
1589 (window-combination-p, window-safe-min-size)
1590 (window-resizable-p, window--size-to-pixel)
1591 (window--pixel-to-size, window--resize-apply-p): New functions.
1592 (window-safe-min-height): Fix doc-string.
1593 (window-size, window-min-size, window--min-size-1)
1594 (window-sizable, window-sizable-p, window--min-delta-1)
1595 (window-min-delta, window--max-delta-1, window-max-delta)
1596 (window--resizable, window--resizable-p, window-resizable)
1597 (window-full-height-p, window-full-width-p, window-at-side-p)
1598 (window--in-direction-2, window-in-direction)
1599 (window--resize-reset-1, window--resize-mini-window)
1600 (window-resize, window-resize-no-error)
1601 (window--resize-child-windows-normal)
1602 (window--resize-child-windows, window--resize-siblings)
1603 (window--resize-this-window, window--resize-root-window)
1604 (window--resize-root-window-vertically)
1605 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1606 (maximize-window, minimize-window, delete-window)
1607 (quit-restore-window, window-split-min-size, split-window)
1608 (balance-windows-2, balance-windows)
1609 (balance-windows-area-adjust, balance-windows-area)
1610 (window--state-get-1, window-state-get, window--state-put-1)
1611 (window--state-put-2, window-state-put)
fb651d15
SM
1612 (display-buffer-record-window, window--display-buffer):
1613 Make functions handle pixelwise sizing of windows.
880e6158 1614 (display-buffer--action-function-custom-type)
fb651d15
SM
1615 (display-buffer-fallback-action):
1616 Add display-buffer-in-previous-window.
880e6158
MR
1617 (display-buffer-use-some-window): Resize window to height it had
1618 before.
1619 (fit-window-to-buffer-horizontally): New option.
1620 (fit-frame-to-buffer): Describe new values.
1621 (fit-frame-to-buffer-bottom-margin): Replace with
1622 fit-frame-to-buffer-margins.
1623 (window--sanitize-margin): New function.
1624 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1625 using window-text-pixel-size.
1626
f9b697dd
GM
16272013-11-30 Glenn Morris <rgm@gnu.org>
1628
3e2fb4db
GM
1629 * emacs-lisp/bytecomp.el (byte-compile-form):
1630 Make the `interactive-only' warning like the `obsolete' one.
1631 * comint.el (comint-run):
1632 * files.el (insert-file-literally, insert-file):
1633 * replace.el (replace-string, replace-regexp):
1634 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1635 (goto-line, insert-buffer, next-line, previous-line):
1636 Tweak `interactive-only' spec.
1637
f9b697dd
GM
1638 Stop keeping (most) generated cedet grammar files in the repository.
1639 * Makefile.in (semantic): New.
1640 (compile-main): Depend on semantic.
1641
da048127
SM
16422013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1643
7784b779
SM
1644 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1645 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1646
4e36a6a6
SM
1647 * uniquify.el (uniquify-buffer-name-style): Change default.
1648
1649 * loadup.el: Preload "uniquify".
1650
e0ba1308
SM
1651 * time.el (display-time-update): Update all mode lines (bug#15999).
1652
da048127
SM
1653 * electric.el (electric-indent-mode): Enable by default.
1654 * loadup.el: Preload "electric".
1655
015b3b3e
BB
16562013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1657
1658 * emacs-lisp/helpers.el (string-empty-p): New function.
1659 (string-blank-p): New function.
1660
7efb806d
AP
16612013-11-29 Andreas Politz <politza@hochschule-trier.de>
1662
1663 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1664 (Bug#14029).
1665
c8f0efc2
AP
16662013-11-29 Andreas Politz <politza@fh-trier.de>
1667 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1668 allow non-lambda lists as functions.
1669 (imenu--in-alist): Don't recurse into non-subalists.
1670 (imenu): Don't pass function itself as an argument (Bug#14029).
1671
bd15d9d1
SM
16722013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * progmodes/python.el (python-mode-map): Remove binding for ":".
1675 (python-indent-electric-colon): Remove command.
1676 (python-indent-post-self-insert-function): Integrate the previous code
1677 of python-indent-electric-colon. Make it conditional on
1678 electric-indent-mode.
1679 (python-mode): Add ?: to electric-indent-chars.
1680 Move python-indent-post-self-insert-function to the end of
1681 post-self-insert-hook.
1682
1b10adb6
SM
16832013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1684
655ab9a3
SM
1685 * doc-view.el (doc-view-goto-page): Update mode-line.
1686
1b10adb6
SM
1687 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1688
7e3bf78c
GM
16892013-11-27 Glenn Morris <rgm@gnu.org>
1690
1691 * international/charprop.el, international/uni-bidi.el:
1692 * international/uni-category.el, international/uni-combining.el:
1693 * international/uni-comment.el, international/uni-decimal.el:
1694 * international/uni-decomposition.el, international/uni-digit.el:
1695 * international/uni-lowercase.el, international/uni-mirrored.el:
1696 * international/uni-name.el, international/uni-numeric.el:
1697 * international/uni-old-name.el, international/uni-titlecase.el:
1698 * international/uni-uppercase.el:
1699 Remove generated files from VCS repository.
1700
fb6a5d68
EZ
17012013-11-27 Eli Zaretskii <eliz@gnu.org>
1702
1703 * filenotify.el (file-notify-add-watch): Don't special-case
1704 w32notify when computing the directory to watch.
1705
cb6c95a3
GM
17062013-11-27 Glenn Morris <rgm@gnu.org>
1707
20372d0c
GM
1708 Make bootstrap without generated uni-*.el files possible again.
1709 * loadup.el: Update command-line-args checking for unidata-gen.
1710 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1711 * composite.el, international/characters.el:
1712 Handle unicode tables being undefined.
1713
52d6635f 1714 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1715 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1716 (compile-main): Depend on leim rule.
1717 (leim): New rule.
1718 * loadup.el: Move leim-list.el to leim/ subdirectory.
1719 * startup.el (normal-top-level): No more leim directory.
1720 * international/ja-dic-cnv.el (skkdic-convert):
1721 Disable version-control and autoloads in output files.
1722 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1723 Disable version-control and autoloads in output files.
1724 * leim/quail: Move here from ../leim.
1725 * leim/quail/hangul.el (hangul-input-method-activate):
1726 Add autoload cookie.
1727 (generated-autoload-load-name): Set file-local value.
1728 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1729 (generated-autoload-load-name): Set file-local value.
1730
7514d3f8 17312013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1732
e0eb0550 1733 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1734 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1735 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1736
0e2c793f
EZ
17372013-11-26 Eli Zaretskii <eliz@gnu.org>
1738
1739 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1740 reading output from Diff on MS-Windows and MS-DOS.
1741
447bdcb8
BB
17422013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1743
1744 * emacs-lisp/helpers.el (string-reverse): New function.
1745
5fbf6856
MA
17462013-11-26 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1749 names on MS Windows, like "/[::1]:".
1750
1751 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1752 SWITCHES.
1753
624780f0
GM
17542013-11-26 Glenn Morris <rgm@gnu.org>
1755
0bf3f0fa
GM
1756 * progmodes/python.el (python-indent-guess-indent-offset):
1757 Avoid corner-case error. (Bug#15975)
1758
624780f0
GM
1759 Preload leim-list.el. (Bug#4789)
1760 * loadup.el: Load leim-list.el when found.
1761 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1762
4301875e 17632013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1764
1765 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1766
4301875e
BB
1767 * emacs-lisp/helpers.el (string-join): New function.
1768
1633a815 17692013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1770
1771 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1772 Mark as obsolete and replace it with a symbol property.
1773 (byte-compile-form): Use new 'interactive-only property.
1774 * comint.el, files.el, replace.el, simple.el:
1775 Apply new 'interactive-only properly.
1776
00139435
MR
17772013-11-25 Martin Rudalics <rudalics@gmx.at>
1778
1779 * window.el (display-buffer-at-bottom): Make sure that
1780 split-window-sensibly creates the new window on bottom
1781 (Bug#15961).
1782
5f5b128d
DK
17832013-11-23 David Kastrup <dak@gnu.org>
1784
1785 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1786 on the conflict markers when available.
1787 (smerge--get-marker): New function.
1788 (smerge-end-re, smerge-base-re): Add subgroup.
1789
623891e5
SM
17902013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * frame.el (handle-focus-in, handle-focus-out): Add missing
1793 interactive spec.
1794
05ca27d8
MA
17952013-11-25 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1798 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1799
511fa0d3
SM
18002013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1801
e82ad66c
SM
1802 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1803 (gomoku--last-pos): New var.
1804 (gomoku--intangible-chars): New const.
1805 (gomoku--intangible): New function.
1806 (gomoku-mode): Use it. Derive from special-mode.
1807 (gomoku-move-up): Adjust line count.
1808 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1809 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1810 Simplify accordingly.
1811
511fa0d3
SM
1812 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1813 Remove blink-cursor code.
1814 (blink-cursor-timer-function, blink-cursor-suspend):
1815 Don't special-case GUIs.
1816 (blink-cursor-mode): Use focus-in/out-hook.
1817
6f20dd03
DG
18182013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1819
1820 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1821 work when annotation is invisible (Bug#13886).
1822
431dec31 18232013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1824
1825 * json.el (json-alist-p): Only return non-nil if the alist has
1826 simple keys (Bug#13518).
1827
431dec31 18282013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1829
1830 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1831 when control-statement is the first statement in a buffer (Bug#15956).
1832
ee4f0261
DG
18332013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * imenu.el (imenu-generic-skip-comments-and-strings):
1836 New option (Bug#15560).
1837 (imenu--generic-function): Use it.
1838
c484f866
JS
18392013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1840
e9dc713d
JB
1841 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1842 (Bug#13898)
c484f866 1843
41ce6f70
BB
18442013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1845
b55aea38
BB
1846 * emacs-lisp/helpers.el: Add some string helpers.
1847 (string-trim-left): Removes leading whitespace.
1848 (string-trim-right): Removes trailing whitespace.
1849 (string-trim): Removes leading and trailing whitespace.
1850
41ce6f70
BB
1851 * subr.el (string-suffix-p): New function.
1852
3cfb6af3
GM
18532013-11-23 Glenn Morris <rgm@gnu.org>
1854
1855 * progmodes/python.el (python-shell-send-file):
1856 Add option to delete file when done. (Bug#15647)
1857 (python-shell-send-string, python-shell-send-region): Use it.
1858
c27924b7
IS
18592013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1860
e1b01c7f
IS
1861 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1862 to set buffer-read-only to t, never to nil. (Bug#15938)
1863
c27924b7
IS
1864 * textmodes/tex-mode.el (latex-noindent-environments):
1865 Add safe-local-variable property. (Bug#15936)
1866
17e0445b
GM
18672013-11-23 Glenn Morris <rgm@gnu.org>
1868
92f78ea3
GM
1869 * textmodes/enriched.el (enriched-mode): Doc fix.
1870 * emacs-lisp/authors.el (authors-renamed-files-alist):
1871 Add enriched.doc -> enriched.txt.
1872
17e0445b
GM
1873 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1874
965bb23a
LL
18752013-11-22 Leo Liu <sdl.web@gmail.com>
1876
1877 * progmodes/octave.el (inferior-octave-startup): Spit out error
1878 message.
1879
d19ffd64
BB
18802013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1881
1882 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1883 Improve docstring.
15ba2182
BB
1884 Add :version.
1885 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1886
7a7567d2
LL
18872013-11-22 Leo Liu <sdl.web@gmail.com>
1888
1889 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1890 (Bug#15076)
8c09f64b
LL
1891 (octave-help-mode): Adapt to change to help-mode-finish to use
1892 derived-mode-p on 2013-09-17.
1893 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1894 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1895
724bc265
LL
18962013-11-22 Leo Liu <sdl.web@gmail.com>
1897
1898 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1899 (inferior-octave-startup, inferior-octave-check-process)
1900 (inferior-octave-track-window-width-change)
1901 (octave-completion-at-point, octave-eldoc-function): Use it.
1902 (octave-kill-process): Provide confirmation. (Bug#10564)
1903
38637cca
LL
19042013-11-21 Leo Liu <sdl.web@gmail.com>
1905
511fa0d3
SM
1906 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1907 Fix obsolete variable comment-use-global-state.
38637cca 1908
06e752b4
RS
19092013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1910
511fa0d3
SM
1911 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1912 Add `octave-source-file'.
06e752b4
RS
1913 (octave-source-file): New function. (Bug#15935)
1914
7514d3f8 19152013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1916
1917 * net/eww.el (eww-local-regex): New variable.
1918 (eww): Use it to detect localhost and similar.
1919
b6ffa04a
LL
19202013-11-21 Leo Liu <sdl.web@gmail.com>
1921
1922 Add completion for command `ag'.
2021a200
LL
1923 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1924 (pcomplete/ag): New function.
e9dc713d 1925 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1926
d1a6bccc
SM
19272013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1930 (bug#14646).
1931 (make-obsolete): Remove interactive spec.
1932
2df10228
GM
19332013-11-21 Glenn Morris <rgm@gnu.org>
1934
1935 * startup.el (command-line-1): Use path-separator with -L.
1936
86fd16b6
TZ
19372013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1938
1939 * emacs-lisp/package.el (describe-package-1): Add package archive
1940 to shown fields.
1941
0449d6cd 19422013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1943
1944 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1945 Change default to "# encoding: %s" to differentiate it from the
1946 default Ruby encoding comment template.
1947
dc7e8c17 19482013-11-20 era eriksson <era+emacsbugs@iki.fi>
1949
1950 * ses.el (ses-mode): Doc fix. (Bug#14748)
1951
f0cfa5fe
LL
19522013-11-20 Leo Liu <sdl.web@gmail.com>
1953
1954 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1955
826dc7b6
DN
19562013-11-19 Dan Nicolaescu <dann@gnu.org>
1957
1958 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1959 when rebase or bisect are in progress.
1960
a6e3a5d5
XF
19612013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1962
1963 * filenotify.el (file-notify-add-watch): Doc fix.
1964
f130cb76
LL
19652013-11-19 Leo Liu <sdl.web@gmail.com>
1966
e0855d7d
LL
1967 * obsolete/rcompile.el: Mark obsolete.
1968
f130cb76 1969 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1970 (compilation-goto-locus, compilation-find-file):
1971 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1972 (Bug#13594)
1973
1974 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1975 new parameter no-display-ok. Return either a window or nil
1976 but never a non-window value.
f130cb76 1977
1f35d401
SM
19782013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1979
25158c76
SM
1980 * electric.el (electric-indent-mode-map): Remove.
1981 (electric-indent-mode): Change the global-map instead (bug#15915).
1982
1983 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1984 Use add-function.
1f35d401 1985
9bc67baa
SM
19862013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1987
986545b5
SM
1988 * emacs-lisp/nadvice.el (remove-function): Align with
1989 add-function's behavior.
1990
9bc67baa
SM
1991 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1992 (gdb--string-regexp): New constant.
1993 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1994 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1995 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1996 submatch 1.
1997 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1998 Adjust use accordingly.
1999 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2000
56cd894e
AS
20012013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2002
2003 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2004 interpolation curlies (Bug#15914).
2005
014690de
JB
20062013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2007
2008 * calc/calc.el (calc-context-sensitive-enter): New variable.
2009 (calc-enter): Use `calc-context-sensitive-enter'.
2010
7e26a6c3
TZ
20112013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2012
2013 * progmodes/cfengine.el: Version bump.
2014 (cfengine-cf-promises): New defcustom to locate cf-promises.
2015 (cfengine3-vartypes): Add new "data" type.
2016 (cfengine3--current-word): New function to get current name-like
2017 word or its bounds.
2018 (cfengine3--current-function): New function to look up a CFEngine
2019 function's definition.
2020 (cfengine3-format-function-docstring): New function.
2021 (cfengine3-make-syntax-cache): New function.
2022 (cfengine3-documentation-function): New function: ElDoc glue.
2023 (cfengine3-completion-function): New function: completion glue.
2024 (cfengine3-mode): Set `compile-command',
2025 `eldoc-documentation-function', and add to
2026 `completion-at-point-functions'.
2027
355204dd
MA
20282013-11-16 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2031 `tramp-current-connection'.
2032
43cebc23
DG
20332013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2034
2035 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2036 nil/self/true/false with "end of symbol".
2037
a3fed6ff
BB
20382013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2039
2040 * subr.el (version-regexp-alist): Fix a typo.
2041
e675b3e4
MA
20422013-11-15 Michael Albinus <michael.albinus@gmx.de>
2043
2044 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2045 "en_US.utf8" and "LC_CTYPE" to "".
2046 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2047 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2048
a1f03e89
LL
20492013-11-15 Leo Liu <sdl.web@gmail.com>
2050
2051 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2052
5d9d9451
SM
20532013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2054
58362662
CS
2055 * progmodes/gud.el (ctl-x-map):
2056 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2057 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2058
6c1bf086
BB
20592013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2060
0d5363c4
BB
2061 * subr.el (version-regexp-alist):
2062 Recognize hg, svn and darcs versions as snapshot versions.
2063
4e9fc48c
BB
2064 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2065 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2066 (ruby--encoding-comment-required-p): Extract from
2067 `ruby-mode-set-encoding'.
2068 (ruby-mode-set-encoding): Add the ability to always insert an
2069 utf-8 encoding comment. Fix and simplify coding comment update
2070 logic.
6c1bf086 2071
2f7e72f8
MA
20722013-11-14 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/tramp-gvfs.el (top): Run init code only when
2075 `tramp-gvfs-enabled' is not nil.
2076 (tramp-gvfs-enabled): Check also :system bus.
2077
0f137a73
SM
20782013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 Sync with upstream verilog-mode revision 78e66ba.
2081 * progmodes/verilog-mode.el (verilog-end-of-defun)
2082 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2083 (verilog-get-end-of-defun): Remove unused argument.
2084 (verilog-comment-depth): Remove unused local `e'.
2085 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2086 Don't pass arg to verilog-get-end-of-defun.
2087
1c276bdd
GM
20882013-11-14 Glenn Morris <rgm@gnu.org>
2089
2090 * obsolete/assoc.el (aget): Prefix dynamic variable.
2091
2092 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2093
ff6ec81d
SM
20942013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * widget.el, hfy-cmap.el: Remove bogus package version number.
2097
75f777b6
GM
20982013-11-13 Glenn Morris <rgm@gnu.org>
2099
1d43dba1
GM
2100 * replace.el (replace-eval-replacement):
2101 Try to give more helpful error message. (Bug#15836)
2102
ff4b7bd5
GM
2103 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2104 (archive-7z-update): Avoid custom type mismatches.
2105
75f777b6
GM
2106 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2107
11151a06
MA
21082013-11-13 Michael Albinus <michael.albinus@gmx.de>
2109
e675b3e4 2110 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2111 address can be empty.
2112
2113 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2114 Accept nil SWITCHES.
2115 (tramp-gvfs-handle-write-region): Implement APPEND.
2116
7b08f97e
DG
21172013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2118
2119 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2120 binary "|" operator and closing block args delimiter.
2121 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2122 (ruby-smie--implicit-semi-p): Not after "|" operator.
2123 (ruby-smie--closing-pipe-p): New function.
2124 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2125 (ruby-smie-rules): Indent after "|".
2126
f201cf3a
GM
21272013-11-12 Glenn Morris <rgm@gnu.org>
2128
2129 * ps-print.el (ps-face-attribute-list):
2130 Handle anonymous faces. (Bug#15827)
2131
e6f759f9
MR
21322013-11-12 Martin Rudalics <rudalics@gmx.at>
2133
2134 * window.el (display-buffer-other-frame): Fix doc-string.
2135 (Bug#15868)
2136
ecda65d4
SM
21372013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2140
7ce8fcc3
MA
21412013-11-11 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2144 (tramp-sh-handle-file-local-copy): Don't write a message when
2145 saving temporary files.
2146
2147 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2148 both directories are remote.
2149 (tramp-smb-handle-directory-files): Do not return double entries.
2150 Do not expand full file names.
2151 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2152 (tramp-smb-handle-write-region): Implement APPEND.
2153 (tramp-smb-get-stat-capability): Fix a stupid bug.
2154
7818df11
SM
21552013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2158
608c2085
NT
21592013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2160
2161 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2162 throwing error over malformed let/let* (bug#15814).
2163
122a7e46
SM
21642013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * iswitchb.el (iswitchb-mode): Mark obsolete.
2167
766284d9
GM
21682013-11-11 Glenn Morris <rgm@gnu.org>
2169
2170 * international/uni-bidi.el, international/uni-category.el:
2171 * international/uni-name.el, international/uni-numeric.el:
2172 Regenerate for Unicode 6.3.0.
2173
7072a4e9
MA
21742013-11-10 Michael Albinus <michael.albinus@gmx.de>
2175
2176 * net/tramp.el (tramp-methods):
2177 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2178 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2179
c9df215b
AS
21802013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2181
608c2085
NT
2182 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2183 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2184
fa47d796
DG
21852013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2186
2187 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2188 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2189 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2190 (ispell-complete-word): Call `ispell-lookup-words' with the value
2191 independent of `ispell-look-p'.
2192
1629a329
DG
21932013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2194
2195 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2196 Not after "||".
2197 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2198 their parent.
2199
ad16897c
SM
22002013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2203 (ruby-font-lock-keywords): Use backquote.
2204
ffa2df72
DG
22052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2206
2207 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2208 (ruby-smie--backward-token): Only consider full-string matches.
2209
5b97b4c0
JD
22102013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2211
2212 * faces.el (describe-face): Add distant-foreground.
2213
71731c03
BB
22142013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2215
4e9fc48c
BB
2216 * progmodes/ruby-mode.el: Improve encoding comment handling.
2217 (ruby-encoding-magic-comment-style): New option.
2218 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2219 (ruby--insert-coding-comment, ruby--detect-encoding):
2220 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2221 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2222 to control the style of the auto-inserted encoding comment.
71731c03 2223
da3b328d
DG
22242013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2225
ad16897c
SM
2226 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2227 Use `smie-backward-sexp' with token argument.
da3b328d 2228
1606c2d3
MA
22292013-11-08 Michael Albinus <michael.albinus@gmx.de>
2230
2231 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2232 Remove instrumentation code.
2233
b0f4c320
GM
22342013-11-08 Glenn Morris <rgm@gnu.org>
2235
2236 * progmodes/autoconf.el (autoconf-mode):
2237 Tweak comment-start-skip. (Bug#15822)
2238
43668fb1
SM
22392013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2242 at bobp (bug#15826).
2243 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2244
daddb3fd
DH
22452013-11-08 Darren Hoo <darren.hoo@gmail.com>
2246
2247 * man.el (Man-start-calling): New macro, extracted from
2248 Man-getpage-in-background.
2249 (Man-getpage-in-background): Use it.
2250 (Man-update-manpage): New command.
2251 (Man-mode-map): Bind it.
2252
1f923923
DG
22532013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2256 of "and", "or", "&&" and "||".
2257 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2258 argument. Prohibit opening curly brace because it could only be a
2259 block opener in that position.
daddb3fd
DH
2260 (ruby-smie--forward-token, ruby-smie--backward-token):
2261 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2262 arguments.
2263 (ruby-smie--indent-to-stmt): New function, seeks the end of
2264 previous statement or beginning of buffer.
2265 (ruby-smie-rules): Use it.
2266 (ruby-smie-rules): Check if there's a ":" before a curly block
2267 opener candidate; if there is, it's a hash.
2268
3220d527
SM
22692013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2272 (cl--block-wrapper): Fix last accidental change.
2273
1eb1f9e0
MA
22742013-11-07 Michael Albinus <michael.albinus@gmx.de>
2275
2276 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2277 Instrument, in order to hunt failure on hydra.
2278
e6e4db3c
NT
22792013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2280
2281 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2282 malformed bindings form (bug#15814).
2283
b420ccfc
DG
22842013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2285
2286 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2287 "." compared to " @ ". This incidentally fixes some indentation
2288 examples with "do".
e6e4db3c 2289 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2290 (ruby-smie-grammar): New tokens: "and" and "or".
2291 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2292 Exclude "and" and "or". Remove "do" in order to work around token
2293 priorities.
2294 (ruby-smie-rules): Add all infix tokens. Handle the case of
2295 beginning-of-buffer.
b420ccfc 2296
6b4ac03e
GM
22972013-11-06 Glenn Morris <rgm@gnu.org>
2298
2299 * Makefile.in (setwins_almost, setwins_for_subdirs):
2300 Avoid accidental matches.
2301
5ca114d1
SM
23022013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * menu-bar.el (popup-menu): Use key-binding.
2305
f72552bd
EZ
23062013-11-06 Eli Zaretskii <eliz@gnu.org>
2307
2308 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2309 menus, support also the menus produced by minor modes.
2310 (Bug#15817)
2311
5d5c701e
LL
23122013-11-06 Leo Liu <sdl.web@gmail.com>
2313
2314 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2315 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2316
0a8b75e2
GM
23172013-11-06 Glenn Morris <rgm@gnu.org>
2318
2319 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2320 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2321 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2322
a35287ea
SM
23232013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2324
feca4e2d
SM
2325 * electric.el (electric-indent-just-newline): New command.
2326 (electric-indent-mode-map): New keymap.
2327 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2328 Re-add :group which weren't redundant.
2329
a35287ea
SM
2330 * electric.el (electric-indent-local-mode): New minor mode.
2331 (electric-indent-functions-without-reindent): New var.
2332 (electric-indent-post-self-insert-function): Use it.
2333 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2334
375761b2
EZ
23352013-11-05 Eli Zaretskii <eliz@gnu.org>
2336
9a6ad735
EZ
2337 * international/quail.el (quail-help): Be more explicit about the
2338 meaning of the labels shown on the keys. (Bug#15800)
2339
375761b2
EZ
2340 * startup.el (normal-top-level): Load the subdirs.el files before
2341 setting the locale environment. (Bug#15805)
2342
520a6e4a
SM
23432013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2344
0acfafef
SM
2345 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2346 via arguments so as to get the right ones (bug#15418).
2347
520a6e4a
SM
2348 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2349
15826261
MA
23502013-11-05 Michael Albinus <michael.albinus@gmx.de>
2351
2352 Fix problems found while writing a test suite.
2353
2354 * net/tramp-compat.el (tramp-compat-load): New defun.
2355 * net/tramp.el (tramp-handle-load): Use it.
2356
2357 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2358 "(numberp ok-if-already-exists)" correctly.
2359
d35f31a4
XF
23602013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2361
2362 * international/characters.el (glyphless-char-display-control):
2363 Add usage note.
2364
ae93bc74
BB
23652013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2366
520a6e4a
SM
2367 * progmodes/python.el (python-mode):
2368 * progmodes/scheme.el (scheme-mode):
2369 * progmodes/prolog.el (prolog-mode):
2370 * progmodes/ruby-mode.el (ruby-mode):
2371 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2372 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2373
0ade65b5
SM
23742013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2375
a0d5f7a4
SM
2376 * rect.el (rectangle--highlight-for-redisplay):
2377 * emacs-lisp/smie.el (smie--next-indent-change):
2378 Use buffer-chars-modified-tick.
2379
c93f3f5c
SM
2380 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2381
0ade65b5
SM
2382 * electric.el (electric-indent-post-self-insert-function):
2383 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2384
ef9dd188
HE
23852013-11-04 Helmut Eller <eller.helmut@gmail.com>
2386
2387 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2388
306e7308
NT
23892013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2390
2391 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2392 (bug#15786).
2393
e5afbcac
SM
23942013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2395
1d01ad41
SM
2396 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2397
e5afbcac
SM
2398 * progmodes/python.el: Fix up last change.
2399 (python-shell--save-temp-file): New function.
2400 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2401 `string' comes from the current buffer.
2402 (python-shell-send-string-no-output): Remove `msg' arg.
2403 (python--use-fake-loc): New var.
2404 (python-shell-buffer-substring): Obey it. Try to compensate for the
2405 extra coding line added by python-shell--save-temp-file.
2406 (python-shell-send-region): Use python-shell--save-temp-file and
2407 python-shell-send-file directly. Add `nomain' argument.
2408 (python-shell-send-buffer): Use python-shell-send-region.
2409 (python-electric-pair-string-delimiter): New function.
2410 (python-mode): Use it.
2411
d0065ff1
EZ
24122013-11-04 Eli Zaretskii <eliz@gnu.org>
2413
2414 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2415 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2416 environment and decoding all of the default-directory's to here
2417 from command-line.
2418 (command-line): Decode also argv[0].
2419
2420 * loadup.el: Error out if default-directory is a multibyte string
2421 when we are dumping.
2422
2423 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2424
7397c587
TZ
24252013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2426
2427 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2428 (package-menu--print-info, package-menu--archive-predicate):
2429 Add Archive column to package list.
7397c587 2430
b27cc9fc
MA
24312013-11-04 Michael Albinus <michael.albinus@gmx.de>
2432
2433 Fix problems found while writing a test suite.
2434
2435 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2436 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2437 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2438 to nil when running original file name handler. Otherwise,
2439 there are problems with constructs like "$$FOO".
2440
2441 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2442 for `localname'.
2443
d8c4f18a
BB
24442013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2445
7b530552
BB
2446 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2447
2448 * subr.el (version<, version<=, version=):
2449 Update docstrings with information for snapshot versions.
2450
d8c4f18a
BB
2451 * helpers.el: New library for misc helper functions.
2452 (hash-table-keys): New function returning a list of hash keys.
2453 (hash-table-values): New function returning a list of hash values.
2454
dca01b09
DG
24552013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2456
2457 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2458 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2459
0a749fa0
MN
24602013-11-04 Michal Nazarewicz <mina86@mina86.com>
2461
2462 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2463 checking whether point is after a 1-letter word.
2464
24652013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2466
2467 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2468 Don't infloop when expanding region over `multiline' syntax-type that
2469 begins a line (bug#15778).
2470
4aca7145
SM
24712013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2474 Make it into a proper minor mode.
2475 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2476 (rectangle-mark-mode-map): New keymap.
2477 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2478
a0833f62
GM
24792013-11-04 Glenn Morris <rgm@gnu.org>
2480
2481 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2482
e61845c1
SM
24832013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2486 (ruby-smie-rules): Use smie-rule-parent instead.
2487
2488 * emacs-lisp/smie.el (smie-rule-parent): Always call
2489 smie-indent-virtual rather than only for hanging tokens.
2490 (smie--next-indent-change): New helper command.
2491
62942f89
GM
24922013-11-03 Glenn Morris <rgm@gnu.org>
2493
2494 * Makefile.in (abs_srcdir): Remove.
2495 (emacs): Unset EMACSLOADPATH.
2496
b0b9e592
GM
24972013-11-02 Glenn Morris <rgm@gnu.org>
2498
18ba6a33 2499 * Makefile.in (EMACS): Use a relative filename.
8061810d 2500 (abs_top_builddir): Remove.
18ba6a33
GM
2501 (custom-deps, finder-data, autoloads): Use --chdir.
2502
6a8b929e
GM
2503 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2504
c617f3d0
GM
2505 Use relative filenames in TAGS files.
2506 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2507 (lisptagsfiles4, TAGS): Use relative file names.
2508 (TAGS-LISP): Remove.
2509 (maintainer-clean): No more TAGS-LISP file.
2510
b0b9e592
GM
2511 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2512 (lisptagsfiles4): Use absolute filenames again.
2513 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2514 Remove all *loaddefs files, not just the first. Remove esh-groups.
2515 (maintainer-clean): Delete TAGS, TAGS-LISP.
2516
d1c0ea6a
BB
25172013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2518
e61845c1
SM
2519 * emacs-lisp/package.el (package-version-join):
2520 Recognize snapshot versions.
d1c0ea6a 2521
684d71c6
BB
25222013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2523
2524 * subr.el (version-regexp-alist): Add support for snapshot versions.
2525
3d42b968
DG
25262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2527
e61845c1
SM
2528 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2529 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2530 skip over our direct parent if it's an assignment token..
2531 (ruby-smie-rules): Use it.
2532
7ffd3721
DG
25332013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2534
8449dd1f 2535 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2536 unconditionally. Remove now unnecessary forward declarations.
2537 Remove XEmacs-specific setup.
2538 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2539 (ruby-font-lock-syntactic-keywords)
2540 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2541 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2542 (ruby-here-doc-end-syntax): Remove.
2543 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2544 defined as function.
2545
a3996a2e
BB
25462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2547
2548 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2549
6f9260e8
BB
25502013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2551
2552 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2553 table and abbrev table, `define-derived-mode' does that for us
2554 anyway.
2555
6014de84
GM
25562013-11-01 Glenn Morris <rgm@gnu.org>
2557
2558 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2559 files is atomic for some time, so no parallel compilation issues).
2560
3c334c14
JD
25612013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2562
2563 * faces.el (face-x-resources): Add :distant-foreground.
2564 (region): Use :distant-foreground for gtk and ns.
2565
9bc236c8
TH
25662013-11-01 Tassilo Horn <tsdh@gnu.org>
2567
5246583b 2568 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2569 BibTeX.
2570 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2571 (reftex-locate-bibliography-files): Us it.
2572
d14c81ee
CB
25732013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2574
0e7690de
CB
2575 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2576 allow comments in pbm files.
2577
d14c81ee
CB
2578 * term/w32-win.el (dynamic-library-alist): Support newer versions
2579 of libjpeg starting with v7: look only for the DLL from the
2580 version against which Emacs was built.
ac1bf374 2581 Support versions of libpng beyond 1.4.x.
019c8218 2582 Support libtiff v4.x.
d14c81ee 2583
983d0df5
BB
25842013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2585
2586 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2587 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2588 Add property :safe.
2589 (ruby-deep-arglist): Add property :type.
2590
47f58d85
GM
25912013-10-31 Glenn Morris <rgm@gnu.org>
2592
2593 * Makefile.in (custom-deps, finder-data): No need to setq the target
2594 variables, we are in the right directory and the defaults work fine.
2595
4f85b479
GM
25962013-10-30 Glenn Morris <rgm@gnu.org>
2597
ca7dd4cd
GM
2598 * Makefile.in (autoloads): Do not use abs_lisp.
2599
4f85b479
GM
2600 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2601 `newline' does not respect `standard-output', so use `princ'.
2602
cf59e41c
AA
26032013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2604
2605 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2606 * buff-menu.el (Buffer-menu--unmark): New function.
2607 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2608
74cf04fb
GM
26092013-10-30 Glenn Morris <rgm@gnu.org>
2610
b040b60e
GM
2611 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2612
f53d3815
GM
2613 * emacs-lisp/package.el (lm-homepage): Declare.
2614
5413d873
GM
2615 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2616 Fix doc typos.
2617
cecedb36
GM
2618 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2619
74cf04fb
GM
2620 * Makefile.in (finder-data, autoloads, update-subdirs)
2621 (compile-main, compile-clean, compile-always, bootstrap-clean):
2622 Check return value of cd.
2623 (compile-calc): Remove.
2624
195ee2f0
SM
26252013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2626
ae4002ce
SM
2627 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2628
2629 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2630 (byte-compile-and-folded): New function.
2631 (=, <, >, <=, >=): Use it.
2632
2633 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2634 (path-separator, null-device, buffer-file-coding-system)
2635 (lpr-headers-switches): Check system-type before modifying them.
2636 (find-buffer-file-type-coding-system): Mark obsolete.
2637 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2638 find-file-not-found-set-buffer-file-coding-system.
2639 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2640 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2641 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2642 (w32-direct-print-region-helper, w32-direct-print-region-function)
2643 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2644 * startup.el (normal-top-level-add-subdirs-to-load-path):
2645 * ps-print.el (ps-print-region-function):
2646 * lpr.el (print-region-function): Use new name.
2647
53b39e89
SM
2648 * subr.el (custom-declare-variable-early): Remove function.
2649 (custom-declare-variable-list): Remove var.
2650 (error, user-error): Remove `while' loop.
2651 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2652 (user-emacs-directory-warning, locate-user-emacs-file):
2653 Move to files.el.
2654 * simple.el (read-quoted-char-radix, read-quoted-char):
2655 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2656 Move from subr.el.
2657 * custom.el (custom-declare-variable-list): Don't process
2658 custom-declare-variable-list.
2659
195ee2f0
SM
2660 * progmodes/python.el (python-shell-get-buffer): New function.
2661 (python-shell-get-process): Use it.
2662 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2663 Python which encoding was used. Don't split-string since we only care
2664 about the first line. Return the temp-file, if applicable.
2665 (python-shell-send-region): Tell compile.el how to turn locations in
2666 the temp-file into locations in the source buffer.
2667
7e3561ee
SM
26682013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2669
4c9797cb
SM
2670 * subr.el (undefined): Add missing behavior from the C code for
2671 unbound keys.
2672
3472b6c6
SM
2673 * rect.el: Use lexical-binding. Add new rectangular region support.
2674 (rectangle-mark): New command.
2675 (rectangle--region): New var.
2676 (deactivate-mark-hook): Reset rectangle--region.
2677 (rectangle--extract-region, rectangle--insert-for-yank)
2678 (rectangle--highlight-for-redisplay)
2679 (rectangle--unhighlight-for-redisplay): New functions.
2680 (region-extract-function, redisplay-unhighlight-region-function)
2681 (redisplay-highlight-region-function): Use them to handle
2682 rectangular region.
2683 * simple.el (region-extract-function): New var.
2684 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2685 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2686 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2687 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2688 (redisplay-unhighlight-region-function)
2689 (redisplay-highlight-region-function): New vars.
2690 (redisplay--update-region-highlight): New function.
2691 (pre-redisplay-function): Use it.
2692 (exchange-point-and-mark): Don't deactivate the mark before
2693 reactivate-it anyway.
2694 * comint.el (comint-kill-region): Remove yank-handler argument.
2695 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2696 (delete-char): Remove property, since it's now part of their
2697 default behavior.
2698 (self-insert-iso): Remove property since this command doesn't exist.
2699
7e3561ee
SM
2700 * emacs-lisp/package.el (package--download-one-archive)
2701 (describe-package-1): Don't query the user about final newline.
2702
b9bef71f
DC
27032013-10-29 Daniel Colascione <dancol@dancol.org>
2704
2705 * net/tramp.el (tramp-methods): Document new functionality.
2706 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2707 tramp-hostname-checker if method provides one instead of scanning
2708 argument list for "%h" to decide hostname acceptability.
2709
4efc33f0
MA
27102013-10-28 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2713 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2714 Handle COPY-CONTENTS. (Bug#15737)
2715
ed42a877
DU
27162013-10-28 Daiki Ueno <ueno@gnu.org>
2717
2718 * epa-file.el
7e3561ee
SM
2719 (epa-file-cache-passphrase-for-symmetric-encryption):
2720 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2721
18c9f8a2
XF
27222013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2723
7a4bc7be
XF
2724 * image.el (defimage):
2725 (image-load-path): Doc fixes.
18c9f8a2 2726
b1e8e010
AM
27272013-10-27 Alan Mackenzie <acm@muc.de>
2728
2729 Indent statements in macros following "##" correctly.
7e3561ee
SM
2730 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2731 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2732
73d40d1e 27332013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2734
2735 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2736
c8c605ac
DG
27372013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2740 after `=' is probably a new expression.
2741
ca7e59d4
RS
27422013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2743
2744 * man.el (man-imenu-title): New option.
2745 (Man-mode-map): Add menu. (Bug#15722)
2746 (Man-mode): Add imenu to menu.
2747
bae91342
DG
27482013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2749
2750 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2751 specific in what the first arg can be: a non-keyword word,
2752 string/regexp/percent literal opener, opening paren, or unary
2753 operator followed directly by word.
2754
eb89dc14
SM
27552013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2758 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2759 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2760 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2761 Remove vars, they do not apply any more.
2762 (prolog-mode-abbrev-table): Remove redundant declaration.
2763 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2764 (prolog-use-smie): Remove.
2765 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2766 supported by prolog-electric-if-then-else-flag.
2767 (prolog-mode-variables, prolog-menu): Use setq-local.
2768 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2769 Remove binding to `Backspace' since this key doesn't exist anyway.
2770 Remove bindings for electric self-inserting keys.
2771 (prog-mode): Assume it's defined.
2772 (prolog-post-self-insert): New function.
2773 (prolog-mode): Use it.
2774 (prolog-indent-line, prolog-indent-level)
2775 (prolog-find-indent-of-matching-paren)
2776 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2777 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2778 (prolog-goto-next-paren, prolog-in-string-or-comment)
2779 (prolog-tokenize, prolog-inside-mline-comment)
2780 (prolog-find-start-of-mline-comment): Remove functions.
2781 (prolog-find-unmatched-paren, prolog-clause-end)
2782 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2783 (prolog-electric--if-then-else): Rename from
2784 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2785 (prolog-tokenize-searchkey): Remove const.
2786 (prolog-clause-info): Use forward-sexp.
2787 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2788 (prolog-electric-if-then-else): Remove commands.
2789 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2790 for use in post-self-insert-hook.
2791 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2792 for use in post-self-insert-hook.
2793 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2794 for use in post-self-insert-hook.
2795 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2796 adapt it for use in post-self-insert-hook.
2797
3dab0a83
MA
27982013-10-25 Michael Albinus <michael.albinus@gmx.de>
2799
2800 * emacs-lisp/ert.el (ert-run-tests-interactively):
2801 Use `completing-read'. (Bug#9756)
2802
fbfd0e1d
EZ
28032013-10-25 Eli Zaretskii <eliz@gnu.org>
2804
2805 * simple.el (line-move): Call line-move-1 instead of
2806 line-move-visual when the current window hscroll is zero, but
2807 temporary-goal-column indicates we will need to hscroll as result
2808 of the movement. (Bug#15712)
2809
963ce636
DG
28102013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2813 capitalization. Use :visible instead of :active.
2814 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2815 commands that are used with SMIE.
2816 (ruby-do-end-to-brace): Insert space after `{'.
2817
a0be396a
JA
28182013-10-25 John Anthony <john@jo.hnanthony.com>
2819
f73754c9
JA
2820 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2821
2822 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2823
f5bf77df
GM
28242013-10-25 Glenn Morris <rgm@gnu.org>
2825
2826 * vc/vc.el (vc-print-log): Don't use a working revision unless
2827 one was explicitly specified. (Bug#15322)
2828
37241f62
SM
28292013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * subr.el (add-to-list): Preserve return value in compiler-macro
2832 (bug#15692).
2833
6408a65d
RS
28342013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2835
2836 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2837 result. Ask user to retry using '-all' flag. (Bug#15701)
2838
71e3276b
SM
28392013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * emacs-lisp/smie.el: New smie-config system.
2842 (smie-config): New defcustom.
2843 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2844 (smie-config-guess, smie-config-save): New commands.
2845 (smie-config--mode-local, smie-config--buffer-local)
2846 (smie-config--trace, smie-config--modefuns): New vars.
2847 (smie-config--advice, smie-config--mode-hook)
2848 (smie-config--setter, smie-config-local, smie-config--get-trace)
2849 (smie-config--guess-value, smie-config--guess): New functions.
2850 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2851 text properties. Treat "string fence" syntax like string syntax.
2852
2853 * progmodes/sh-script.el (sh-use-smie): Change default.
2854 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2855 (sh-var-value): Simplify by CSE.
2856 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2857 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2858 is used.
2859 (sh-guess-basic-offset): Use cl-incf.
2860 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2861
60db713e
HE
28622013-10-24 Helmut Eller <eller.helmut@gmail.com>
2863
2864 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2865 (bug#15699).
2866
8b251df6
GM
28672013-10-24 Glenn Morris <rgm@gnu.org>
2868
2869 * Makefile.in (abs_top_srcdir): Remove.
2870 (update-subdirs): Use relative path to update-subdirs.
2871
6be0e22b
EZ
28722013-10-24 Eli Zaretskii <eliz@gnu.org>
2873
2874 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2875 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2876 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2877 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2878
50b5b857
MA
28792013-10-24 Michael Albinus <michael.albinus@gmx.de>
2880
2881 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2882 (ert-test-skipped): New error.
2883 (ert-skip, ert-stats-skipped): New defuns.
2884 (ert--skip-unless): New macro.
2885 (ert-test-skipped): New struct.
2886 (ert--run-test-debugger, ert-test-result-type-p)
2887 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2888 (ert--stats-set-test-and-result, ert-char-for-test-result)
2889 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2890 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2891 Handle skipped tests. (Bug#9803)
50b5b857 2892
6f317c2f
GM
28932013-10-24 Glenn Morris <rgm@gnu.org>
2894
e43817c1
GM
2895 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2896
6f317c2f
GM
2897 * Makefile.in (abs_top_srcdir): New, set by configure.
2898 (update-subdirs): Correct build-aux location.
2899
369bbf71
DG
29002013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2901
8297b2cf
DG
2902 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2903 value, whether we could auto-deduce `backend', or not.
2904
369bbf71
DG
2905 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2906 with parameters" example. Simplify the "is it block or is it
2907 hash" check, but also make it more thorough.
2908
d5f1282f
MF
29092013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2910
2911 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2912
bc4aaa31
SM
29132013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2914
03d44565
SM
2915 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2916 { if it is hanging.
2917
bc4aaa31
SM
2918 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2919 :before ";".
2920
f493ff19
JB
29212013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2922
2923 * progmodes/compile.el (compilation-directory-matcher)
2924 (compilation-page-delimiter):
2925 Support GNU Make-4.0 directory quoting. (Bug#15678)
2926
c744a3b9
LL
29272013-10-23 Leo Liu <sdl.web@gmail.com>
2928
2929 * ido.el (ido-tidy): Handle read-only text.
2930
b8e3b0a9
GM
29312013-10-23 Glenn Morris <rgm@gnu.org>
2932
2933 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2934 (emacs, compile, compile-always):
2935 Quote entities that might contain whitespace.
2936 (custom-deps, finder-data, autoloads): Use abs_lisp.
2937 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2938 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2939 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2940
ee4282cd
DG
29412013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2942
bc4aaa31
SM
2943 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2944 Use `following-char'.
7790a270 2945
ee4282cd 29462013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2947
2948 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2949 * progmodes/ruby-mode.el (ruby-smie-rules):
2950 Remove corresponding workaround. Fix indentation rule of ";" so it
2951 also applies when ";" is the parent.
2952
d40a46d7
XF
29532013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2954
2955 * frame.el (display-screens, display-pixel-height)
2956 (display-pixel-width, display-mm-width, display-backing-store)
2957 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2958 (display-visual-class, display-monitor-attributes-list):
2959 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2960
a0f143c9
MG
29612013-10-22 Michael Gauland <mikelygee@amuri.net>
2962
2963 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2964 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2965
18cacc39
DG
29662013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2967
2968 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2969 TODO. Add "." after " @ ".
2970 (ruby-smie--at-dot-call): New function. Checks if point at method
2971 call with explicit target.
2972 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2973 to the method name tokens when it precedes them.
2974 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2975 (ruby-smie-rules): Add rule for indentation before and after "."
2976 token.
2977
df74c4be
SM
29782013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2979
c6dab55f
SM
2980 * textmodes/remember.el (remember-diary-extract-entries):
2981 Avoid add-to-list.
2982
df74c4be
SM
2983 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2984 an instruction.
2985
8c1ae481
DG
29862013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2987
e9dc713d
JB
2988 * progmodes/ruby-mode.el (ruby-smie-grammar):
2989 Add (almost) all infix operators.
cfef16c0
DG
2990 (ruby-smie--implicit-semi-p): Add new operator chars.
2991
8c1ae481
DG
2992 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2993 `smie-down-list'.
2994 (ruby-smie--args-separator-p): Check that there's no newline
2995 between method call and its arguments.
2996
87756ca9
AM
29972013-10-20 Alan Mackenzie <acm@muc.de>
2998
2999 Allow comma separated lists after Java "implements".
3000
df74c4be
SM
3001 * progmodes/cc-engine.el (c-backward-over-enum-header):
3002 Parse commas.
87756ca9
AM
3003 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3004 from a "disallowed" list in enum fontification.
3005
c25f8957
JB
30062013-10-20 Johan Bockgård <bojohan@gnu.org>
3007
df74c4be 3008 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3009
c25f8957
JB
3010 * progmodes/verilog-mode.el (verilog-mode): Don't set
3011 comment-indent-function globally.
3012
aca5fcdc
JD
30132013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3014
5f161884
JD
3015 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3016 Move Info menu item creation to ns-win.el.
3017
3018 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3019 in menu bar.
3020
aca5fcdc
JD
3021 * menu-bar.el: Move GNUStep specific menus...
3022
3023 * term/ns-win.el (ns-initialize-window-system): ... to here.
3024
914b7f98
SM
30252013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * simple.el (newline): Only run post-self-insert-hook when
3028 called interactively.
3029
846ffe77
JB
30302013-10-19 Johan Bockgård <bojohan@gnu.org>
3031
3032 * icomplete.el (icomplete-with-completion-tables): Add :version.
3033
033f22dd
AM
30342013-10-19 Alan Mackenzie <acm@muc.de>
3035
3036 Fix fontification bugs with constructors and const.
3037
3038 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3039 CASE 2) Remove the check for the absence of a suffix construct
3040 after a function declaration with only types (no identifiers) in
3041 the parentheses. Also, accept a function declaration with just a
3042 type inside the parentheses, if this type can be positively
3043 recognised as such, or if a prefix keyword like "explicit" nails
3044 down the construct as a declaration.
3045
58ce0cfc
EZ
30462013-10-19 Eli Zaretskii <eliz@gnu.org>
3047
3048 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3049 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3050 the problem whereby selecting a menu item that leads to a
3051 minibuffer prompt moves the cursor out of the minibuffer window,
3052 making it hard to type at the prompt. Suggested by Stefan Monnier
3053 <monnier@iro.umontreal.ca>.
3054
50e28e7d
JD
30552013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3056
3057 * menu-bar.el: Don't make Services menu.
3058
7deed4bf
RS
30592013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3060
3061 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3062 (ffap-alist): Use ffap-c++-mode for c++-mode.
3063 (ffap-c++-path): New variable.
3064 (ffap-c++-mode): New function.
3065
7bcb455b
JVJ
30662013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3067
3068 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3069
f0ff1cd5
MA
30702013-10-18 Michael Albinus <michael.albinus@gmx.de>
3071
3072 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3073 introduced on 2013-09-08, which results in an infinite loop
3074 requesting a password.
3075
d64da4b7
GM
30762013-10-18 Glenn Morris <rgm@gnu.org>
3077
3078 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3079
ea89ff08
WS
30802013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3081
3082 Sync with upstream verilog-mode revision 1a6ecec7.
3083 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3084 (verilog-mode-release-date): Remove.
3085 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3086 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3087 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3088 (verilog-auto-tieoff-ignore-regexp)
3089 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3090 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3091 (verilog-signals-with, verilog-dir-cache-preserving)
3092 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3093 Doc fixes.
3094 (verilog-case-fold): New option, to control case folding in
3095 regexp searches, bug597.
3096 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3097 (verilog-string-match-fold, verilog-in-paren-count)
3098 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3099 (verilog-at-close-struct-p): New functions.
3100 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3101 (verilog-forward-sexp, verilog-set-auto-endcomments):
3102 (verilog-leap-to-case-head): Handle "unique0" case.
3103 (verilog-in-constraint-re): New constant.
3104 (verilog-keywords, verilog-type-font-keywords):
3105 Add some SystemVerilog 1800-2012 keywords.
3106 (verilog-label-be): Remove unimplemented argument, bug669.
3107 (verilog-batch-execute-func): When batch expanding clear
3108 create-lockfiles to prevent spurious user locks when a file ends
3109 up not changing.
3110 (verilog-calculate-indent, verilog-calc-1)
3111 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3112 (verilog-do-indent): Fix indentation of nested constraints
3113 and structures.
3114 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3115 (verilog-auto-inst-param): Use verilog-string-match-fold.
3116 (verilog-read-inst-module-matcher):
3117 Fix AUTOINST on gate primitives with #1.
3118 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3119 Reads all user-defined typed variables.
3120 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3121 (verilog-signals-matching-regexp)
3122 (verilog-signals-not-matching-regexp, verilog-auto):
3123 Respect verilog-case-fold.
3124 (verilog-diff-report): Fix line count.
3125 (verilog-auto-assign-modport): Remove unused local `modi'.
3126 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3127 better handle multidimensional arrays.
3128 Fix packed array ports misadding bit index in AUTOINST, bug637.
3129 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3130 to not double-declare existing outputs and inputs, respectively.
3131 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3132 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3133 (verilog-sk-uvm-component): New skeleton.
3134 (verilog-submit-bug-report): Add verilog-case-fold,
3135 remove verilog-mode-release-date.
3136
ef566920
BR
31372013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3138
3139 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3140 as before.
3141
29df8a0b
RT
31422013-10-18 Reuben Thomas <rrt@sc3d.org>
3143
e0eb0550 3144 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3145 remember buffers (bug#13566).
3146
04a19a79
DC
31472013-10-18 Daniel Colascione <dancol@dancol.org>
3148
3149 When evaluating forms in ielm, direct standard output to ielm
3150 buffer. Add new ielm-return-for-effect command. Remove trailing
3151 whitespace throughout.
3152
3153 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3154 (ielm-return-for-effect): New command.
3155 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3156 (ielm-eval-input): Accept optional `for-effect' parameter.
3157 Bind `standard-output' to stream we create using
04a19a79
DC
3158 `ielm-standard-output-impl'. Suppress printing result when
3159 `for-effect'.
3160 (ielm-standard-output-impl): New function.
3161 (inferior-emacs-lisp-mode): Explain new features in documentation.
3162
4c1f03ef
MA
31632013-10-17 Michael Albinus <michael.albinus@gmx.de>
3164
3165 Code cleanup.
3166
3167 * net/tramp.el (tramp-debug-message): Do not check for connection
3168 buffer.
3169 (tramp-message): Use "vector" connection property.
3170
3171 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3172 (tramp-equal-remote, tramp-eshell-directory-change)
3173 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3174 (tramp-adb-handle-rename-file)
3175 * net/tramp-cmds.el (tramp-list-remote-buffers)
3176 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3177 * net/tramp-compat.el (tramp-compat-process-running-p)
3178 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3179 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3180 (tramp-gvfs-handle-rename-file)
3181 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3182 (tramp-set-file-uid-gid)
3183 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3184 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3185 of `file-remote-p'.
3186
3187 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3188 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3189 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3190 (tramp-gw-open-network-stream): Suppress unrelated traces.
3191
3192 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3193 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3195 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3196 connection property.
3197
3198 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3199 persistency file.
4c1f03ef
MA
3200
3201 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3202 Refactor common code. Improve debug message.
3203 (tramp-maybe-open-connection)
3204 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3205 connection buffer too early.
3206
3207 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3208 from `tramp-smb-actions-with-acl'.
3209 (tramp-smb-actions-set-acl): New defconst.
3210 (tramp-smb-handle-copy-directory)
3211 (tramp-smb-action-get-acl): New defun, renamed from
3212 `tramp-smb-action-with-acl'.
3213 (tramp-smb-action-set-acl): New defun.
3214 (tramp-smb-handle-set-file-acl): Rewrite.
3215
642eb8b6
GM
32162013-10-17 Glenn Morris <rgm@gnu.org>
3217
3218 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3219
85527ff3
SM
32202013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3221
921c1d62
SM
3222 * skeleton.el (skeleton-newline): Remove.
3223 (skeleton-internal-1): Use (insert "\n") instead.
3224
e333fb10
SM
3225 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3226 let-bindings.
3227
85527ff3
SM
3228 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3229 forward-sexp-function while we redo its job (bug#15613).
3230
c8722a97
JB
32312013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3232
3233 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3234 represented by lists.
3235
7a550bbb
GM
32362013-10-16 Glenn Morris <rgm@gnu.org>
3237
3238 * tmm.el (tmm--history): New dynamic variable.
3239 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3240
f19da8ad
MA
32412013-10-16 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3244 (tramp-smb-errors): Add error messages.
3245 (tramp-smb-actions-with-acl): New defconst.
3246 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3247 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3248 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3249 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3250 (tramp-smb-get-stat-capability): Fix tests.
3251
a24b9961
DK
32522013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3253
3254 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3255 (bug#15580).
3256
62ad85e6
GM
32572013-10-16 Glenn Morris <rgm@gnu.org>
3258
0283d6b0
GM
3259 * ansi-color.el (ansi-color-drop-regexp):
3260 Add 1J, 1K, 2K. (Bug#15617)
3261
012e2f9f
GM
3262 * files.el (hack-local-variables--warned-lexical): New.
3263 (hack-local-variables):
3264 Warn about misplaced lexical-binding. (Bug#15616)
3265
62ad85e6
GM
3266 * net/eww.el (eww-render): Always set eww-current-url,
3267 and update header line. (Bug#15622)
3268 (eww-display-html): ... Rather than just doing it here.
3269
6456c0ea
EZ
32702013-10-15 Eli Zaretskii <eliz@gnu.org>
3271
3272 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3273 menu navigations commands.
3274
c2de5588
DK
32752013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3276
3277 * progmodes/subword.el (subword-capitalize): Be careful when
3278 the search for [[:alpha:]] fails (bug#15580).
3279
ccd4a783
EZ
32802013-10-14 Eli Zaretskii <eliz@gnu.org>
3281
3282 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3283 to commands that scroll the menu.
3284
1eda1d8d
DG
32852013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3286
c2de5588
DK
3287 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3288 Handle methods ending with `?' and `!'.
1eda1d8d 3289
e70181b8
AM
32902013-10-14 Akinori MUSHA <knu@iDaemons.org>
3291
3292 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3293 `japanese-cp932' to `cp932' to fix the problem where saving a
3294 source file written in Shift_JIS twice would end up having
3295 `coding: japanese-cp932' which Ruby could not recognize.
3296 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3297 in `ruby-encoding-map'.
3298 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3299 doesn't need to be explicitly declared in magic comment.
3300 (ruby-encoding-map): Add type declaration for better customize UI.
3301
9148ee92
GM
33022013-10-13 Glenn Morris <rgm@gnu.org>
3303
a5d38e34
GM
3304 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3305 Occur buffers are read-only. http://bugs.debian.org/720775
3306
9148ee92
GM
3307 * emacs-lisp/authors.el (authors-fixed-entries):
3308 Comment out old alpha stuff.
3309
a9ba094b
DG
33102013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3313 to `after-save-hook' instead of `before-save-hook'.
3314 (ruby-mode-set-encoding): Use the value of coding system used to
3315 write the file. Call `basic-save-buffer-1' after modifying the
3316 buffer.
3317
7a068717
AM
33182013-10-13 Alan Mackenzie <acm@muc.de>
3319
3320 Fix indentation/fontification of Java enum with
3321 "implements"/generic.
3322
c2de5588
DK
3323 * progmodes/cc-engine.el (c-backward-over-enum-header):
3324 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3325 (c-inside-bracelist-p): Uses new function above.
3326 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3327 function above.
3328 (c-font-lock-enum-tail): Uses new function above.
3329
85b64f02
KH
33302013-10-13 Kenichi Handa <handa@gnu.org>
3331
3332 * international/mule-cmds.el (select-safe-coding-system): Remove a
3333 superfluous condition in chekcing whether a coding system is safe
3334 or not.
3335
fc7f501b
OK
33362013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3337
3338 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3339
fdcb2049
AP
33402013-10-13 Andreas Politz <politza@hochschule-trier.de>
3341
3342 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3343
8c106d17
GM
33442013-10-13 Glenn Morris <rgm@gnu.org>
3345
feab892d
GM
3346 * menu-bar.el (menu-bar-update-buffers):
3347 Unify Buffers menu prompt string. (Bug#15576)
3348
b22d0686
GM
3349 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3350
8c106d17
GM
3351 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3352 Add some entries.
3353 (authors-fixed-entries): Use accented form of name.
3354
1b12c797
SM
33552013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3356
650fa7bf 3357 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3358 method calls (bug#15594).
650fa7bf
SM
3359 (ruby-smie--args-separator-p): New function.
3360 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3361 recognize paren-free method calls.
3362
1b12c797
SM
3363 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3364 internals of universal-argument.
3365
029619c8
EZ
33662013-10-11 Eli Zaretskii <eliz@gnu.org>
3367
3368 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3369 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3370 dropped menu on second mouse click on the menu bar.
029619c8 3371
dd070019
SM
33722013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3375 (explicit-shell-file-name): Declare.
3376 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3377 (sh-completion-at-point-function): New function.
3378 (sh-mode): Use it.
3379 (sh-smie--keyword-p): Remove unused argument.
3380 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3381 vars.
3382 (sh-set-shell): Always setup SMIE, even if we use the
3383 old indentation code.
3384
0922b826
DG
33852013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3386
b68e2926
DG
3387 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3388 cases of ? and =.
3389 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3390 predicate would return nil are almost non-existent.
3391 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3392
0922b826
DG
3393 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3394 cache also after commands that modify the buffer but don't move
3395 point.
3396
ee041f2d
SM
33972013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * env.el (substitute-env-in-file-name): New function.
3400 (substitute-env-vars): Extend the meaning of the optional arg.
3401
a5dab159
EZ
34022013-10-10 Eli Zaretskii <eliz@gnu.org>
3403
3404 * term/w32-win.el (dynamic-library-alist): Define separate lists
3405 of GIF DLLs for versions before and after 5.0.0 of giflib.
3406 (Bug#15531)
3407
0449d6cd 34082013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3409
3410 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3411 not locked, use last revision and current source as
3412 defaults. (Bug#15569)
3413
2f6e161e
MY
34142013-10-10 Masatake YAMATO <yamato@redhat.com>
3415
3416 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3417 menu-bar is hidden.
3418
6c8413fc
MR
34192013-10-10 Martin Rudalics <rudalics@gmx.at>
3420
3421 * window.el (pop-to-buffer-same-window): Fix doc-string.
3422 (Bug#15492)
3423
20832de0
SM
34242013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3427
c6e8ae77
AC
34282013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3429
3430 * calendar/icalendar.el (icalendar-import-file):
3431 Fix interactive spec. (Bug#15482)
3432
9db13baf
GM
34332013-10-10 Glenn Morris <rgm@gnu.org>
3434
9271e90e
GM
3435 * desktop.el (desktop-save): Default to saving in .emacs.d,
3436 since PWD is no longer in desktop-path by default. (Bug#15319)
3437
9db13baf
GM
3438 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3439 now that text mode has a menu with the same entry.
3440 (menu-bar-text-mode-auto-fill): Remove now unused func.
3441 * textmodes/text-mode.el (text-mode-map):
3442 Use auto-fill help text from menu-bar.el.
3443
a0be396a 34442013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3445
3446 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3447
2edcd3c7
JL
34482013-10-09 Juri Linkov <juri@jurta.org>
3449
3450 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3451 instead of this-command-keys. Add universal-argument-more and
3452 universal-argument-minus to the list of prefix commands. (Bug#15568)
3453
574411d0
GM
34542013-10-09 Glenn Morris <rgm@gnu.org>
3455
14afa541
GM
3456 * vc/vc-svn.el (vc-svn-create-repo):
3457 Expand paths in file://... url. (Bug#15446)
3458
574411d0
GM
3459 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3460 Add some entries.
3461 (authors): Remove unused local variables.
3462
79804536
SM
34632013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * profiler.el: Create a more coherent calltree from partial backtraces.
3466 (profiler-format): Hide the tail with `invisible' so that C-s can still
3467 find the hidden elements.
3468 (profiler-calltree-depth): Don't recurse so enthusiastically.
3469 (profiler-function-equal): New hash-table-test.
3470 (profiler-calltree-build-unified): New function.
3471 (profiler-calltree-build): Use it.
3472 (profiler-report-make-name-part): Indent the calltree less.
3473 (profiler-report-mode): Add visibility specs for profiler-format.
3474 (profiler-report-expand-entry, profiler-report-toggle-entry):
3475 Expand the whole subtree when provided with a prefix arg.
3476
238150c8
DG
34772013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3478
3479 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3480 iuwu-mod token.
3481 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3482 hanging iuwu-mod token.
3483 (ruby-smie--forward-token): Do not include a dot after a token in
3484 that token.
3485 (ruby-smie--backward-token): Likewise.
3486
b0949cc4
JL
34872013-10-08 Juri Linkov <juri@jurta.org>
3488
3489 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3490 to isearch-other-control-char.
3491 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3492 and isearch-post-command-hook to post-command-hook.
3493 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3494 and isearch-post-command-hook from post-command-hook.
3495 (isearch-unread-key-sequence)
3496 (isearch-reread-key-sequence-naturally)
3497 (isearch-lookup-scroll-key, isearch-other-control-char)
3498 (isearch-other-meta-char): Remove functions.
3499 (isearch-pre-command-hook, isearch-post-command-hook):
3500 New functions based on isearch-other-meta-char rewritten
3501 relying on the new behavior of overriding-terminal-local-map
3502 that does not replace the local keymaps any more. (Bug#15200)
3503
4ed77415
EZ
35042013-10-08 Eli Zaretskii <eliz@gnu.org>
3505
3506 Support menus on text-mode terminals.
3507 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3508 functionality.
3509
3510 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3511
c2de5588
DK
3512 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3513 Move here from mouse.el.
4ed77415
EZ
3514 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3515 and arrow keys.
3516 (tty-menu-navigation-map): New map for TTY menu navigation.
3517
3518 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3519
3520 * frame.el (display-mouse-p): Report text-mode mouse as available
3521 on w32.
3522 (display-popup-menus-p): Report availability if mouse is
3523 available; don't condition on window-system.
3524
3525 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3526 (tty-menu-selected-face): New faces.
3527
b7d5bd82
TL
35282013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3529
06286513
SM
3530 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3531 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3532 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3533 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3534 New constants.
3535 (lisp-mode-variables): New `elisp' argument.
3536 (emacs-lisp-mode): Use it.
3537 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3538 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3539
b7d5bd82
TL
3540 * indent.el: Use lexical-binding.
3541 (indent-region): Add progress reporter.
3542 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3543 last step.
3544 (indent--next-tab-stop): New function to implement this behavior.
3545 (tab-to-tab-stop, move-to-tab-stop): Use it.
3546
35472013-10-08 Teemu Likonen <tlikonen@iki.fi>
3548
3549 * indent.el (indent-rigidly--current-indentation): New function.
3550 (indent-rigidly-map): New var.
3551 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3552
5ea75d23
BG
35532013-10-08 Bastien Guerry <bzg@gnu.org>
3554
3555 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3556
cc5da1ec
SM
35572013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3558
8ffa1a0b
SM
3559 * progmodes/perl-mode.el: Use lexical-binding.
3560 Remove redundant :group args.
3561 (perl-nochange): Change default to be closer to other major modes's
3562 standard behavior.
3563 (perl-indent-line): Don't consider text on current line as a
3564 valid beginning of function from which to indent.
3565
f2223371
SM
3566 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3567 with more than one argument (bug#15538).
3568
44256060
SM
3569 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3570
cc5da1ec
SM
3571 * vc/pcvs.el: Use lexical-binding.
3572 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3573 environment of `eval'.
3574 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3575 than a list of expressions. Adjust callers.
3576 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3577
0ea1599d
DG
35782013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3581 case of the dot in a chained method call being on the following line.
0ea1599d 3582
da3e5ebb
SM
35832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3584
2abb4e65
SM
3585 * electric.el (electric-indent-inhibit): New var.
3586 (electric-indent-post-self-insert-function): Use it.
3587 * progmodes/python.el (python-mode): Set it.
3588
d2e0e795
SM
3589 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3590 open braces.
3591
3592 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3593
bdc6b4c8
SM
3594 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3595 (css-mode): Use electric-indent-chars.
3596
da3e5ebb
SM
3597 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3598 (font-lock-beg, font-lock-end): Move before first use.
3599 (nxml-mode): Use syntax-propertize-function.
3600 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3601 (nxml-extend-after-change-region): Remove.
3602 * nxml/xmltok.el: Use lexical-binding.
3603 (xmltok-save): Use `declare'.
3604 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3605 * nxml/nxml-util.el: Use lexical-binding.
3606 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3607 Use `declare'.
3608 * nxml/nxml-ns.el: Use lexical-binding.
3609 (nxml-ns-save): Use `declare'.
3610 (nxml-ns-prefixes-for): Avoid add-to-list.
3611 * nxml/rng-match.el: Use lexical-binding.
3612 (rng--ipattern): Use cl-defstruct.
3613 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3614 (rng-cons-group-after, rng-subst-group-after)
3615 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3616 Use closures instead of `(lambda...).
3617
f8f91d5d
MA
36182013-10-07 Michael Albinus <michael.albinus@gmx.de>
3619
3620 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3621 of BEG and END.
3622
da3e5ebb
SM
3623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3624 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3625 (tramp-gvfs-handle-insert-file-contents): Remove function.
3626
da3e5ebb
SM
3627 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3628 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3629
3630 * net/trampver.el: Update release number.
3631
7ccae3b1
SM
36322013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3633
55ca2c0d
SM
3634 * progmodes/compile.el (compilation-parse-errors):
3635 Use compilation--put-prop.
3636 (compilation--ensure-parse): Check compilation-multiline.
3637
731fc3ae
SM
3638 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3639
da3e5ebb
SM
3640 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3641 lexical-binding.
a5833280 3642
2e7ba2c2
SM
3643 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3644
7ccae3b1
SM
3645 * progmodes/ruby-mode.el: Fix recently added tests.
3646 (ruby-smie-grammar): Add - and +.
3647 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3648 (ruby-smie--backward-id): New functions.
3649 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3650 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3651 any more.
3652
85698d63
LL
36532013-10-07 Leo Liu <sdl.web@gmail.com>
3654
3655 * register.el (register-preview-delay)
3656 (register-preview-functions): New variables.
3657 (register-read-with-preview, register-preview)
3658 (register-describe-oneline): New functions.
3659 (point-to-register, window-configuration-to-register)
3660 (frame-configuration-to-register, jump-to-register)
3661 (number-to-register, view-register, insert-register)
3662 (copy-to-register, append-to-register, prepend-to-register)
3663 (copy-rectangle-to-register): Use register-read-with-preview to
3664 read register. (Bug#15525)
3665
3986af6c
DS
36662013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3667
3668 * net/network-stream.el (network-stream-open-starttls): Don't add
3669 --insecure if it's already present, because that gnutls-cli
3670 rejects getting that parameter twice.
3671
5cd9cda9
DG
36722013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3673
3674 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3675 keyword, too.
3676
da9ea6d9
DG
36772013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3678
3679 * newcomment.el (comment-use-global-state): Change default value
3680 to t, mark obsolete (Bug#15251).
3681 (comment-beginning): In addition to `comment-to-syntax', check the
3682 value of `comment-use-global-state'.
3683
34d1a133
SM
36842013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3687 (ruby-comment-column): Follow the global default, by default.
3688 (ruby-smie-grammar): Add assignment syntax.
3689 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3690 open-paren, a comma, or a \.
3691 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3692 and line continuations.
3693 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3694 followed by implicit semi-colons. Add rule for string concatenation
3695 and for indentation at BOB.
3696 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3697
3698 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3699 calling next-sexp, since next-token may have skipped chars which
3700 next-sexp doesn't know should be skipped!
3701
6f6ab820
LL
37022013-10-05 Leo Liu <sdl.web@gmail.com>
3703
34d1a133
SM
3704 * progmodes/octave.el (octave-send-region):
3705 Call compilation-forget-errors.
6f6ab820 3706
34ca0f4c
XF
37072013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3708
3709 * vc/vc-svn.el (vc-svn-find-admin-dir):
3710 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3711 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3712 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3713 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3714
a27c1b72
SM
37152013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3718
258ab3bc
SM
37192013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * subr.el (read-passwd): Hide chars even when called within a context
3722 where after-change-functions is disabled (bug#15501).
3723 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3724 until we removed ourself from overriding-terminal-local-map.
3725
939fb29c
LL
37262013-10-04 Leo Liu <sdl.web@gmail.com>
3727
258ab3bc
SM
3728 * progmodes/octave.el (inferior-octave-mode):
3729 Call compilation-forget-errors.
939fb29c 3730
63bd7f35
XF
37312013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3732
3733 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3734
9e6229fa
MA
37352013-10-04 Michael Albinus <michael.albinus@gmx.de>
3736
3737 * net/secrets.el (secrets-create-collection): Add optional
3738 argument ALIAS. Use proper Label keyword. Append ALIAS as
3739 dbus-call-method argument. (Bug#15516)
3740
1dab32a3
LL
37412013-10-04 Leo Liu <sdl.web@gmail.com>
3742
3743 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3744 (inferior-octave-compilation-font-lock-keywords): New variables.
3745 (compilation-error-regexp-alist)
3746 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3747 (inferior-octave-mode): Use compilation-shell-minor-mode.
3748
6cad7ba3
JS
37492013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3750
3751 * minibuffer.el (completion--replace): Be careful that `end' might be
3752 a marker.
3753
acbadd00
DU
37542013-10-03 Daiki Ueno <ueno@gnu.org>
3755
3756 Add support for package signature checking.
3757 * emacs-lisp/package.el (url-http-file-exists-p)
3758 (epg-make-context, epg-context-set-home-directory)
3759 (epg-verify-string, epg-context-result-for)
3760 (epg-signature-status, epg-signature-to-string)
3761 (epg-check-configuration, epg-configuration)
3762 (epg-import-keys-from-file): Declare.
3763 (package-check-signature): New user option.
3764 (package-unsigned-archives): New user option.
3765 (package-desc): Add `signed' field.
3766 (package-load-descriptor): Set `signed' field if .signed file exists.
3767 (package--archive-file-exists-p): New function.
3768 (package--check-signature): New function.
3769 (package-install-from-archive): Check package signature.
3770 (package--download-one-archive): Check archive signature.
3771 (package-delete): Remove .signed file.
3772 (package-import-keyring): New command.
3773 (package-refresh-contents): Import default keyring.
3774 (package-desc-status): Add "unsigned" status.
3775 (describe-package-1, package-menu--print-info)
3776 (package-menu-mark-delete, package-menu--find-upgrades)
3777 (package-menu--status-predicate): Support "unsigned" status.
3778
adf2aa61
SM
37792013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3782 the new compilation scheme using the new byte-codes.
3783
3784 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3785 (byte-pophandler): New byte codes.
3786 (byte-goto-ops): Adjust accordingly.
3787 (byte-compile--use-old-handlers): New var.
3788 (byte-compile-catch): Use new byte codes depending on
3789 byte-compile--use-old-handlers.
3790 (byte-compile-condition-case--old): Rename from
3791 byte-compile-condition-case.
3792 (byte-compile-condition-case--new): New function.
3793 (byte-compile-condition-case): New function that dispatches depending
3794 on byte-compile--use-old-handlers.
3795 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3796 when we can.
3797
3798 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3799 Optimize under `condition-case' and `catch' if
3800 byte-compile--use-old-handlers is nil.
3801 (disassemble-offset): Handle new bytecodes.
3802
328a8179
SM
38032013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * subr.el (error): Use `declare'.
3806 (decode-char, encode-char): Use advertised-calling-convention instead
3807 of the docstring to discourage use of the `restriction' arg.
3808
15a1e936
DU
38092013-10-03 Daiki Ueno <ueno@gnu.org>
3810
3811 * epg.el (epg-verify-file): Add a comment saying that it does not
3812 notify verification error as a return value nor a signal.
3813 (epg-verify-string): Ditto.
3814
376f862a
KR
38152013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3816
3817 * progmodes/compile.el (compilation-start): Try globbing the arg to
3818 `cd' (bug#15417).
3819
a2f93a5f
MA
38202013-10-02 Michael Albinus <michael.albinus@gmx.de>
3821
3822 Sync with Tramp 2.2.8.
3823
3824 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3825 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3826 * net/trampver.el: Update release number.
3827
0daa0804
JD
38282013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3829
3830 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3831 and default-process-coding-system for darwin only.
3832
abd1ae34
SM
38332013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3836
be4e325d
MH
38372013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3838
3839 * vc/vc-git.el (vc-git-grep): Disable pager.
3840
e9155c4a
DG
38412013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3842
494e898b
DG
3843 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3844 Use :url instead of :homepage, as per
3845 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3846
e9155c4a
DG
3847 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3848 non-nil, use `syntax-ppss' (Bug#15251).
3849
481a8e0f
RS
38502013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3851
be4e325d
MH
3852 * progmodes/octave.el (inferior-octave-startup-file):
3853 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3854
056453c6
DG
38552013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3856
be4e325d
MH
3857 * emacs-lisp/package.el (package-desc-from-define):
3858 Accept additional arguments as plist, convert them to an alist and store
3859 them in the `extras' slot.
056453c6
DG
3860 (package-generate-description-file): Convert extras alist back to
3861 plist and append to the `define-package' form arguments.
3862 (package--alist-to-plist): New function.
3863 (package--ac-desc): Add `extras' slot.
3864 (package--add-to-archive-contents): Check if the archive-contents
3865 vector is long enough, and if it is, pass its `extras' slot value
3866 to `package-desc-create'.
3867 (package-buffer-info): Call `lm-homepage', pass the returned value
3868 to `package-desc-from-define'.
3869 (describe-package-1): Render the homepage button (Bug#13291).
3870
be4e325d
MH
3871 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3872 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3873
832966e5
JD
38742013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3875
3876 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3877 and default-process-coding-system to utf-8-unix (Bug#15402).
3878
6cfe977d
XF
38792013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3880
3881 * subr.el (looking-back): Do not recommend using looking-back.
3882
38de11bd
AM
38832013-09-28 Alan Mackenzie <acm@muc.de>
3884
3885 Fix indentation/fontification of Java enum with "implements".
3886
3887 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3888 regexp which matches "implements", etc., in Java.
3889 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3890 specifier clauses coming after "enum".
3891 * progmodes/cc-fonts.el (c-font-lock-declarations)
3892 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3893 after "enum".
3894
1610938f
JD
38952013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3896
3897 * faces.el (region): Change ns_selection_color to
3898 ns_selection_fg_color, add ns_selection_bg_color.
3899
e090f499
LL
39002013-09-28 Leo Liu <sdl.web@gmail.com>
3901
4d2e94d1
LL
3902 * progmodes/octave.el (inferior-octave-completion-table)
3903 (inferior-octave-completion-at-point): Minor tweaks.
3904
e090f499
LL
3905 * textmodes/ispell.el (ispell-lookup-words): Rename from
3906 lookup-words. (Bug#15460)
3907 (lookup-words): Obsolete.
3908 (ispell-complete-word, ispell-command-loop): All uses changed.
3909
7e138a62
RS
39102013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3911
3912 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3913 (octave-mode-menu): Add octave-send-buffer.
3914 (octave-send-buffer): New function.
3915
5af5ed08
RS
39162013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3917
3918 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3919 octave-lookfor.
3920 (octave-mode-menu): Add octave-lookfor.
3921 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3922 octave-lookfor.
3923 (octave-lookfor): New function.
3924
3b7b2692
SM
39252013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * emacs-lisp/cl-macs.el:
3928 (cl--loop-destr-temps): Remove.
3929 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3930 its convention.
3931 (cl--loop-set-iterator-function): New function.
3932 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3933 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3934 Bind `it' with `let' instead of substituting it with `cl-subst'.
3935 (cl--unused-var-p): New function.
3936 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3937 Eliminate some unused variable warnings (bug#15326).
3938
529fb53f
TH
39392013-09-27 Tassilo Horn <tsdh@gnu.org>
3940
3941 * doc-view.el (doc-view-scale-reset): Rename from
3942 `doc-view-reset-zoom-level'.
3943 (doc-view-scale-adjust): New command.
3944 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3945 `doc-view-scale-adjust'.
3946
0550c95a
TH
39472013-09-26 Tassilo Horn <tsdh@gnu.org>
3948
3949 * doc-view.el (doc-view-reset-zoom-level): New command.
3950 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3951 zoom commands (bug#15466).
3952
6950f152
KH
39532013-09-26 Kenichi Handa <handa@gnu.org>
3954
3955 * international/quail.el (quail-help): Make it not a command.
3956
39587580
LL
39572013-09-26 Leo Liu <sdl.web@gmail.com>
3958
3959 * minibuffer.el (completion-all-sorted-completions): Make args
3960 optional as they are.
3961
00578659
DC
39622013-09-25 Daniel Colascione <dancol@dancol.org>
3963
3964 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3965 specs are and that they're not evaluated.
3966
0c173878
SS
39672013-09-24 Sam Steingold <sds@gnu.org>
3968
3969 * midnight.el (clean-buffer-list-kill-regexps)
3970 (clean-buffer-list-kill-buffer-names): Update for the new Man
3971 buffer naming which includes the object name.
3972
84998447
SM
39732013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3976 (eshell-parse-command, eshell-parse-pipeline): Use it since
3977 eshell-separate-commands requires a dynamic scoped var.
3978 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3979
33215353
LL
39802013-09-23 Leo Liu <sdl.web@gmail.com>
3981
3982 * autoinsert.el (auto-insert-alist): Make the value of
3983 lexical-binding match its file setting.
3984
57b16162
JB
39852013-09-23 Juanma Barranquero <lekktu@gmail.com>
3986
c8af4e67
JB
3987 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3988
57b16162
JB
3989 * autoarg.el (autoarg-kp-digit-argument):
3990 * electric.el (Electric-command-loop):
3991 * kmacro.el (kmacro-step-edit-insert):
3992 Do not set universal-argument-num-events.
3993
7186ba60
LL
39942013-09-22 Leo Liu <sdl.web@gmail.com>
3995
3996 * files.el (interpreter-mode-alist): Add octave.
3997
ece15004
AM
39982013-09-21 Alan Mackenzie <acm@muc.de>
3999
4000 C++: fontify identifier in declaration following "public:" correctly.
4001 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4002 to match "public", etc.
4003 (c-decl-prefix-re): Add ":" into the C++ value.
4004 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4005 bit. Add a check for a ":" preceded by "public", etc.
4006
75d83e22
EZ
40072013-09-21 Eli Zaretskii <eliz@gnu.org>
4008
4009 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4010 recognized by GDB 7.5 and later.
4011
d052d3bd
XF
40122013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4013
4014 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4015
31dca772
R
40162013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * subr.el (internal--call-interactively): New const.
4019 (called-interactively-p): Use it (bug#3984).
4020
98ccf24e
XF
40212013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4022
4023 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4024 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4025 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4026
c39cc7d1
SM
40272013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4030 (eshell-ls-orig-insert-directory): Remove.
4031 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4032 (eshell-ls-use-in-dired): Use advice-add/remove.
4033 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4034 Add `orig-fun' arg for use in :around advice.
4035 Make it check (redundantly) eshell-ls-use-in-dired.
4036
9a0289a2
GM
40372013-09-19 Glenn Morris <rgm@gnu.org>
4038
a2c501b8
GM
4039 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4040
c440407a
GM
4041 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4042
9a0289a2
GM
4043 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4044
85e05915
MA
40452013-09-19 Michael Albinus <michael.albinus@gmx.de>
4046
4047 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4048 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4049 (tramp-get-remote-python): New defuns.
4050 (tramp-get-remote-uid-with-perl)
4051 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4052 contributed by yary <not.com@gmail.com> (tiny change).
4053 (tramp-get-remote-uid-with-python)
4054 (tramp-get-remote-gid-with-python): New defuns. Python code
4055 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4056 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4057
ce503312
GM
40582013-09-19 Glenn Morris <rgm@gnu.org>
4059
f7544773
GM
4060 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4061
72fd2877
GM
4062 * eshell/em-unix.el (eshell-remove-entries):
4063 Rename argument to avoid name-clash with global `top-level'.
4064
336b5a56
GM
4065 * eshell/esh-proc.el (eshell-kill-process-function):
4066 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4067 (eshell-reset-after-proc): Remove unused arg `proc'.
4068
57a3a53d
GM
4069 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4070 (directory-files-and-attributes): Mark unused arg.
4071
3261d4af
GM
4072 * eshell/em-unix.el (eshell-remove-entries):
4073 Remove unused arg `path'. Update callers.
4074
8e51b5d0
GM
4075 * eshell/em-hist.el (eshell-hist-parse-arguments):
4076 Remove unused arg `silent'. Update callers.
4077
ce503312
GM
4078 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4079 Fix (f)boundp mix-up.
4080
4081 * eshell/em-smart.el (eshell-smart-scroll-window)
4082 (eshell-disable-after-change):
336b5a56 4083 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4084
ee3ce8a7
AM
40852013-09-18 Alan Mackenzie <acm@muc.de>
4086
4087 Fix fontification of type when followed by "const".
4088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4089 "known" types from fontification.
4090
ec9177ba
GM
40912013-09-18 Glenn Morris <rgm@gnu.org>
4092
7bb3e768
GM
4093 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4094 (chart-face-list): Drop Emacsen without display-color-p.
4095
5148da15
GM
4096 * net/eww.el (libxml-parse-html-region): Declare.
4097 (eww-display-html): Explicit error if no libxml2 support.
4098
2f68e157
GM
4099 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4100
9019d095
GM
4101 * image.el (image-type-from-buffer, image-multi-frame-p):
4102 Remove --without-x warning/error.
67645389 4103
5f30349b 4104 * mouse.el (mouse-yank-primary):
45069b2e 4105 * term.el (term-mouse-paste):
5f30349b
GM
4106 Reorder to silence --without-x compilation.
4107
cd8edbbe
GM
4108 * mpc.el (doc-view-mode): Silence --without-x compilation.
4109
8a78544e
GM
4110 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4111 Silence --without-x compilation.
4112
12679bfd
GM
4113 * progmodes/gud.el (gud-find-file, gud-mode):
4114 Silence --without-x compilation.
4115 (tooltip-mode): Declare.
30810a05 4116
f0047cb9
GM
4117 * wdired.el (dired-backup-overwrite): Remove declaration.
4118 (wdired-mode-map): Add doc string.
4119
e740f9d2
GM
4120 * custom.el (x-get-resource): Declare.
4121
92d77c89
GM
4122 * eshell/em-glob.el (ange-cache):
4123 * eshell/em-unix.el (ange-cache): Declare.
4124
76e69577
GM
4125 * faces.el (x-display-list, x-open-connection, x-get-resource):
4126 Declare.
7e58af4b
GM
4127
4128 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4129 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4130 Declare.
76e69577 4131
4bd4c0af 4132 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4133
ffb82dbd
GM
4134 * net/gnutls.el (gnutls-log-level): Declare.
4135
986ed135
GM
4136 * net/shr.el (image-size, image-animate): Declare.
4137
e740f9d2
GM
4138 * simple.el (font-info): Declare.
4139
d2f3e9f8
GM
4140 * subr.el (x-popup-dialog): Declare.
4141
047a1a4c
GM
4142 * term/common-win.el (x-select-enable-primary)
4143 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4144 Declare.
4145
f4a1d572
GM
4146 * term/ns-win.el (x-handle-args): Declare.
4147
e843de77
GM
4148 * term/x-win.el (x-select-enable-clipboard): Declare.
4149
5fa89513
GM
4150 * term/w32-win.el (create-default-fontset): Declare.
4151
38702b5b
GM
4152 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4153 Declare.
4154
e740f9d2
GM
4155 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4156 (fit-frame-to-buffer): Explicit error if --without-x.
4157 (mouse-autoselect-window-select): Silence compiler.
4158
49a053fc
GM
4159 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4160
4161 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4162 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4163 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4164 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4165 Remove unused local variables.
4166
4167 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4168
ec9177ba
GM
4169 * textmodes/two-column.el: Make 2C-split work for --without-x.
4170 (scroll-bar-columns): Autoload.
4171 (top-level): Require fringe when compiling.
4172
9f25cb77
LL
41732013-09-18 Leo Liu <sdl.web@gmail.com>
4174
4175 * subr.el (add-hook): Robustify to handle closure as well.
4176
2b42da98
GM
41772013-09-17 Glenn Morris <rgm@gnu.org>
4178
4179 * simple.el (messages-buffer-mode-map): Unbind "g".
4180
e8b66a6a
SM
41812013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4182
9c0ad4f7
SM
4183 * help-mode.el (help-mode-finish): Use derived-mode-p.
4184 Remove obsolete highlighting.
4185
7a806dfb
SM
4186 * play/life.el (life-mode): Use define-derived-mode. Derive from
4187 special-mode.
4188 (life): Let-bind inhibit-read-only.
4189 (life-setup): Avoid `setq'. Use `life-mode'.
4190
96dbf5a8
SM
4191 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4192 which should not be needed any more.
4193 (package-menu-refresh, package-menu-describe-package): Use user-error.
4194
e8b66a6a
SM
4195 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4196 (eshell-post-rewrite-command-hook): Make obsolete.
4197 (eshell-parse-command): Simplify.
4198 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4199 (eshell--cmd): Declare.
4200 (eshell-parse-pipeline): Remove unused var `final-p'.
4201 Pass a dynvar to eshell-post-rewrite-command-hook.
4202 Implement the new eshell-post-rewrite-command-function.
4203 (eshell-invoke-directly): Remove unused arg `input'.
4204 * eshell/esh-io.el (eshell-io-initialize):
4205 Use eshell-post-rewrite-command-function (bug#15399).
4206 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4207 adjust to new calling convention.
4208 (eshell-create-handles): Rename args to avoid clashing with dynvar
4209 `standard-output'.
4210
90582f05
GM
42112013-09-17 Glenn Morris <rgm@gnu.org>
4212
4213 * simple.el (messages-buffer-mode): New major mode.
4214 (messages-buffer): New function.
4215 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4216 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4217 (ert-run-test): Use `messages-buffer' function.
90582f05 4218 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4219 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4220 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4221
39eb0cb5 42222013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4223
4224 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4225
1d42e5b6 4226 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4227
70568a90
SM
42282013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4229
504a0381
SM
4230 * icomplete.el (icomplete-in-buffer): New var.
4231 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4232 vars and replace them with functions.
4233 (icomplete-minibuffer-setup): Adjust accordingly.
4234 (icomplete--completion-table, icomplete--completion-predicate)
4235 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4236 New functions.
4237 (icomplete-forward-completions, icomplete-backward-completions)
4238 (icomplete-simple-completing-p, icomplete-exhibit)
4239 (icomplete-completions): Use them.
4240 (icomplete--in-region-buffer): New var.
4241 (icomplete--in-region-setup): New function.
4242 (icomplete-mode): Use it.
4243
70568a90
SM
4244 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4245 (bug#15379).
4246 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4247 return args and options.
4248 (eshell-eval-using-options): Use the new return value of
4249 eshell--do-opts to set the options's vars in their scope.
4250 (eshell--set-option): Rename from eshell-set-option.
4251 Add arg `opt-vals'.
4252 (eshell--process-option): Rename from eshell-process-option.
4253 Add arg `opt-vals'.
4254 (eshell--process-args): Use an `opt-vals' alist to store the options's
4255 values during their processing and return them additionally to the
4256 remaining args.
4257
578c21bc
DG
42582013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4259
4260 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4261 continuation character an operator, as far as indentation is
4262 concerned (Bug#15369).
4263
c089653d
MR
42642013-09-15 Martin Rudalics <rudalics@gmx.at>
4265
4266 * window.el (window--state-put-2): Don't process buffer state
4267 when buffer doesn't exist any more (Bug#15382).
4268
1e53bb4b
GM
42692013-09-15 Glenn Morris <rgm@gnu.org>
4270
30753242
GM
4271 * eshell/em-unix.el (eshell/rm):
4272 Make -f ignore missing files. (Bug#15373)
4273
1e53bb4b
GM
4274 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4275 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4276 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4277
0d8863b3
GM
42782013-09-14 Glenn Morris <rgm@gnu.org>
4279
4280 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4281
d3fc6549
GM
42822013-09-13 Glenn Morris <rgm@gnu.org>
4283
4284 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4285 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4286
fcd42c11
DA
42872013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4288
4289 * frame.el (x-focus-frame): Mark as declared in frame.c.
4290
7830899f
SM
42912013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * ls-lisp.el: Use advice-add.
4294 (original-insert-directory): Remove.
4295 (ls-lisp--insert-directory): Rename from insert-directory; add
4296 `orig-fun' argument.
4297 (insert-directory): Advise.
4298
84387cd2
EZ
42992013-09-13 Eli Zaretskii <eliz@gnu.org>
4300
4301 * term.el (term-emulate-terminal): Decode the command string
4302 before passing it to term-command-hook. (Bug#15337)
4303
35ffc6ba
GM
43042013-09-13 Glenn Morris <rgm@gnu.org>
4305
5c3f9bcc
GM
4306 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4307
2ada368a
GM
4308 * eshell/esh-ext.el (eshell-search-path): Declare.
4309
fcef2e13
GM
4310 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4311 Otherwise an error occurs if eshell-dirs module not loaded.
4312
35ffc6ba
GM
4313 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4314
35c3d36e
MA
43152013-09-13 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4318 `tramp-check-proper-host'. Check for a valid method name.
4319
4320 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4321 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4322 * net/tramp-sh.el (tramp-maybe-open-connection):
4323 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4324
4325 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4326 also for hash values.
4327
ae5e4c48
SM
43282013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4329
379add74
SM
4330 * term/ns-win.el (parameters): Don't declare as dynamic.
4331 (before-make-frame-hook): Don't add ineffective function.
4332
ae5e4c48
SM
4333 * eshell/*.el: Use lexical-binding (bug#15231).
4334
b5623270
KH
43352013-09-12 Kenichi Handa <handa@gnu.org>
4336
ae5e4c48 4337 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4338
30213927
GM
43392013-09-12 Glenn Morris <rgm@gnu.org>
4340
be94d713 4341 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4342 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4343
44915370
GM
4344 * subr.el (do-after-load-evaluation): Also give compiler warnings
4345 when obsolete files are used (except by obsolete files).
4346
a6ae021f
GM
4347 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4348 in the status output, assume `filename' is the first. (Bug#15322)
4349
40e64f0c
GM
4350 * vc/vc.el (vc-deduce-fileset): Doc fix.
4351
16d9f896
GM
4352 * calc/calc-help.el (Info-goto-node):
4353 * progmodes/cperl-mode.el (Info-find-node):
4354 * vc/ediff.el (Info-goto-node): Update declarations.
4355
dea01c6e
GM
4356 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4357
759880bf 4358 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4359 (vc-bzr-pull): Require vc-dispatcher.
4360 * vc/vc-git.el (vc-compilation-mode): Declare.
4361 (vc-git-pull): Require vc-dispatcher.
4362
08d66420
GM
4363 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4364
30b626e9
GM
4365 * progmodes/octave.el (help-button-action): Declare.
4366
8c05cb10
GM
4367 * shell.el (shell-directory-tracker): Output error as a message
4368 rather than just returning it as a string.
4369 (shell-process-pushd): Remove useless use of message.
4370
30213927
GM
4371 * dframe.el (dframe-timer-fn):
4372 * files.el (dir-locals-read-from-file):
4373 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4374 (mpc-format):
4375 * reveal.el (reveal-post-command):
4376 * saveplace.el (load-save-place-alist-from-file):
4377 * shell.el (shell-resync-dirs):
4378 * w32-common-fns.el (x-get-selection-value):
4379 * emacs-lisp/copyright.el (copyright-find-copyright):
4380 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4381 * emulation/tpu-edt.el (tpu-copy-keyfile):
4382 * play/bubbles.el (bubbles--mark-neighbourhood):
4383 * progmodes/executable.el
4384 (executable-make-buffer-file-executable-if-script-p):
4385 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4386
d3b049e6
SM
43872013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4388
170266d0
SM
4389 Cleanup Eshell to rely less on dynamic scoping.
4390 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4391 last-value, and ext-command here. Bind `args' closer to `body'.
4392 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4393 (eshell--args): Declare new dynamic var.
4394 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4395 last-value, and ext-command. Pass `args' to `body'.
4396 (eshell-process-args): Bind eshell--args.
4397 (eshell-set-option): Use eshell--args.
4398 * eshell/eshell.el (eshell): Use derived-mode-p.
4399 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4400 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4401 (eshell-glob-function): Declare.
4402 * eshell/esh-util.el: Require cl-lib.
4403 (eshell-read-hosts-file): Avoid add-to-list.
4404 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4405 `err'.
4406 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4407 Declare.
4408 (eshell/diff): Remove unused var `err'.
4409 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4410 `killflag'.
4411 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4412 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4413 first use.
4414 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4415 Move declaration before first use.
4416 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4417 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4418 rely on cl-return.
4419
56834f3b
GM
44202013-09-12 Glenn Morris <rgm@gnu.org>
4421
4422 * term/ns-win.el (global-map): Remove binding for ispell-next,
4423 deleted 1999-05-29. (Bug#15357)
4424
5c91a2b8
GM
44252013-09-11 Glenn Morris <rgm@gnu.org>
4426
da712f22
GM
4427 * echistory.el (electric-command-history): Remove call to deleted func.
4428
512e4cdc
GM
4429 * play/landmark.el (landmark-mode): Fix typos.
4430
d3506ca5
GM
4431 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4432 Check cvs-sort-ignore-file is bound.
4433
5c91a2b8
GM
4434 * savehist.el: No need for cl when compiling on Emacs.
4435
feeff482
SM
44362013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4437
656bd483
SM
4438 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4439 (bug#15338).
d3b049e6
SM
4440 (eshell-self-insert-command, eshell-send-invisible):
4441 Remove unused argument.
656bd483
SM
4442 (eshell-handle-control-codes): Remove unused var `orig'.
4443 Avoid delete-backward-char.
4444
feeff482
SM
4445 * files.el (set-auto-mode): Simplify a bit further.
4446
2a08047a
GM
44472013-09-11 Glenn Morris <rgm@gnu.org>
4448
4449 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4450 (set-auto-mode): Don't regexp-quote elements.
4451 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4452 * progmodes/cc-mode.el (interpreter-mode-alist):
4453 * progmodes/ruby-mode.el (interpreter-mode-alist):
4454 Revert previous change.
4455
34675540
SM
44562013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4457
1b3b87df
SM
4458 * play/snake.el (snake-mode):
4459 * play/mpuz.el (mpuz-mode):
4460 * play/landmark.el (lm-mode):
4461 * play/blackbox.el (blackbox-mode):
4462 * play/5x5.el (5x5-mode):
4463 * obsolete/options.el (Edit-options-mode):
4464 * net/quickurl.el (quickurl-list-mode):
4465 * net/newst-treeview.el (newsticker-treeview-mode):
4466 * mail/rmailsum.el (rmail-summary-mode):
4467 * mail/mspools.el (mspools-mode):
4468 * locate.el (locate-mode):
4469 * ibuffer.el (ibuffer-mode):
4470 * emulation/ws-mode.el (wordstar-mode):
4471 * emacs-lisp/debug.el (debugger-mode):
4472 * array.el (array-mode):
4473 * net/eudc.el (eudc-mode): Use define-derived-mode.
4474 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4475 Move initialization into declaration.
4476 (mairix-searches-mode): Use define-derived-mode.
4477 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4478 (eudc-edit-hotlist): Use dolist.
4479 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4480 (Man-mode): Use define-derived-mode.
4481 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4482 (Info-edit-mode): Use define-derived-mode.
4483 (Info-cease-edit): Use Info-mode.
4484 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4485 into declaration.
4486 (eshell-mode): Use define-derived-mode.
4487 * chistory.el (command-history-mode-map): Rename from
4488 command-history-map.
4489 (command-history-mode): Use define-derived-mode.
da712f22 4490 (Command-history-setup): Remove function.
1b3b87df
SM
4491 * calc/calc.el (calc-trail-mode-map): New var.
4492 (calc-trail-mode): Use define-derived-mode.
4493 (calc-trail-buffer): Set calc-main-buffer manually.
4494 * bookmark.el (bookmark-insert-annotation): New function.
4495 (bookmark-edit-annotation): Use it.
4496 (bookmark-edit-annotation-mode): Make it a proper major mode.
4497 (bookmark-send-edited-annotation): Use derived-mode-p.
4498 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4499 closer to its ideal place. Use \' to match EOS.
4500
34675540
SM
4501 * profiler.el (profiler-calltree-find): Use function-equal.
4502
6a5c15d9
GM
45032013-09-10 Glenn Morris <rgm@gnu.org>
4504
1af4c220
GM
4505 * files.el (interpreter-mode-alist): Convert to regexps.
4506 (set-auto-mode): Adapt for this. (Bug#15306)
4507 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4508 Comment out unused variable.
4509 * progmodes/cc-mode.el (interpreter-mode-alist):
4510 * progmodes/python.el (interpreter-mode-alist):
4511 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4512 * progmodes/sh-script.el (sh-set-shell):
4513 No longer use interpreter-mode-alist to get list of shells.
4514
6a5c15d9
GM
4515 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4516
8c27f5ff
SM
45172013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4518
02ef6c1a 4519 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4520 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4521 Bind switch-frame explicitly. Replace universal-argument-minus with
4522 a conditional binding.
4523 (universal-argument-num-events, saved-overriding-map): Remove.
4524 (restore-overriding-map): Remove.
4525 (universal-argument--mode): Rename from save&set-overriding-map,
4526 and rewrite.
4527 (universal-argument, universal-argument-more, negative-argument)
4528 (digit-argument): Adjust accordingly.
4529 (universal-argument-minus): Remove.
4530 (universal-argument-other-key): Remove.
4531
8c27f5ff
SM
4532 * subr.el (with-demoted-errors): Add `format' argument.
4533
6480194c
MA
45342013-09-10 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4537 `tramp-cleanup-connection'.
4538
4539 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4540 parameters KEEP-DEBUG and KEEP-PASSWORD.
4541
4542 * net/tramp.el (tramp-file-name-handler):
4543 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4544 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4545 (tramp-maybe-open-connection):
8c27f5ff
SM
4546 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4547 Use `tramp-cleanup-connection'.
6480194c 4548
8c27f5ff
SM
4549 * net/tramp-sh.el (tramp-maybe-open-connection):
4550 Catch 'uname-changed inside the progress reporter.
6480194c 4551
e5e916d8
GM
45522013-09-10 Glenn Morris <rgm@gnu.org>
4553
9a2c9b47
GM
4554 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4555
e5e916d8
GM
4556 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4557 returns "alternate access method" in mode (eg "-rw-r--r--.").
4558
144e38fe
GM
45592013-09-08 Glenn Morris <rgm@gnu.org>
4560
4561 * saveplace.el (load-save-place-alist-from-file):
4562 Demote errors. (Bug#15305)
4563
af9ff9e8
MA
45642013-09-08 Michael Albinus <michael.albinus@gmx.de>
4565
4566 Improve compatibility with older Emacsen, and XEmacs.
4567
4568 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4569 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4570 (with-tramp-progress-reporter): Do not let-bind `result'.
4571 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4572 (tramp-handle-make-auto-save-file-name): New function, moved from
4573 tramp-sh.el.
4574
4575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4576 for `make-auto-save-file-name'.
8c27f5ff
SM
4577 (tramp-adb--gnu-switches-to-ash):
4578 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4579
4580 * net/tramp-cache.el (tramp-cache-print): Call
4581 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4582
4583 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4584 bound. It isn't for XEmacs.
4585
8c27f5ff
SM
4586 * net/tramp-compat.el (tramp-compat-copy-file):
4587 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4588 (tramp-compat-replace-regexp-in-string): New defun.
4589
4590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4591 for `make-auto-save-file-name'.
4592 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4593 `copy-file'.
4594 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4595 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4596 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4597
8c27f5ff
SM
4598 * net/tramp-gw.el (tramp-gw-open-network-stream):
4599 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4600
8c27f5ff
SM
4601 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4602 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4603 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4604 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4605 (tramp-sh-file-inotifywait-process-filter):
4606 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4607 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4608
4609 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4610 for `make-auto-save-file-name'.
8c27f5ff
SM
4611 (tramp-smb-handle-copy-directory):
4612 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4613 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4614 (tramp-smb-handle-copy-file): Improve error message.
4615 (tramp-smb-handle-rename-file): Rename directly only in case
4616 `newname' does not exist yet. This is a restriction of smbclient.
4617 (tramp-smb-maybe-open-connection): Rerun the function only when
4618 `auth-sources' is non-nil.
4619
0ca754d0
KH
46202013-09-08 Kenichi Handa <handa@gnu.org>
4621
e0eb0550 4622 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4623 more characters.
4624
e8dd0787
AM
46252013-09-07 Alan Mackenzie <acm@muc.de>
4626
4627 Correctly fontify Java class constructors.
4628 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4629 in Java Mode.
4630 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4631 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4632 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4633 "typeless" declaration there.
4634
f2f248e7
RW
46352013-09-07 Roland Winkler <winkler@gnu.org>
4636
4637 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4638 field subtitle for entry type book.
4639
67982e2b
SM
46402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * minibuffer.el: Make minibuffer-complete call completion-in-region
4643 rather than other way around.
4644 (completion--some, completion-pcm--find-all-completions):
4645 Don't delay signals when debugging.
4646 (minibuffer-completion-contents): Beware fields within the
4647 minibuffer contents.
4648 (completion-all-sorted-completions): Use defvar-local.
4649 (completion--do-completion, completion--cache-all-sorted-completions)
4650 (completion-all-sorted-completions, minibuffer-force-complete):
4651 Add args `beg' and `end'.
4652 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4653 (minibuffer-complete): Use completion-in-region.
4654 (completion-complete-and-exit): New fun, extracted from
4655 minibuffer-complete-and-exit.
4656 (minibuffer-complete-and-exit): Use it.
4657 (completion--complete-and-exit): Rename from
4658 minibuffer--complete-and-exit.
4659 (completion-in-region--single-word): New function, extracted from
4660 minibuffer-complete-word.
4661 (minibuffer-complete-word): Use it.
4662 (display-completion-list): Make `common-substring' argument obsolete.
4663 (completion--in-region): Call completion--in-region-1 instead of
4664 minibuffer-complete.
4665 (completion-help-at-point): Pass boundaries to
4666 minibuffer-completion-help as args rather than via an overlay.
4667 (completion-pcm--string->pattern): Use `any-delim'.
4668 (completion-pcm--optimize-pattern): New function.
4669 (completion-pcm--pattern->regex): Handle `any-delim'.
4670 * icomplete.el (icomplete-forward-completions)
4671 (icomplete-backward-completions, icomplete-completions):
4672 Adjust calls to completion-all-sorted-completions and
4673 completion--cache-all-sorted-completions.
4674 (icomplete-with-completion-tables): Default to t.
4675 * emacs-lisp/crm.el (crm--current-element): Rename from
4676 crm--select-current-element. Don't put an overlay but return the
4677 boundaries instead.
4678 (crm--completion-command): Take two new args to bind to the boundaries.
4679 (crm-completion-help): Adjust accordingly.
4680 (crm-complete): Use completion-in-region.
4681 (crm-complete-word): Use completion-in-region--single-word.
4682 (crm-complete-and-exit): Use completion-complete-and-exit.
4683
e17d94a5
SM
46842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4687 than dynamically.
4688
96727100
JL
46892013-09-06 Juri Linkov <juri@jurta.org>
4690
4691 * info.el (Info-display-images-node): When image file doesn't exist
4692 display text version of the image if it's provided in the Info file.
4693 Otherwise, display the location of missing image from SRC attribute.
4694 Add help-echo text property from ALT attribute. (Bug#15279)
4695
86cf7329
SM
46962013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4699 (edit-abbrevs-mode): Use define-derived-mode.
4700
4701 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4702 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4703 that it's defined.
4704 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4705 Use define-derived-mode.
4706
4707 * epg.el (epg-start-encrypt): Minor CSE simplification.
4708
816244a2
WX
47092013-09-06 William Xu <william.xwl@gmail.com>
4710
4711 * arc-mode.el: Add support for 7za (bug#15264).
4712 (archive-7z-program): New var.
4713 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4714 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4715 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4716
1486fa31
MA
47172013-09-06 Michael Albinus <michael.albinus@gmx.de>
4718
4719 Remove URL syntax.
4720
4721 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4722 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4723 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4724 (tramp-postfix-host-format, tramp-file-name-regexp)
4725 (tramp-completion-file-name-regexp)
4726 (tramp-completion-dissect-file-name)
4727 (tramp-handle-substitute-in-file-name): Remove 'url case.
4728 (tramp-file-name-regexp-url)
4729 (tramp-completion-file-name-regexp-url): Remove constants.
4730
39785324
GM
47312013-09-06 Glenn Morris <rgm@gnu.org>
4732
4733 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4734
1f896cb7
DG
47352013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4736
4737 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4738 keywords" below "here-doc beginnings" (Bug#15270).
4739
c0458e0b
SM
47402013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * subr.el (pop): Use `car-safe'.
4743 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4744 to detect unused `pop' return value.
4745
4746 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4747 var `block-regexp'.
4748 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4749 (python-fill-string): Remove unused var `marker'.
4750 (python-skeleton-add-menu-items): Remove unused var `items'.
4751
4752 * international/mule-cmds.el: Require CL.
4753 (find-coding-systems-for-charsets): Avoid add-to-list.
4754 (sanitize-coding-system-list): New function, extracted from
4755 select-safe-coding-system-interactively.
4756 (select-safe-coding-system-interactively): Use it.
4757 (read-input-method-name): Accept symbols for `default'.
4758
4759 * emacs-lisp/advice.el (defadvice): Add indent rule.
4760
6c42fc3e
DH
47612013-09-05 Daniel Hackney <dan@haxney.org>
4762
4763 * dired-x.el:
4764 * net/ange-ftp.el:
4765 * net/browse-url.el:
4766 * net/dbus.el:
4767 * net/eudc.el:
4768 * net/eudcb-ldap.el:
4769 * net/eww.el:
4770 * net/imap.el:
4771 * printing.el:
4772 * vc/ediff-diff.el:
4773 * vc/ediff-init.el:
4774 * vc/ediff-merg.el:
4775 * vc/ediff-mult.el:
4776 * vc/ediff-util.el:
4777 * vc/ediff-wind.el:
4778 * vc/ediff.el:
4779 * vc/emerge.el:
4780 * vc/pcvs.el:
4781 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4782 byte compiler. Remove some unused let-bound variables.
4783
4c528aab
SM
47842013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4787 a "ref-cell", since it gets better optimized (bug#14883).
4788
bd15c390
GM
47892013-09-05 Glenn Morris <rgm@gnu.org>
4790
4791 * progmodes/cc-awk.el (c-forward-sws): Declare.
4792
1c3ac2e5
GM
47932013-09-04 Glenn Morris <rgm@gnu.org>
4794
4795 * generic-x.el [rul-generic-mode]: Require cc-mode.
4796 (c++-mode-syntax-table): Declare.
4797 (rul-generic-mode-syntax-table): Init in the defvar.
4798
52b1cc79
SM
47992013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4800
c828af56
SM
4801 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4802 (vc-do-command, vc-set-async-update):
4803 * vc/vc-mtn.el (vc-mtn-dir-status):
4804 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4805 (vc-hg-pull, vc-hg-merge-branch):
4806 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4807 (vc-git-merge-branch):
4808 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4809 (vc-cvs-dir-status-files):
4810 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4811 (vc-bzr-dir-status-files):
4812 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4813 * vc/vc-annotate.el: Use lexical-binding.
4814 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4815 (vc-sentinel-movepoint): Declare.
4816 (vc-annotate): Don't use `goto-line'.
4817 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4818 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4819 (vc-sentinel-movepoint): Declare.
4820 * vc/vc-svn.el: Use lexical-binding.
4821 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4822 * vc/vc-sccs.el:
4823 * vc/vc-rcs.el: Use lexical-binding.
4824
abae272c
SM
4825 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4826 `deleted'. Don't drop errors silently.
4827
52b1cc79
SM
4828 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4829
63191d9f
XF
48302013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4831
4832 * vc/vc.el (vc-ignore): Rewrite.
4833 (vc-default-ignore): New function.
4834 (vc-default-ignore-completion-table): Use find-ignore-file.
4835
4836 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4837 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4838 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4839 Remove. Most code moved to vc.el.
4840
9d3f707c
SM
48412013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4842
abae272c 4843 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4844 * net/tramp-smb.el (tramp-smb-get-file-entries):
4845 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4846 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4847
fde38d49
SM
4848 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4849 Update call to it.
4850 (eww-change-select): Remove unused var `properties'.
4851 (eww-make-unique-file-name): Remove unused var `base'.
4852
4853 * finder.el (finder-compile-keywords): Don't mess with windows.
4854
84032db7
SM
4855 * calculator.el (calculator-funcall): Fix typo in last change.
4856
724f5e41
SM
4857 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4858
14b511d4
SM
4859 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4860 <pkg>-autoloads.el file stop us.
4861
9d3f707c 4862 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4863 warnings, and factor out common code.
9d3f707c 4864
88527bc0
DG
48652013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4866
4867 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4868 two-character operators and whether the character preceding them
4869 changes their meaning (Bug#15208).
4870
96edb677
FEG
48712013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4872
4873 Format code sent to Python shell for robustness.
9d3f707c
SM
4874 * progmodes/python.el (python-shell-buffer-substring):
4875 New function.
96edb677
FEG
4876 (python-shell-send-region, python-shell-send-buffer): Use it.
4877
95beaef3
MA
48782013-09-02 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4881 * net/tramp.el (tramp-user-error): ... here.
4882 (tramp-find-method, tramp-check-proper-host)
4883 (tramp-dissect-file-name, tramp-debug-message)
4884 (tramp-handle-shell-command):
4885 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4887
4888 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4889
f167c27b
MR
48902013-09-02 Martin Rudalics <rudalics@gmx.at>
4891
4892 * avoid.el (mouse-avoidance-point-position)
4893 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4894 returns nil.
4895
cd16c5f1
FEG
48962013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4897
4898 * progmodes/python.el (python-shell-completion-get-completions):
4899 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4900 (python-nav-if-name-main): New command.
cd16c5f1 4901
e73c3a0d
GM
49022013-09-01 Glenn Morris <rgm@gnu.org>
4903
f8ccce03
GM
4904 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4905 Avoid leading space in $wins. Otherwise the sed command used by
4906 eg compile-main ends up containing "/*.el". (Bug#15170)
4907
e73c3a0d
GM
4908 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4909
415f808e
GM
49102013-08-30 Glenn Morris <rgm@gnu.org>
4911
4912 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4913 Fix is-this-a-directory logic. (Bug#15220)
4914
f069bba8
SM
49152013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4916
112798c1
SM
4917 * textmodes/css-mode.el: Use SMIE.
4918 (css-smie-grammar): New var.
4919 (css-smie--forward-token, css-smie--backward-token)
4920 (css-smie-rules): New functions.
4921 (css-mode): Use them.
4922 (css-navigation-syntax-table): Remove var.
4923 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4924 (css-indent-calculate, css-indent-line): Remove functions.
4925
4926 Misc changes to reduce use of `(lambda...); and other cleanups.
4927 * cus-edit.el: Use lexical-binding.
4928 (customize-push-and-save, customize-apropos)
4929 (custom-buffer-create-internal): Use closures.
4930 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4931 * progmodes/ada-xref.el: Use setq.
4932 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4933 * dframe.el: Use lexical-binding.
4934 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4935 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4936 * descr-text.el: Use lexical-binding.
4937 (describe-text-widget, describe-text-sexp, describe-property-list):
4938 Use closures.
4939 * comint.el (comint-history-isearch-push-state): Use a closure.
4940 * calculator.el: Use lexical-binding.
4941 (calculator-number-to-string): Make it work with lexical-binding.
4942 (calculator-funcall): Same and use cl-letf.
4943
2da4c3ab
SM
4944 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4945 (lisp--company-doc-string, lisp--company-location): New functions.
4946 (lisp-completion-at-point): Use them to improve Company support.
4947
f069bba8
SM
4948 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4949 params of lambda expressions.
4950 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4951 (ruby-smie--opening-pipe-p): New function.
4952 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4953 symbols and matched |...| for formal params.
4954 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4955 from being treated as hanging. Handle "rescue".
4956
6758b6a8
GM
49572013-08-29 Glenn Morris <rgm@gnu.org>
4958
4959 * progmodes/cc-engine.el (c-pull-open-brace):
4960 Move definition before use.
4961
e8dfd197
SM
49622013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4965 are immutable. Don't use `unsafe' any more.
4966 (cl--defsubst-expand): Don't substitute at the same time as keeping
4967 a residual unused let-binding. Don't use `unsafe' any more.
4968
cc585c96
GM
49692013-08-29 Glenn Morris <rgm@gnu.org>
4970
ba579ea6
GM
4971 * calendar/cal-china.el (calendar-chinese-year-cache):
4972 Recenter on 2015.
4973
8201a87e
GM
4974 * nxml/nxml-util.el (nxml-debug-clear-inside):
4975 Use cl-loop rather than loop.
4976
6ee877c7
GM
4977 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4978
cc585c96
GM
4979 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4980
27be8d39
GM
49812013-08-28 Glenn Morris <rgm@gnu.org>
4982
397440a1
GM
4983 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4984
2bb762d4
GM
4985 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4986
27be8d39
GM
4987 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4988
2d69b99e
SM
49892013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4990
f663baa7
SM
4991 * simple.el (repeat-complex-command--called-interactively-skip):
4992 New function.
4993 (repeat-complex-command): Use it (bug#14136).
4994
dd4f8b74
SM
4995 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4996 (c-define-abbrev-table): Add `doc' argument.
4997 (c-mode-abbrev-table, c++-mode-abbrev-table)
4998 (objc-mode-abbrev-table, java-mode-abbrev-table)
4999 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5000 (awk-mode-abbrev-table): Use it.
5001 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5002 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5003 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5004 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5005 Move initialization into the declaration; and remove any
5006 autoload cookie.
5007
b58969f7
SM
5008 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5009 and dynamic let binding.
5010
4021d6a6
SM
5011 * vc/smerge-mode.el: Remove redundant :group args.
5012
2d69b99e
SM
5013 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5014 to load-path.
5015
274919fd
JL
50162013-08-28 Juri Linkov <juri@jurta.org>
5017
5018 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5019 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5020 (isearch-other-meta-char): Handle an undefined shifted printing
5021 character by downshifting it. (Bug#15200)
5022
121f8c95
JL
50232013-08-28 Juri Linkov <juri@jurta.org>
5024
5025 * isearch.el (isearch-search): Change regexp error message for
5026 non-regexp searches. (Bug#15166)
5027
50b13cde
PE
50282013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5029
5030 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5031 for portability to hosts where /bin/sh has problems.
5032
95888bca
SM
50332013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5036
bbe558f1
JL
50372013-08-27 Juri Linkov <juri@jurta.org>
5038
5039 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5040 in the keyboard macro. (Bug#15126)
5041
26f98a7d
JL
50422013-08-27 Juri Linkov <juri@jurta.org>
5043
5044 * isearch.el (isearch-quote-char): Comment out converting unibyte
5045 to multibyte, thus syncing with its `quoted-insert' counterpart.
5046 (Bug#15166)
5047
7c97d35e
MR
50482013-08-27 Martin Rudalics <rudalics@gmx.at>
5049
5050 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5051 argument in call of get-largest-window (Bug#15185).
5052 Reported by Stephen Leake.
7c97d35e 5053
a0b5606e 50542013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5055
5056 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5057
9e89d835
SM
50582013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5061 from a matcher-function unless there's no more matches (bug#15161).
5062
78fc2530
MA
50632013-08-26 Michael Albinus <michael.albinus@gmx.de>
5064
5065 * minibuffer.el: Revert change from 2013-08-20.
5066
5067 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5068 with text property `tramp-default', if appropriate.
5069 (tramp-check-proper-host): New defun.
5070 (tramp-dissect-file-name): Do not check hostname. Revert change
5071 of 2013-03-18.
5072 (tramp-backtrace): Make VEC-OR-PROC optional.
5073
5074 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5075 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5076 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5077 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5078 Apply `tramp-check-proper-host'.
78fc2530 5079
edca97cd
TH
50802013-08-26 Tassilo Horn <tsdh@gnu.org>
5081
5082 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5083 lambda expression in order to have `describe-variable' display it.
5084
df54bcbd
MA
50852013-08-26 Michael Albinus <michael.albinus@gmx.de>
5086
5087 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5088 BUF can be optional. (Bug#15186)
5089
eed99101
XF
50902013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5091
5092 * progmodes/flymake.el (flymake-get-real-file-name-function):
5093 Fix broken customization. (Bug#15184)
5094
b5eb9035
AM
50952013-08-25 Alan Mackenzie <acm@muc.de>
5096
8a51e842
AM
5097 Improve indentation of bracelists defined by macros (without "=").
5098
5099 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5100 expansion begins with "{", regard it as bracelist when it doesn't
5101 contain a ";".
5102
869455d4
AM
5103 Parse C++ inher-intro when there's a template split over 2 lines.
5104
5105 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5106 rigorously the search for "class" etc. followed by ":".
5107
5108 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5109 random languages a regexp which never matches rather than nil.
5110
b5eb9035
AM
5111 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5112
5113 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5114 (c-awk-regexp-one-line-possibly-open-char-list-re)
5115 (c-awk-one-line-possibly-open-regexp-re)
5116 (c-awk-one-line-non-syn-ws*-re): Remove.
5117 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5118 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5119 (c-awk-space*-unclosed-regexp-/-re): New constants.
5120 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5121 aren't regexp delimiters.
5122
5123 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5124 handling for a rare situation in AWK Mode involving unterminated
5125 strings/regexps.
5126
61611d54
GM
51272013-08-23 Glenn Morris <rgm@gnu.org>
5128
2d85dc34
GM
5129 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5130
cb8d2612
GM
5131 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5132
bb35f42f
GM
5133 * files.el (create-file-buffer): If the result would begin with
5134 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5135
b9808e77
SM
51362013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5137
e3a66363
SM
5138 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5139 text-properties (bug#15155).
5140
b9808e77
SM
5141 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5142 exist any more.
5143 (calc-keypad-redraw): Remove unused var `pad'.
5144 (calc-keypad-press): Remove unused var `menu'.
5145
7fd5f65e
MR
51462013-08-23 Martin Rudalics <rudalics@gmx.at>
5147
b9808e77
SM
5148 * window.el (display-buffer-pop-up-frame):
5149 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5150 use it as the new frame's buffer (Bug#15133).
5151
8352b530
SM
51522013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * calendar/timeclock.el: Minor cleanups.
5155 (timeclock-ask-before-exiting, timeclock-use-display-time):
5156 Use `symbol'.
5157 (timeclock-modeline-display): Define as alias before the
5158 actual definition.
5159 (timeclock-mode-line-display): Use define-minor-mode.
5160 (timeclock-day-list-template): Make it a function, add an argument.
5161 (timeclock-day-list-required, timeclock-day-list-length)
5162 (timeclock-day-list-debt, timeclock-day-list-span)
5163 (timeclock-day-list-break): Adjust calls accordingly.
5164
9f7b1925
SM
51652013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5168 Use read--expression so that completion works again.
5169
6e50e983
SS
51702013-08-21 Sam Steingold <sds@gnu.org>
5171
5172 Add rudimentary inferior shell interaction
5173 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5174 (sh-set-shell): Reset it.
9f7b1925
SM
5175 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5176 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5177
dbb0d350
SM
51782013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * align.el: Use lexical-binding.
5181 (align-region): Simplify accordingly.
5182
c88586a9
MA
51832013-08-20 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5186
5187 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5188 `non-essential' up.
5189
f95527c8
MA
51902013-08-17 Michael Albinus <michael.albinus@gmx.de>
5191
5192 * net/tramp.el:
5193 * net/tramp-adb.el:
5194 * net/tramp-cmds.el:
5195 * net/tramp-ftp.el:
5196 * net/tramp-gvfs.el:
5197 * net/tramp-gw.el:
5198 * net/tramp-sh.el: Don't wrap external variable declarations by
5199 `eval-when-compile'.
5200
4b5fe4ee
LMI
52012013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202
5203 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5204 now that Emacs supports ImageMagick animations.
5205
13c366c9
MA
52062013-08-16 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5209 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5210
3dfc5cd6
MR
52112013-08-16 Martin Rudalics <rudalics@gmx.at>
5212
5213 * window.el (mouse-autoselect-window-select): Do autoselect when
5214 mouse pointer is on margin.
5215
4bbb4381
WP
52162013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5217
5218 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5219
3a2ddc2d
GM
52202013-08-16 Glenn Morris <rgm@gnu.org>
5221
e8bedf5a
GM
5222 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5223 Handle "Remote Directory" response of some clients. (Bug#15058)
5224
58c4682f
GM
5225 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5226 Tweak warning. (Bug#14926)
5227
57953f49
GM
5228 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5229 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5230
3a2ddc2d
GM
5231 * image-mode.el (image-mode-map): Add menu items to reverse,
5232 increase, decrease, reset animation speed.
5233 (image--set-speed, image-increase-speed, image-decrease-speed)
5234 (image-reverse-speed, image-reset-speed): New functions.
5235 (image-mode-map): Add bindings for speed commands.
5236
5237 * image.el (image-animate-get-speed, image-animate-set-speed):
5238 New functions.
5239 (image-animate-timeout): Respect image :speed property.
5240
10fa0ed3
SM
52412013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5244 previous line (bug#15101).
5245 (debugger-eval-expression, debugger-record-expression):
5246 Use read--expression (bug#15102).
5247
5d89d9d2
MA
52482013-08-15 Michael Albinus <michael.albinus@gmx.de>
5249
5250 Remove byte compiler warnings, visible when compiling with
5251 `byte-compile-force-lexical-warnings' set to t.
5252
5253 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5254 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5255 (tramp-handle-unhandled-file-name-directory)
5256 (tramp-handle-file-notify-add-watch, tramp-action-login)
5257 (tramp-action-succeed, tramp-action-permission-denied)
5258 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5259 arguments with "_".
5260
5261 * net/tramp-adb.el (tramp-adb-parse-device-names)
5262 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5263 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5264 (tramp-adb-handle-file-truename): Remove unused arguments.
5265
5266 * net/tramp-cache.el (tramp-flush-directory-property)
5267 (tramp-flush-connection-property, tramp-list-connections)
5268 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5269
10fa0ed3
SM
5270 * net/tramp-compat.el (tramp-compat-make-temp-file):
5271 Rename FILENAME to F.
5d89d9d2
MA
5272
5273 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5274 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5275 (tramp-zeroconf-parse-workstation-device-names)
5276 (tramp-zeroconf-parse-webdav-device-names)
5277 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5278
5279 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5280 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5281
5282 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5283 arguments.
5284 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5285 (tramp-sh-handle-insert-file-contents-literally)
5286 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5287 with "_".
5288 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5289 Remove unused variables.
5290
5291 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5292 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5293 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5294
5295 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5296 Make them a defconst.
5297 (tramp-uuencode-region): Remove unused variable.
5298
62f33bae
JB
52992013-08-14 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * frameset.el (frameset--prop-setter): New function.
5302 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5303 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5304 parameter was already set in FILTERED. Doc fix.
5305 (frameset--record-minibuffer-relationships): Allow saving a
5306 minibufferless frame without its corresponding minibuffer frame.
5307 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5308 frame, if the frame id matches.
5309 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5310 frames before orphaned ones.
5311 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5312
c660a885
MR
53132013-08-14 Martin Rudalics <rudalics@gmx.at>
5314
5315 * window.el (window-make-atom): Don't overwrite parameter
5316 already present.
5317 (display-buffer-in-atom-window): Handle special case where we
5318 split an already atomic window.
5319 (window--major-non-side-window, display-buffer-in-side-window)
5320 (window--side-check): Ignore minibuffer window when walking
5321 window tree.
5322 (window-deletable-p): Return 'frame only if no other frame uses
5323 our minibuffer window.
5324 (record-window-buffer): Run buffer-list-update-hook.
5325 (split-window): Make sure window--check-frame won't destroy an
5326 existing atomic window in case the new window gets nested
5327 inside.
5328 (display-buffer-at-bottom): Ignore minibuffer window when
5329 walking window tree. Don't split a side window.
5330 (pop-to-buffer): Don't set-buffer here, the select-window call
5331 should do that.
5332 (mouse-autoselect-window-select): Autoselect only if we are in the
5333 text portion of the window.
5334
8259030d
LMI
53352013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
21c58ae2
LMI
5337 * net/shr.el (shr-parse-image-data): New function to grab both the
5338 data itself and the Content-Type.
5339 (shr-put-image): Use it.
5340
5341 * net/eww.el (eww-display-image): Ditto.
5342
8259030d
LMI
5343 * image.el (image-content-type-suffixes): New variable.
5344
ad756449
FEG
53452013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5346
5347 * progmodes/python.el (python-imenu--build-tree)
5348 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5349
f73f4ce6
XF
53502013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5351
5352 * simple.el (backward-word): Mention the optional argument.
5353
1f585e65
SM
53542013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * frameset.el (frameset--make): Rename constructor from make-frameset.
5357 (frameset-p, frameset-valid-p): Don't autoload.
5358 (frameset-valid-p): Use normal accessors.
5359
af1c6c84
GM
53602013-08-13 Glenn Morris <rgm@gnu.org>
5361
55e47f95
GM
5362 * progmodes/compile.el (compile-command): Tweak example in doc.
5363 * obsolete/scribe.el (scribe-mode):
5364 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5365
f0024d8c
GM
5366 * mail/feedmail.el (feedmail-confirm-outgoing)
5367 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5368
5369 * cus-start.el (truncate-partial-width-windows): Fix type.
5370
5371 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5372
af1c6c84
GM
5373 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5374
5514cc4c
SM
53752013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * emacs-lisp/timer.el (timer--time-setter): New function.
5378 (timer--time): Use it as gv-setter.
5379
5380 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5381 setter is not a symbol.
5382
7997a2f1
GJ
53832013-08-12 Grégoire Jadi <daimrod@gmail.com>
5384
5385 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5386 if sending fails. This makes debugging easier.
5387
01f1a9ab
JB
53882013-08-12 Juanma Barranquero <lekktu@gmail.com>
5389
5390 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5391 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5392 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5393
594a4307
EZ
53942013-08-12 Eli Zaretskii <eliz@gnu.org>
5395
5396 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5397
7a22490f 53982013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5399
5400 * format.el (format-annotate-function):
5401 Handle read-only text properties in the source. (Bug#14887)
5402
3e41a054
LMI
54032013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5404
5514cc4c
SM
5405 * net/eww.el (eww-display-html): Ignore coding system errors.
5406 One web site uses "utf-8lias" as the coding system.
3e41a054 5407
7ec326db
JB
54082013-08-11 Juanma Barranquero <lekktu@gmail.com>
5409
5410 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5411
5660113b
JB
54122013-08-10 Juanma Barranquero <lekktu@gmail.com>
5413
9a4ebc74
JB
5414 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5415 (tutorial--detailed-help): Remove unused local variables.
5416 (tutorial--save-tutorial-to): Use ignore-errors.
5417 (help-with-tutorial): Use looking-at-p.
5418
5419 * view.el (view-buffer-other-window, view-buffer-other-frame):
5420 Mark unused arguments.
5421
5422 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5423 (woman-select-symbol-fonts, woman, woman-find-file)
5424 (woman-insert-file-contents, woman-non-underline-faces):
5425 Use string-match-p.
5426 (woman1-unquote): Move declaration.
5427
5428 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5429 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5430 argument. Remove unused local variable.
5431 (xml-parse-elem-type): Use string-match-p.
5432 (xml-substitute-numeric-entities): Use ignore-errors.
5433
45fdb482
JB
5434 * calculator.el (calculator): Mark unused argument.
5435 (calculator-paste, calculator-quit, calculator-integer-p):
5436 Use ignore-errors.
5437 (calculator-string-to-number, calculator-decimal, calculator-exp)
5438 (calculator-op-or-exp): Use string-match-p.
5439
5440 * dired.el (dired-buffer-more-recently-used-p): Declare.
5441 (dired-insert-set-properties, dired-insert-old-subdirs):
5442 Use ignore-errors.
5443
5444 * dired-aux.el (dired-compress): Use ignore-errors.
5445 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5446 (dired-do-async-shell-command, dired-do-shell-command)
5447 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5448 (dired-insert-subdir-validate): Use string-match-p.
5449 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5450 (dired-add-entry): Use string-match-p, looking-at-p.
5451 (dired-insert-subdir-newpos): Remove unused local variable.
5452
5453 * filenotify.el (file-notify-callback): Remove unused local variable.
5454
5455 * filesets.el (filesets-error): Mark unused argument.
5456 (filesets-which-command-p, filesets-filter-dir-names)
5457 (filesets-directory-files, filesets-get-external-viewer)
5458 (filesets-ingroup-get-data): Use string-match-p.
5459
5460 * find-file.el (ff-other-file-name, ff-other-file-name)
5461 (ff-find-the-other-file, ff-cc-hh-converter):
5462 Remove unused local variables.
5463 (ff-get-file-name): Use string-match-p.
5464 (ff-all-dirs-under): Use ignore-errors.
5465
5466 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5467 (follow-select-if-visible): Remove unused local variable.
5468
5469 * forms.el (read-file-filter): Move declaration.
5470 (forms--make-format, forms--make-parser, forms-insert-record):
5471 Quote function with #'.
5472 (forms--update): Use string-match-p. Quote function with #'.
5473
5474 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5475 (help-make-xrefs): Use looking-at-p.
5476 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5477
5478 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5479 (ibuffer-confirm-operation-on): Use string-match-p.
5480
5481 * msb.el (msb-item-handler, msb-dired-item-handler):
5482 Mark unused arguments.
5483
5484 * ses.el (ses-decode-cell-symbol)
5485 (ses-kill-override): Remove unused local variable.
5486 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5487 (ses-load): Use ignore-errors, looking-at-p.
5488 (ses-jump-safe): Use ignore-errors.
5489 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5490
5491 * tabify.el (untabify, tabify): Mark unused arguments.
5492
5493 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5494 Mark unused argument.
5495 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5496 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5497
c880af52
JB
5498 * emacs-lisp/timer.el (timer--time): Define setter with
5499 gv-define-setter to avoid deprecation warning.
5500
5660113b 5501 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5502 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5503 (cmpl-statistics-block): Remove (body was commented out).
5504 All callers changed.
5505 (add-completions-from-buffer, load-completions-from-file):
5506 Remove unused variables.
5507
156aab80
JB
55082013-08-09 Juanma Barranquero <lekktu@gmail.com>
5509
5c5dee78
JB
5510 * filecache.el (file-cache-delete-file-list):
5511 Print message only when told so.
5512 (file-cache-files-matching): Use #' in mapconcat argument.
5513
156aab80
JB
5514 * ffap.el (ffap-url-at-point): Fix reference to variable
5515 thing-at-point-default-mail-uri-scheme.
5516
ad9dcd70
SM
55172013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5518
54bd972f
SM
5519 * subr.el (define-error): New function.
5520 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5521 error-file-not-found and define with define-error.
5522 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5523 and define with define-error.
5524 * userlock.el (file-locked, file-supersession):
5525 * simple.el (mark-inactive):
5526 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5527 * progmodes/ada-mode.el (ada-mode-errors):
5528 * play/life.el (life-extinct):
5529 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5530 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5531 * nxml/rng-util.el (rng-error):
5532 * nxml/rng-uri.el (rng-uri-error):
5533 * nxml/rng-match.el (rng-compile-error):
5534 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5535 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5536 * nxml/nxml-rap.el (nxml-scan-error):
5537 * nxml/nxml-outln.el (nxml-outline-error):
5538 * net/soap-client.el (soap-error):
5539 * net/gnutls.el (gnutls-error):
5540 * net/ange-ftp.el (ftp-error):
5541 * mpc.el (mpc-proc-error):
5542 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5543 (json-number-format, json-string-escape, json-string-format)
5544 (json-key-format, json-object-format):
5545 * jka-compr.el (compression-error):
5546 * international/quail.el (quail-error):
5547 * international/kkc.el (kkc-error):
5548 * emacs-lisp/ert.el (ert-test-failed):
5549 * calc/calc.el (calc-error, inexact-result, math-overflow)
5550 (math-underflow):
5551 * bookmark.el (bookmark-error-no-filename):
5552 * epg.el (epg-error): Define with define-error.
5553
0ea9e53a
SM
5554 * time.el (display-time-event-handler)
5555 (display-time-next-load-average): Don't call sit-for since it seems
5556 unnecessary (bug#15045).
5557
b0429158
SM
5558 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5559 Use #' instead of ' to quote functions.
5560 (checkdoc-output-mode): Use setq-local.
5561 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5562 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5563 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5564 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5565 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5566 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5567 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5568 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5569
ad9dcd70
SM
5570 * ido.el (ido-completion-help): Fix up compiler warning.
5571
77187e6f
JB
55722013-08-09 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * frameset.el (frameset-p): Add autoload cookie.
5575 (frameset--jump-to-register): New function, based on code moved from
5576 register.el.
5577 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5578
5579 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5580 (frameset-restore, frameset-save, frameset-session-filter-alist):
5581 Remove declarations.
5582 (register-alist): Doc fix.
5583 (frameset-to-register): Move to frameset.el.
5584 (jump-to-register, describe-register-1): Remove frameset-specific code.
5585
9d3aa82c
JB
55862013-08-08 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * allout-widgets.el (allout-widgets-pre-command-business)
5589 (allout-widgets-post-command-business)
5590 (allout-widgets-after-change-handler)
5591 (allout-decorate-item-and-context, allout-set-boundary-marker)
5592 (allout-body-modification-handler)
5593 (allout-graphics-modification-handler): Mark ignored arguments.
5594 (allout-widgets-post-command-business)
5595 (allout-widgets-exposure-change-processor)
5596 (allout-widgets-exposure-undo-processor)
5597 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5598 (allout-parse-item-at-point, allout-decorate-item-guides)
5599 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5600 * allout.el (epa-passphrase-callback-function): Declare.
5601 (allout-overlay-insert-in-front-handler)
5602 (allout-overlay-interior-modification-handler)
5603 (allout-isearch-end-handler, allout-chart-siblings)
5604 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5605 (allout-yank-processing, allout-process-exposed)
5606 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5607 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5608 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5609 (lisp-indent-defform): Mark ignored arguments.
5610 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5611 (calculate-lisp-indent): Remove unused variables.
5612 * international/characters.el (indian-2-column, arabic-2-column)
5613 (tibetan): Mark ignored arguments.
5614 (use-cjk-char-width-table): Mark ignored arguments.
5615 Remove unused variables.
5616 * international/fontset.el (build-default-fontset-data)
5617 (x-compose-font-name, create-fontset-from-fontset-spec):
5618 Mark ignored arguments.
5619 (fontset-plain-name): Remove unused variables.
5620 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5621 (keyboard-coding-system): Mark ignored arguments.
5622 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5623 * help.el (resize-temp-buffer-window):
5624 * window.el (display-buffer-in-major-side-window)
5625 (display-buffer-in-side-window, display-buffer-in-previous-window):
5626 Remove unused variables.
5627 * isearch.el (isearch-forward-symbol):
5628 * version.el (emacs-bzr-version-bzr):
5629 * international/mule-cmds.el (current-language-environment):
5630 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5631 (x-handle-display):
5632 * term/pc-win.el (x-list-fonts, x-display-planes)
5633 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5634 (x-server-version, x-display-screens, x-display-mm-height)
5635 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5636 (x-selection-owner-p, x-own-selection-internal)
5637 (x-disown-selection-internal, x-get-selection-internal)
5638 (msdos-initialize-window-system):
5639 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5640 * term/x-win.el (x-handle-no-bitmap-icon):
5641 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5642 (vc-default-find-file-hook, vc-default-extra-menu):
5643 Mark ignored arguments.
5644
0ca3f70e
SM
56452013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5648 break-condition in the context of the debugged code (bug#12685).
5649
74c5d24c
CS
56502013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5651
5652 * comint.el:
5653 Do not use an overlay to highlight the last prompt. (Bug#14744)
5654 (comint-mode): Make comint-last-prompt buffer local.
5655 (comint-last-prompt): New variable.
5656 (comint-last-prompt-overlay): Remove. Superseded by
5657 comint-last-prompt.
0ca3f70e
SM
5658 (comint-snapshot-last-prompt, comint-output-filter):
5659 Use comint-last-prompt.
74c5d24c 5660
c03c02ee
JB
56612013-08-08 Juanma Barranquero <lekktu@gmail.com>
5662
a3738d20 5663 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5664 (frameset-save): Check validity of the resulting frameset.
5665
04263d23
XF
56662013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5667
5668 * ido.el (ido-record-command): Add doc string.
5669
76c5e5ab
JB
56702013-08-08 Juanma Barranquero <lekktu@gmail.com>
5671
5672 * frameset.el (frameset): Do not disable creation of the default
5673 frameset-p predicate. Doc fix.
5674 (frameset-valid-p): New function, copied from the old predicate-p.
5675 Add additional checks.
5676 (frameset-restore): Check with frameset-valid-p.
5677 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5678 (frameset-name, frameset-description, frameset-properties)
5679 (frameset-states): Add docstring.
f9dbf1cb
JB
5680 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5681 (frameset-filter-alist): Doc fixes.
76c5e5ab 5682
bd0c3c0b
JB
56832013-08-08 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5686
c735544c
SM
56872013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5690 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5691 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5692 (byte-compile-normal-call): Remove obsolescence check.
5693
2805a651
JB
56942013-08-08 Juanma Barranquero <lekktu@gmail.com>
5695
3677ffeb
JB
5696 * frameset.el (frameset-restore): Doc fix.
5697
2805a651
JB
5698 * register.el (frameset-frame-id, frameset-frame-with-id)
5699 (frameset-p, frameset-restore, frameset-save): Declare.
5700 (register-alist): Document framesets.
5701 (frameset-session-filter-alist): Declare.
5702 (frameset-to-register): New function.
5703 (jump-to-register): Implement jumping to framesets. Doc fix.
5704 (describe-register-1): Describe framesets.
5705
5706 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5707
a912c016
JB
57082013-08-07 Juanma Barranquero <lekktu@gmail.com>
5709
5710 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5711 Use lexical-binding.
5712
5713 * frameset.el (frameset): Use type vector, not list (incompatible
5714 change). Do not declare a new constructor, use the default one.
5715 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5716 `name' and `description', respectively, and add read-only slot
5717 `timestamp'. Doc fixes.
5718 (frameset-copy, frameset-persistent-filter-alist)
5719 (frameset-filter-alist, frameset-switch-to-gui-p)
5720 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5721 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5722 (frameset-filter-iconified, frameset-keep-original-display-p):
5723 Doc fixes.
5724 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5725 Rename from frameset-filter-(save|restore)-param. All callers changed.
5726 Doc fix.
5727 (frameset-p): Adapt to change to vector and be more thorough.
5728 Change arg name to OBJECT. Doc fix.
5729 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5730 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5731 All callers changed.
5732 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5733 All callers changed.
5734 (frameset--record-minibuffer-relationships): Rename from
5735 frameset--process-minibuffer-frames. All callers changed.
5736 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5737 Use new default constructor (again). Doc fix.
5738 (frameset--find-frame-if): Rename from `frameset--find-frame.
5739 All callers changed.
5740 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5741 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5742 Doc fix.
5743 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5744 PARAMETERS and WINDOW-STATE, respectively.
5745 (frameset-restore): Add new keyword argument PREDICATE.
5746 Reset frameset--target-display to nil. Doc fix.
5747
bb41480a
SM
57482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5749
f001e98e
SM
5750 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5751 (bat-mode): Use it.
5752 (bat-mode-syntax-table): Mark \n as end-of-comment.
5753 (bat-font-lock-keywords): Remove comment rule.
5754
7679edb1
SM
5755 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5756 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5757
bb41480a
SM
5758 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5759 (byte-compile-callargs-warn): Use `push'.
5760 (byte-compile-arglist-warn): Ignore higher-order "calls".
5761 (byte-compile-file-form-autoload): Use `pcase'.
5762 (byte-compile-function-form): If quoting a symbol, check that it exists.
5763
cdc1ebb9
EZ
57642013-08-07 Eli Zaretskii <eliz@gnu.org>
5765
5766 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5767 and add a few popular commands found in batch files.
5768 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5769 (dos-mode): Doc fixes.
5770
312b1740
SM
57712013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5774 (dos-mode): Use setq-local. Add space after "rem".
5775 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5776 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5777
400a3178
AM
57782013-08-07 Arni Magnusson <arnima@hafro.is>
5779
5780 * progmodes/dos.el: New file.
5781 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5782 dos-mode.
5783
3b5c03d3
GM
57842013-08-06 Glenn Morris <rgm@gnu.org>
5785
5786 * calendar/calendar.el: Add new faces, and day-header-array.
5787 (calendar-weekday-header, calendar-weekend-header)
5788 (calendar-month-header): New faces.
5789 (calendar-day-header-construct): New function.
5790 (calendar-day-header-width): Also :set calendar-day-header-array.
5791 (calendar-american-month-header, calendar-european-month-header)
5792 (calendar-iso-month-header): Use calendar- faces.
5793 (calendar-generate-month):
5794 Use calendar-day-header-array for day headers; apply faces to them.
5795 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5796 (calendar-abbrev-construct): Add optional maxlen argument.
5797 (calendar-day-name-array): Doc fix.
5798 (calendar-day-name-array, calendar-abbrev-length)
5799 (calendar-day-abbrev-array):
5800 Also :set calendar-day-header-array, and maybe redraw.
5801 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5802 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5803 (calendar-day-name): Add option to use header array.
5804
ec6a2d7a
LMI
58052013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806
5807 * net/shr.el (shr-render-td): Remove debugging.
5808 (shr-render-td): Make width computation consistent by defaulting
5809 all zero-width columns to 10 characters. This may not be optimal,
5810 but it's at least consistent.
2122cb6d
LMI
5811 (shr-make-table-1): Redo last change to fix the real problem in
5812 colspan handling.
ec6a2d7a 5813
ed4fd9c5
DA
58142013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5815
0ca3f70e
SM
5816 * files.el (cache-long-line-scans):
5817 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5818
64e22afe
JB
58192013-08-06 Juanma Barranquero <lekktu@gmail.com>
5820
024b38fc
JB
5821 * frameset.el (frameset, frameset-filter-alist)
5822 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5823 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5824 (frameset-compute-pos): Rename from frameset--compute-pos,
5825 and add docstring.
5826 (frameset-move-onscreen): Use frameset-compute-pos.
5827 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5828
64e22afe
JB
5829 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5830 Fix typos in docstrings.
5831
c8c2aca8
DA
58322013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5833
5834 * frame.el (get-other-frame): Tiny cleanup.
5835
1d237bba
JB
58362013-08-06 Juanma Barranquero <lekktu@gmail.com>
5837
8951efef
JB
5838 * vc/vc.el (vc-default-ignore-completion-table):
5839 Silence byte-compiler warning.
5840
307764cc
JB
5841 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5842 slot , which can indeed be nil.
5843 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5844 Move entry for `left' from persistent to live filter alist.
5845 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5846 Doc fixes.
5847 (frameset-filter-params): When restoring a frame, copy items added to
5848 `filtered', to avoid unwittingly modifying the original parameters.
5849 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5850 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5851
1d237bba
JB
5852 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5853 to use looking-at-p instead of looking-at. (Bug#15028)
5854
dc6c0eda
SM
58552013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 Revert introduction of isearch-filter-predicates (bug#14714).
5858 Rely on add-function instead.
5859 * isearch.el (isearch-filter-predicates): Rename it back to
5860 isearch-filter-predicate.
5861 (isearch-message-prefix): Use advice-function-mapc and advice
5862 properties to get the isearch-message-prefix.
5863 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5864 instead of run-hook-with-args-until-failure.
5865 (isearch-filter-visible): Not obsolete any more.
5866 * loadup.el: Preload nadvice.
5867 * replace.el (perform-replace): Revert to funcall
5868 instead of run-hook-with-args-until-failure.
5869 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5870 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5871 dired-isearch-filenames-toggle; make it into a proper minor mode.
5872 Use add/remove-function.
5873 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5874 Call the minor-mode rather than add/remove-hook.
5875 (dired-isearch-filter-filenames):
5876 Remove isearch-message-prefix property.
5877 * info.el (Info--search-loop): New function, extracted from Info-search.
5878 Funcall isearch-filter-predicate instead of
5879 run-hook-with-args-until-failure isearch-filter-predicates.
5880 (Info-search): Use it.
5881 (Info-mode): Use isearch-filter-predicate instead of
5882 isearch-filter-predicates.
5883
290d5b58
DA
58842013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5885
5886 Do not call to `selected-window' where it is assumed by default.
5887 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5888 `window-hscroll', `window-width', `window-height', `window-buffer',
5889 `window-frame', `window-start', `window-point', `next-window'
5890 and `window-display-table'.
5891 * abbrev.el (abbrev--default-expand):
5892 * bs.el (bs--show-with-configuration):
5893 * buff-menu.el (Buffer-menu-mouse-select):
5894 * calc/calc.el (calc):
5895 * calendar/calendar.el (calendar-generate-window):
5896 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5897 (diary-make-entry):
5898 * comint.el (send-invisible, comint-dynamic-complete-filename)
5899 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5900 * completion.el (complete):
5901 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5902 * disp-table.el (describe-current-display-table):
5903 * doc-view.el (doc-view-insert-image):
5904 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5905 * ehelp.el (with-electric-help):
5906 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5907 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5908 * emacs-lisp/helper.el (Helper-help-scroller):
5909 * emulation/cua-base.el (cua--post-command-handler-1):
5910 * eshell/esh-mode.el (eshell-output-filter):
5911 * ffap.el (ffap-gnus-wrapper):
5912 * help-macro.el (make-help-screen):
5913 * hilit-chg.el (highlight-compare-buffers):
5914 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5915 * hl-line.el (global-hl-line-highlight):
5916 * icomplete.el (icomplete-simple-completing-p):
5917 * isearch.el (isearch-done):
5918 * jit-lock.el (jit-lock-stealth-fontify):
5919 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5920 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5921 * mpc.el (mpc-tagbrowser, mpc):
5922 * net/rcirc.el (rcirc-any-buffer):
5923 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5924 * play/landmark.el (landmark-max-width, landmark-max-height):
5925 * play/zone.el (zone):
5926 * progmodes/compile.el (compilation-goto-locus):
5927 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5928 * progmodes/etags.el (find-tag-other-window):
5929 * progmodes/fortran.el (fortran-column-ruler):
5930 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5931 * progmodes/verilog-mode.el (verilog-point-text):
5932 * reposition.el (reposition-window):
5933 * rot13.el (toggle-rot13-mode):
5934 * server.el (server-switch-buffer):
5935 * shell.el (shell-dynamic-complete-command)
5936 (shell-dynamic-complete-environment-variable):
5937 * simple.el (insert-buffer, set-selective-display)
5938 (delete-completion-window):
5939 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5940 (speedbar-recenter):
5941 * startup.el (fancy-splash-head):
5942 * textmodes/ispell.el (ispell-command-loop):
5943 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5944 * tutorial.el (help-with-tutorial):
5945 * vc/add-log.el (add-change-log-entry):
5946 * vc/compare-w.el (compare-windows):
5947 * vc/ediff-help.el (ediff-indent-help-message):
5948 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5949 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5950 (ediff-setup-control-frame):
5951 * vc/emerge.el (emerge-position-region):
5952 * vc/pcvs-util.el (cvs-bury-buffer):
5953 * window.el (walk-windows, mouse-autoselect-window-select):
5954 * winner.el (winner-set-conf, winner-undo): Related users changed.
5955
38276e01
JB
59562013-08-05 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * frameset.el (frameset--set-id): Doc fix.
5959 (frameset-frame-id, frameset-frame-id-equal-p)
5960 (frameset-locate-frame-id): New functions.
5961 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5962 (frameset-restore): Use them.
5963
12b4c0ea
DA
59642013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5965
5966 Do not call to `selected-frame' where it is assumed by default.
5967 Affected functions are `raise-frame', `redraw-frame',
5968 `frame-first-window', `frame-terminal' and `delete-frame'.
5969 * calendar/appt.el (appt-disp-window):
5970 * epg.el (epg-wait-for-completion):
5971 * follow.el (follow-delete-other-windows-and-split)
5972 (follow-avoid-tail-recenter):
5973 * international/mule.el (set-terminal-coding-system):
5974 * mail/rmail.el (rmail-mail-return):
5975 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5976 * progmodes/f90.el (f90-add-imenu-menu):
5977 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5978 * server.el (server-switch-buffer):
5979 * simple.el (delete-completion-window):
5980 * talk.el (talk):
5981 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5982 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5983 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5984 * vc/ediff.el (ediff-documentation): Related users changed.
5985 * frame.el (selected-terminal): Remove the leftover.
5986
17f25e76
GM
59872013-08-05 Glenn Morris <rgm@gnu.org>
5988
5989 * calendar/calendar.el (calendar-generate-month):
5990 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5991 (calendar-generate-month, calendar-font-lock-keywords):
5992 Fix for calendar-day-header-width > length of any day name.
17f25e76 5993
063233c3
JB
59942013-08-05 Juanma Barranquero <lekktu@gmail.com>
5995
5996 * desktop.el (desktop-clear): Use new name of sort predicate.
5997
5998 * frameset.el (frameset): Add docstring. Move :version property to its
5999 own `version' slot.
6000 (frameset-copy): Rename from copy-frameset.
6001 (frameset-p): Check more thoroughly.
6002 (frameset-prop): Do not check for :version, which is no longer a prop.
6003 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6004 Use new :never value instead of t.
6005 (frameset-filter-alist): Expand and clarify docstring.
6006 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6007 (frameset-filter-minibuffer, frameset-filter-save-param)
6008 (frameset-filter-restore-param, frameset-filter-iconified):
6009 Add pointer to docstring of frameset-filter-alist.
6010 (frameset-filter-params): Rename filter values to be more meaningful:
6011 :never instead of t, and reverse the meanings of :save and :restore.
6012 (frameset--process-minibuffer-frames): Clarify error message.
6013 (frameset-save): Avoid unnecessary and confusing call to framep.
6014 Use new BOA constructor for framesets.
6015 (frameset--reuse-list): Doc fix.
6016 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6017 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6018 (frameset-minibufferless-first-p): Doc fix.
6019 Rename from frameset-sort-frames-for-deletion.
6020 (frameset-restore): Doc fixes. Use new function names.
6021 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6022
d5671a82
JB
60232013-08-04 Juanma Barranquero <lekktu@gmail.com>
6024
6025 * desktop.el (desktop-restore-forces-onscreen)
6026 (desktop-restore-reuses-frames): Document :keyword constant values.
6027 (desktop-filter-parameters-alist): Remove, now identical to
6028 frameset-filter-alist.
6029 (desktop--filter-tty*): Remove, moved to frameset.el.
6030 (desktop-save-frameset, desktop-restore-frameset):
6031 Do not pass :filters argument.
6032
6033 * frameset.el (frameset-live-filter-alist)
6034 (frameset-persistent-filter-alist): New variables.
6035 (frameset-filter-alist): Use them. Add autoload cookie.
6036 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6037 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6038 `frameset--id' (it's supposed to be internal to frameset.el).
6039 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6040 (frameset--initial-params): New function.
6041 (frameset--get-frame): Use it. Doc fix.
6042 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6043 Accept :all, not 'all.
6044 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6045 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6046 with fbound symbols. Fix frame id matching, and remove matching ids if
6047 the frame being restored is deleted. Obey :delete.
6048
671d5c16
SM
60492013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * subr.el (macrop): New function.
6052 (text-clone--maintaining): New var.
6053 (text-clone--maintain): Rename from text-clone-maintain. Use it
6054 instead of inhibit-modification-hooks.
6055
6056 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6057 a proxy, so as handle autoloads and redefinitions of the target.
6058 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6059
6060 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6061 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6062 (pcase--mutually-exclusive-p): New function.
6063 (pcase--split-consp): Use it.
6064 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6065 mutually exclusive with the current predicate.
6066
6067 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6068 (edebug-macrop): Remove. Use `macrop' instead.
6069 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6070 (ad-macro-p):
6071 * eshell/esh-cmd.el (eshell-macrop):
6072 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6073
1d44e9dc
SM
60742013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6077 (advice-mapc): New function, using it.
6078 (advice-function-member-p): New function.
6079 (advice--normalize): Store the cdr in advice--saved-rewrite since
6080 that's the part that will be changed.
6081 (advice--symbol-function): New function.
6082 (advice-remove): Handle removal before the function is defined.
6083 Adjust to new advice--saved-rewrite.
6084 (advice-member-p): Use advice-function-member-p and
6085 advice--symbol-function.
6086
5414a283
JB
60872013-08-04 Juanma Barranquero <lekktu@gmail.com>
6088
51d30f2c
JB
6089 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6090 (frameset-filter-minibuffer): Doc fix.
6091 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6092 (frameset--set-id, frameset--process-minibuffer-frames)
6093 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6094 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6095
5414a283
JB
6096 * desktop.el (desktop-clear): Only delete frames when called
6097 interactively and desktop-restore-frames is non-nil. Doc fix.
6098 (desktop-read): Set desktop-saved-frameset to nil.
6099
ab419665
XF
61002013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6101
6102 * vc/vc.el (vc-ignore): Rewrite.
6103 (vc-default-ignore-completion-table):
6104 (vc--read-lines):
6105 (vc--add-line, vc--remove-regexp): New functions.
6106
6107 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6108 (vc-svn-ignore-completion-table): New function.
6109
6110 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6111 (vc-hg-ignore-completion-table):
6112 (vc-hg-find-ignore-file): New functions.
6113
6114 * vc/vc-git.el (vc-git-ignore): Rewrite.
6115 (vc-git-ignore-completion-table):
6116 (vc-git-find-ignore-file): New functions.
6117
6118 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6119
6120 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6121 (vc-bzr-ignore-completion-table):
6122 (vc-bzr-find-ignore-file): New functions.
6123
2613dea2
JB
61242013-08-03 Juanma Barranquero <lekktu@gmail.com>
6125
6126 * frameset.el (frameset-prop): New function and setter.
6127 (frameset-save): Do not modify frame list passed by the caller.
6128
9c959872
SM
61292013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6132
a104f656
SM
61332013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6134
70122acf
SM
6135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6136 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6137
a104f656
SM
6138 * custom.el (custom-initialize-default, custom-initialize-set)
6139 (custom-initialize-reset, custom-initialize-changed): Affect the
6140 toplevel-default-value (bug#6275, bug#14586).
6141 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6142 for bug#6275.
6143
f078d570
JB
61442013-08-02 Juanma Barranquero <lekktu@gmail.com>
6145
185e3b5a
JB
6146 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6147 Add cl-def* expressions.
6148
f078d570
JB
6149 * frameset.el (frameset-filter-params): Fix order of arguments.
6150
9421876d
JB
61512013-08-02 Juanma Barranquero <lekktu@gmail.com>
6152
6153 Move code related to saving frames to frameset.el.
6154 * desktop.el: Require frameset.
6155 (desktop-restore-frames): Doc fix.
6156 (desktop-restore-reuses-frames): Rename from
6157 desktop-restoring-reuses-frames.
6158 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6159 (desktop-clear): Clear frames too.
6160 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6161 (desktop--filter-tty*, desktop-save, desktop-read):
6162 Use frameset functions.
6163 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6164 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6165 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6166 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6167 (desktop--process-minibuffer-frames, desktop-save-frames)
6168 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6169 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6170 (desktop--sort-states, desktop-restoring-frames-p)
6171 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6172 (desktop-restoring-frameset-p, desktop-restore-frameset)
6173 (desktop--check-dont-save, desktop-save-frameset): New functions.
6174 (desktop--app-id): New constant.
6175 (desktop-first-buffer, desktop-buffer-ok-count)
6176 (desktop-buffer-fail-count): Move before first use.
6177 * frameset.el: New file.
6178
76dc5996
SM
61792013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * files.el: Use lexical-binding.
6182 (dir-locals-read-from-file): Remove unused `err' variable.
6183 (hack-dir-local-variables--warned-coding): New var.
6184 (hack-dir-local-variables): Use it to avoid repeated warnings.
6185 (make-backup-file-name--default-function): New function.
6186 (make-backup-file-name-function): Use it as default.
6187 (buffer-stale--default-function): New function.
6188 (buffer-stale-function): Use it as default.
6189 (revert-buffer-insert-file-contents--default-function): New function.
6190 (revert-buffer-insert-file-contents-function): Use it as default.
6191 (insert-directory): Avoid add-to-list.
6192
6193 * autorevert.el (auto-revert-handler): Simplify.
6194 Use buffer-stale--default-function.
6195
06d36e2b
TH
61962013-08-01 Tassilo Horn <tsdh@gnu.org>
6197
5f648ab4
TH
6198 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6199
06d36e2b
TH
6200 * whitespace.el (whitespace-ensure-local-variables): New function.
6201 (whitespace-cleanup-region): Call it.
6202 (whitespace-turn-on): Call it.
6203
a43dc424
MA
62042013-08-01 Michael Albinus <michael.albinus@gmx.de>
6205
6206 Complete file name handlers.
6207
6208 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6209 (tramp-handle-verify-visited-file-modtime)
6210 (tramp-handle-file-notify-rm-watch): New functions.
6211 (tramp-call-process): Do not bind `default-directory'.
6212
44e18199
JB
6213 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6214 Order alphabetically.
a43dc424
MA
6215 [access-file, add-name-to-file, dired-call-process]:
6216 [dired-compress-file, file-acl, file-notify-rm-watch]:
6217 [file-ownership-preserved-p, file-selinux-context]:
6218 [make-directory-internal, make-symbolic-link, set-file-acl]:
6219 [set-file-selinux-context, set-visited-file-modtime]:
6220 [verify-visited-file-modtime]: Add handler.
6221 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6222
6223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6224 [file-notify-add-watch, file-notify-rm-watch]:
6225 [set-file-times, set-visited-file-modtime]:
6226 [verify-visited-file-modtime]: Add handler.
6227 (with-tramp-gvfs-error-message)
6228 (tramp-gvfs-handle-set-visited-file-modtime)
6229 (tramp-gvfs-fuse-file-name): Remove.
6230 (tramp-gvfs-handle-file-notify-add-watch)
6231 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6232 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6233
44e18199
JB
6234 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6235 Order alphabetically.
a43dc424
MA
6236 [file-notify-rm-watch ]: Use default Tramp handler.
6237 [executable-find]: Remove private handler.
6238 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6239 `default-directory'.
6240 (tramp-sh-handle-executable-find)
6241 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6242 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6243 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6244 Do not use `format' in `tramp-message'.
6245
6246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6247 [file-notify-rm-watch, set-visited-file-modtime]:
6248 [verify-visited-file-modtime]: Add handler.
6249 (tramp-smb-call-winexe): Do not bind `default-directory'.
6250
7188b515
XF
62512013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6252
6253 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6254
2412ee1a
DG
62552013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6256
6257 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6258 use it.
6259 (log-view-diff-changeset): Same.
6260 (log-view-diff-common): Call backend command `previous-revision'
6261 to find out the previous revision, in both cases. Swap the
6262 variables `to' and `fr', so that `fr' usually refers to the
6263 earlier revision (Bug#14989).
6264
5002a754
KRC
62652013-07-31 Kan-Ru Chen <kanru@kanru.info>
6266
6267 * ibuf-ext.el (ibuffer-filter-by-filename):
6268 Make it work with dired buffers too.
6269
44e18199 62702013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6271
6272 * emacs-lisp/re-builder.el (reb-color-display-p):
6273 * files.el (save-buffers-kill-terminal):
6274 * net/browse-url.el (browse-url):
6275 * server.el (server-save-buffers-kill-terminal):
6276 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6277 Prefer nil to selected-frame for the first arg of frame-parameter.
6278
aeca3fbb
XF
62792013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6280
6281 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6282
158bc55c
SB
62832013-07-30 Stephen Berman <stephen.berman@gmx.net>
6284
6285 * minibuffer.el (completion--twq-all): Try and preserve each
6286 completion's case choice (bug#14907).
6287
d50fceab
LMI
62882013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289
ac38e731
LMI
6290 * net/network-stream.el (open-network-stream): Mention the new
6291 :nogreeting parameter.
6292 (network-stream-open-starttls): Use the :nogreeting parameter
6293 (bug#14938).
6294
1211de50
LMI
6295 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6296
997798bf
LMI
6297 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6298 more natural than popping.
6299
d50fceab 6300 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6301 (shr-urlify): Highlight under mouse.
d50fceab 6302
5c09de04
XF
63032013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6304
207d1d04
XF
6305 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6306
6307 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6308
5c09de04
XF
6309 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6310 buffer for output.
6311
3cd51eaa
XF
6312 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6313 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6314
44e18199 6315 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6316 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6317
6318 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6319
6320 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6321 buffer for output.
6322
35a89bdd
EZ
63232013-07-29 Eli Zaretskii <eliz@gnu.org>
6324
6325 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6326 initial frame is minibuffer-less. (Bug#14841)
6327
78822e94
MA
63282013-07-29 Michael Albinus <michael.albinus@gmx.de>
6329
6330 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6331 option.
6332
6333 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6334 (tramp-maybe-open-connection): Use it.
6335
9503c190
JB
63362013-07-28 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6339 minimal set of parameters passed when creating a frame, because
6340 the minibuffer status of a frame cannot be changed later.
6341
d5a845b4
SB
63422013-07-28 Stephen Berman <stephen.berman@gmx.net>
6343
6344 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6345 replace-regexp-in-string and inadvertent omissions in previous change.
6346 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6347 name of filtered items buffer.
d5a845b4 6348
ddeffb17
JB
63492013-07-28 Juanma Barranquero <lekktu@gmail.com>
6350
6351 * desktop.el: Optionally force offscreen frames back onscreen.
6352 (desktop-restoring-reuses-frames): New option.
6353 (desktop--compute-pos, desktop--move-onscreen): New functions.
6354 (desktop--make-frame): Use desktop--move-onscreen.
6355
f5950f7a
AM
63562013-07-27 Alan Mackenzie <acm@muc.de>
6357
6358 Fontify a Java generic method as a function.
6359 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6360 value to t.
6361
ae43b66a
SB
63622013-07-27 Stephen Berman <stephen.berman@gmx.net>
6363
6364 * calendar/todo-mode.el: Add command to rename todo files.
6365 (todo-rename-file): New command.
6366 (todo-key-bindings-t): Add key binding for it. Change the
6367 bindings of todo-filter-regexp-items(-multifile) to use `x'
6368 instead of `r', since the latter is better suited to the new
6369 renaming command.
6370
5ab78d3d
AM
63712013-07-27 Alan Mackenzie <acm@muc.de>
6372
6373 Make Java try-with-resources statement parse properly.
6374 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6375 (c-block-stmt-1-2-key): New language constants/variables.
6376 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6377 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6378 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6379 with c-block-stmt-1-2-key.
5ab78d3d 6380
d85c4d50
JB
63812013-07-27 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * desktop.el (desktop--make-frame): Apply most frame parameters after
6384 creating the frame to force (partially or totally) offscreen frames to
6385 be restored as such.
6386
e4c467f9
XF
63872013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6388
6389 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6390 (Bug#14948)
e4c467f9 6391
7ced0d04
SM
63922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6395 `base' arg of backtrace-frame.
6396
fec92060
EZ
63972013-07-26 Eli Zaretskii <eliz@gnu.org>
6398
6399 * simple.el (list-processes): Doc fix.
6400
d58d31fb
JB
64012013-07-26 Juanma Barranquero <lekktu@gmail.com>
6402
6403 * desktop.el (desktop--select-frame):
d85c4d50 6404 Try harder to reuse existing frames.
d58d31fb 6405
53ff3e77
SM
64062013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6409 (edebug-eval): Use backtrace-eval.
6410 (edebug--display, edebug--recursive-edit): Don't let-bind the
6411 edebug-outer-* vars that keep track of variables we locally let-bind.
6412 (edebug-outside-excursion): Don't restore outside values of locally
6413 let-bound vars.
6414 (edebug--display): Use user-error.
6415 (cl-lexical-debug, cl-debug-env): Remove.
6416
045f7a53
JB
64172013-07-26 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6420 are restored to be sure that they are visible before deleting any
6421 remaining ones.
6422
59070b32
MM
64232013-07-26 Matthias Meulien <orontee@gmail.com>
6424
742a3501
XF
6425 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6426 vc-print-root-log. (Bug#14948)
59070b32 6427
b1fb3596
RS
64282013-07-26 Richard Stallman <rms@gnu.org>
6429
6430 Add aliases for encrypting mail.
6431 * epa.el (epa-mail-aliases): New option.
6432 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6433 Bind inhibit-read-only so read-only text doesn't ruin everything.
6434 (epa-mail-default-recipients): New subroutine broken out.
6435 Handle epa-mail-aliases.
6436
56ea7291
SM
64372013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 Add support for lexical variables to the debugger's `e' command.
6440 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6441 vars, except for debugger-outer-match-data.
6442 (debugger-frame-number): Move check for "on a function call" from
6443 callers into it. Add `skip-base' argument.
6444 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6445 (debugger-env-macro): Only reset the state stored in non-variables,
6446 i.e. current-buffer and match-data.
6447 (debugger-eval-expression): Rewrite using backtrace-eval.
6448 * subr.el (internal--called-interactively-p--get-frame): Remove.
6449 (called-interactively-p):
6450 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6451 `base' arg of backtrace-frame instead.
6452
15ac32d5
GM
64532013-07-26 Glenn Morris <rgm@gnu.org>
6454
8358a09d
GM
6455 * align.el (align-regexp): Doc fix. (Bug#14857)
6456 (align-region): Explicit error if subexpression missing/does not match.
6457
15ac32d5
GM
6458 * simple.el (global-visual-line-mode):
6459 Do not duplicate the mode lighter. (Bug#14858)
6460
f47ad11b
MR
64612013-07-25 Martin Rudalics <rudalics@gmx.at>
6462
6463 * window.el (display-buffer): In display-buffer bind
6464 split-window-keep-point to t, bug#14829.
6465
02530987
JB
64662013-07-25 Juanma Barranquero <lekktu@gmail.com>
6467
6468 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6469 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6470 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6471 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6472 Change accordingly.
f63ebeb5
JB
6473 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6474 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6475
6ccb9cab 64762013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6477
6ccb9cab 6478 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6479
cb3a56d2
JB
64802013-07-25 Juanma Barranquero <lekktu@gmail.com>
6481
6482 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6483 parameter to modify-frame-parameters if the value has not changed;
6484 this is a workaround for bug#14949.
6485 (desktop--make-frame): On cl-delete-if call, check parameter name,
6486 not full parameter.
6487
7aa7fff0
XF
64882013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6489
6490 * vc/vc.el (vc-ignore): New function.
6491
6492 * vc/vc-svn.el (vc-svn-ignore): New function.
6493
6494 * vc/vc-hg.el (vc-hg-ignore): New function.
6495
6496 * vc/vc-git.el (vc-git-ignore): New function.
6497
6498 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6499 (vc-dir-ignore): New function.
6500
6501 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6502 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6503
6504 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6505
6506 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6507
889acc5c
JB
65082013-07-24 Juanma Barranquero <lekktu@gmail.com>
6509
6510 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6511 (desktop-restore-frames): Warn when deleting an existing frame failed.
6512
86c40970
GM
65132013-07-24 Glenn Morris <rgm@gnu.org>
6514
6515 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6516
d5d3c58a
MA
65172013-07-24 Michael Albinus <michael.albinus@gmx.de>
6518
6519 * filenotify.el (file-notify-supported-p):
6520 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6521 Remove functions.
6522
6523 * autorevert.el (auto-revert-use-notify):
6524 (auto-revert-notify-add-watch):
6525 * net/tramp.el (tramp-file-name-for-operation):
6526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6527 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6528 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6529 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6530 Remove `file-notify-supported-p' entry.
6531
d100084b
GM
65322013-07-24 Glenn Morris <rgm@gnu.org>
6533
6534 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6535 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6536
ac93e56b
SM
65372013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6538
249eea30
SM
6539 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6540 checked with memq (bug#14935).
6541
ac93e56b
SM
6542 * files.el (revert-buffer-function): Use a non-nil default.
6543 (revert-buffer-preserve-modes): Declare var to
6544 provide access to the `preserve-modes' argument.
6545 (revert-buffer): Let-bind it.
6546 (revert-buffer--default): New function, extracted from revert-buffer.
6547
2cdeb903
SM
65482013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * lpr.el: Signal print errors more prominently.
6551 (print-region-function): Don't default to nil.
6552 (lpr-print-region): New function, extracted from print-region-1.
6553 Check lpr's return value and signal an error in case of problem.
6554 (print-region-1): Use it.
6555 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6556 versions instead.
6557 (ps-printer-name): Default to nil.
6558 (ps-printer-name-option): Default to lpr-printer-switch.
6559 (ps-print-region-function): Don't default to nil.
6560 (ps-postscript-code-directory): Simplify default.
6561 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6562 (ps-string-list, ps-eval-switch, ps-flatten-list)
6563 (ps-flatten-list-1): Remove.
6564 (ps-multibyte-buffer): Avoid setq.
6565 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6566 (print-region-function, ps-print-region-function): Don't set them here.
6567
73600831
XF
65682013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6569
0e55c076
XF
6570 * ido.el (ido-fractionp):
6571 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6572 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6573 (ido-max-directory-size, ido-max-dir-file-cache)
6574 (ido-decorations): Doc fix.
6575
73600831
XF
6576 * ansi-color.el: Fix old URL.
6577
3d012865
MM
65782013-07-23 Michael R. Mauger <michael@mauger.com>
6579
e903c210 6580 * progmodes/sql.el: Version 3.3
3d012865
MM
6581 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6582 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6583 (sql-interactive-remove-continuation-prompt): Rewrite, use
6584 functions above. Fix continuation prompt and complete output line
6585 handling.
6586 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6587 redirected output buffer.
6588 (sql-mode): Restore deleted code (Bug#13591).
6589
da77a2e2
JB
65902013-07-23 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6593
80ff0c71
MA
65942013-07-23 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6597
6598 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6599 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6600 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6601
b61d71e4
JB
66022013-07-23 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * desktop.el (desktop-clear): Simplify; remove useless checks
6605 against invalid buffer names.
6606 (desktop-list*): Use cl-list*.
6607 (desktop-buffer-info, desktop-create-buffer): Simplify.
6608
c3512092
LL
66092013-07-23 Leo Liu <sdl.web@gmail.com>
6610
6611 * bookmark.el (bookmark-make-record): Restore NAME as a default
6612 value. (Bug#14933)
6613
0ac26976
SM
66142013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6615
7d22ce18
SM
6616 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6617 extracted from autoload--insert-text.
6618 (autoload--insert-text): Remove.
6619 (autoload--print-cookie-text): New function, extracted from
6620 autoload--insert-cookie-text.
6621 (autoload--insert-cookie-text): Remove.
6622 (autoload-generate-file-autoloads): Adjust calls accordingly.
6623
9b2607e8
SM
6624 * winner.el (winner-hook-installed-p): Remove.
6625 (winner-mode): Simplify accordingly.
6626
c43a8618
SM
6627 * subr.el (add-to-list): Fix compiler-macro when `append' is
6628 not constant. Don't use `cl-member' for the base case.
6629
0ac26976
SM
6630 * progmodes/subword.el: Fix boundary case (bug#13758).
6631 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6632 own group.
6633 (subword-backward-regexp): Make it a constant.
6634 (subword-forward-internal): Don't treat a trailing capital as the
6635 beginning of a word.
6636
6874724a
AR
66372013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6638
6639 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6640 global value of tabulated-list-revert-hook (bug#14930).
6641
70f1b5e8
JB
66422013-07-22 Juanma Barranquero <lekktu@gmail.com>
6643
a1c80d9d
JB
6644 * desktop.el: Require 'cl-lib.
6645 (desktop-before-saving-frames-functions): New hook.
6646 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6647 for frames being saved. Rename from desktop--save-minibuffer-frames.
6648 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6649 Do not save frames with non-nil `desktop-dont-save' parameter.
6650 Filter out deleted frames.
a1c80d9d
JB
6651 (desktop--find-frame): Use cl-find-if.
6652 (desktop--select-frame): Use cl-(first|second|third) to access values
6653 of desktop-mini.
6654 (desktop--make-frame): Use cl-delete-if.
6655 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6656 (desktop-restore-frames): Use cl-(first|second|third) to access values
6657 of desktop-mini. Look for visible frame at the end, not while
6658 restoring frames.
6659
70f1b5e8
JB
6660 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6661 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6662 Use string-match-p, looking-at-p (bug#14927).
6663
728dc3cc
JB
66642013-07-21 Juanma Barranquero <lekktu@gmail.com>
6665
56bc453c
JB
6666 * desktop.el (desktop-saved-frame-states):
6667 Rename from desktop--saved-states; all users changed.
6668 (desktop-save-frames): Rename from desktop--save-frames.
6669 Do not save state to desktop file.
6670 (desktop-save): Save desktop-saved-frame-states to desktop file
6671 and reset to nil.
6672 (desktop-restoring-frames-p): New function.
6673 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6674 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6675 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6676
728dc3cc
JB
6677 * desktop.el: Correctly restore iconified frames.
6678 (desktop--filter-iconified-position): New function.
6679 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6680
862f1c9c
GM
66812013-07-20 Glenn Morris <rgm@gnu.org>
6682
c4074c9f
GM
6683 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6684 Let `message' do the formatting.
6685 (def-gdb-preempt-display-buffer): Add explicit format.
6686
d828e5f9
GM
6687 * image-dired.el (image-dired-track-original-file):
6688 Use with-current-buffer.
6689 (image-dired-track-thumbnail): Use with-current-buffer.
6690 Avoid changing point of wrong window.
6691
862f1c9c
GM
6692 * image-dired.el (image-dired-track-original-file):
6693 Avoid changing point of wrong window. (Bug#14909)
6694
f0398ec1 66952013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6696
6697 * progmodes/gdb-mi.el (gdb-done-or-error):
6698 Guard against "%" in gdb output. (Bug#14127)
6699
1451928f
AS
67002013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6701
763a086d
JB
6702 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6703 (Bug#14826)
f7a03897 6704
1451928f
AS
6705 * international/mule.el (coding-system-iso-2022-flags): Fix last
6706 change.
6707
99107004
KH
67082013-07-20 Kenichi Handa <handa@gnu.org>
6709
763a086d
JB
6710 * international/mule.el (coding-system-iso-2022-flags):
6711 Add `8-bit-level-4'. (Bug#8522)
99107004 6712
48494e06
LMI
67132013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6714
8ba8eec5
LMI
6715 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6716 (bug#14815).
6717
dfbc66e3
LMI
6718 * net/eww.el (eww-process-text-input): Allow inputting when the
6719 point is at the start of the line, as the properties aren't
6720 front-sticky.
6721
48494e06
LMI
6722 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6723 degenerate widths.
6724
77c92cb9
RS
67252013-07-19 Richard Stallman <rms@gnu.org>
6726
aec7da77
RS
6727 * epa.el (epa-popup-info-window): Doc fix.
6728
77c92cb9
RS
6729 * subr.el (split-string): New arg TRIM.
6730
945c5bb1
JB
67312013-07-18 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6734 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6735
e06ec67f
MA
67362013-07-18 Michael Albinus <michael.albinus@gmx.de>
6737
c7064f05 6738 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6739 `file-notify-support'. Do not autoload. Adapt all uses.
6740 (file-notify-supported-p): New defun.
6741
c7064f05
JB
6742 * autorevert.el (auto-revert-use-notify):
6743 Use `file-notify-supported-p' instead of `file-notify-support'.
6744 Adapt docstring.
e06ec67f
MA
6745 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6746
6747 * net/tramp.el (tramp-file-name-for-operation):
6748 Add `file-notify-supported-p'.
6749
6750 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6751 New defun.
6752 (tramp-sh-file-name-handler-alist): Add it as handler for
6753 `file-notify-supported-p '.
6754
6755 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6756 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6758 Add `ignore' as handler for `file-notify-*' functions.
6759
5dc8a629
EZ
67602013-07-17 Eli Zaretskii <eliz@gnu.org>
6761
6762 * simple.el (line-move-partial, line-move): Don't start vscroll or
6763 scroll-up if the current line is not taller than the window.
6764 (Bug#14881)
6765
77aea2fb
DG
67662013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6767
6768 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6769 highlight question marks in the method names as strings.
ac72c08d
DG
6770 (ruby-block-beg-keywords): Inline.
6771 (ruby-font-lock-keyword-beg-re): Extract from
6772 `ruby-font-lock-keywords'.
77aea2fb 6773
18c26d81
JD
67742013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6775
6776 * frame.el (blink-cursor-blinks): New defcustom.
6777 (blink-cursor-blinks-done): New defvar.
6778 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6779 (blink-cursor-timer-function): Check if number of blinks has been
6780 done on X and NS.
6781 (blink-cursor-suspend, blink-cursor-check): New defuns.
6782
da48522e
GM
67832013-07-15 Glenn Morris <rgm@gnu.org>
6784
6785 * edmacro.el (edmacro-format-keys): Fix previous change.
6786
0463c1ef
PE
67872013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6788
6789 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6790 The hack didn't work outside English locales anyway.
6791
b43f6451
JB
67922013-07-15 Juanma Barranquero <lekktu@gmail.com>
6793
6794 * simple.el (define-alternatives): Rename from alternatives-define,
6795 per RMS' suggestion.
6796
b958c0ad
JB
67972013-07-14 Juanma Barranquero <lekktu@gmail.com>
6798
6799 * desktop.el (desktop-restore-frames): Change default to t.
6800 (desktop-restore-in-current-display): Now offer more options.
6801 (desktop-restoring-reuses-frames): New customization option.
6802 (desktop--saved-states): Doc fix.
6803 (desktop-filter-parameters-alist): New variable, renamed and expanded
6804 from desktop--excluded-frame-parameters.
6805 (desktop--target-display): New variable.
6806 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6807 (desktop--filter-tty*, desktop--filter-*-color)
6808 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6809 (desktop--filter-save-desktop-parm)
6810 (desktop-restore-in-original-display-p): New functions.
6811 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6812 (desktop--save-minibuffer-frames): New function, inspired by a similar
6813 function from Martin Rudalics.
6814 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6815 (desktop--restore-in-this-display-p): Remove.
6816 (desktop--find-frame): Rename from desktop--find-frame-in-display
6817 and add predicate argument.
6818 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6819 (desktop--reuse-list): New variable.
6820 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6821 New functions.
6822 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6823
f6dd8b36
MA
68242013-07-14 Michael Albinus <michael.albinus@gmx.de>
6825
6826 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6827
2ce3c565
DG
68282013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6829
763a086d
JB
6830 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6831 Highlight conversion methods on Kernel.
2ce3c565 6832
2cdb7698
AM
68332013-07-13 Alan Mackenzie <acm@muc.de>
6834
6835 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6836 and comment it out. This out-commenting enables certain C++
6837 declarations to be parsed correctly.
6838
1a67b811
EZ
68392013-07-13 Eli Zaretskii <eliz@gnu.org>
6840
1b796d6b
EZ
6841 * international/mule.el (define-coding-system): Doc fix.
6842
1a67b811
EZ
6843 * simple.el (default-font-height): Don't call font-info if the
6844 frame's default font didn't change since the frame was created.
6845 (Bug#14838)
6846
58fbe886
LL
68472013-07-13 Leo Liu <sdl.web@gmail.com>
6848
6849 * ido.el (ido-read-file-name): Guard against non-symbol value.
6850
1f0480d4
FEG
68512013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6852
6853 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6854 in nested defuns.
6855
97ead0e5
LL
68562013-07-13 Leo Liu <sdl.web@gmail.com>
6857
6858 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6859 ido-set-matches call. (Bug#6852)
6860
0880a952
DG
68612013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6862
6863 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6864 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6865 Ruby 2.0.
6866 (ruby-font-lock-keywords): Distinguish calls to functions with
6867 module-like names from module references. Highlight character
6868 literals.
6869
a7d8babb
SDJ
68702013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6871
6872 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6873 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6874
acfcc8c5
JB
68752013-07-12 Juanma Barranquero <lekktu@gmail.com>
6876
6877 * desktop.el (desktop--v2s): Remove unused local variable.
6878 (desktop-save-buffer): Make defvar-local; adjust docstring.
6879 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6880 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6881
051f2775
AS
68822013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6883
6884 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6885
f24e7572
GM
68862013-07-12 Eli Zaretskii <eliz@gnu.org>
6887
6888 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6889 (Bug#14842)
6890
539a920c
GM
68912013-07-12 Glenn Morris <rgm@gnu.org>
6892
6893 * doc-view.el: Require cl-lib at runtime too.
6894 (doc-view-remove-if): Remove.
6895 (doc-view-search-next-match, doc-view-search-previous-match):
6896 Use cl-remove-if.
6897
6898 * edmacro.el: Require cl-lib at runtime too.
6899 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6900 (edmacro-mismatch, edmacro-subseq): Remove.
6901
6902 * shadowfile.el: Require cl-lib.
6903 (shadow-remove-if): Remove.
6904 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6905 Use cl-remove-if.
6906
6907 * wid-edit.el: Require cl-lib.
6908 (widget-choose): Use cl-remove-if.
6909 (widget-remove-if): Remove.
6910
6911 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6912 (ebrowse-delete-if-not): Remove.
6913 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6914 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6915 Use cl-delete-if-not.
6916
1048af7c
JB
69172013-07-12 Juanma Barranquero <lekktu@gmail.com>
6918
6919 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6920 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6921
6c0674ee
LL
69222013-07-12 Leo Liu <sdl.web@gmail.com>
6923
6924 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6925
a19b3c2d
GM
69262013-07-11 Glenn Morris <rgm@gnu.org>
6927
4582a01c
GM
6928 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6929 (edebug-gensym-index, edebug-gensym):
6930 Remove reimplementation of cl-gensym.
6931 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6932
6933 * thumbs.el: Require cl-lib at run-time too.
6934 (thumbs-gensym-counter, thumbs-gensym):
6935 Remove reimplementation of cl-gensym.
6936 (thumbs-temp-file): Use cl-gensym.
6937
a19b3c2d
GM
6938 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6939 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6940 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6941 (ert--union, ert--gensym-counter, ert--gensym-counter)
6942 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6943 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6944 (ert-make-test-unbound, ert--expand-should-1)
6945 (ert--expand-should, ert--should-error-handle-error)
6946 (should-error, ert--explain-equal-rec)
6947 (ert--plist-difference-explanation, ert-select-tests)
6948 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6949 Use cl-lib functions rather than reimplementations.
6950
88f6a933
MA
69512013-07-11 Michael Albinus <michael.albinus@gmx.de>
6952
6953 * net/tramp.el (tramp-methods): Extend docstring.
6954 (tramp-connection-timeout): New defcustom.
6955 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6956 (with-tramp-progress-reporter): Simplify.
6957 (tramp-process-actions): Improve messages.
6958
6959 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6960 * net/tramp-sh.el (tramp-maybe-open-connection):
6961 Use `tramp-connection-timeout'.
6962 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6963 (Bug#14808)
6964
a43d577e
LL
69652013-07-11 Leo Liu <sdl.web@gmail.com>
6966
6967 * ido.el (ido-read-file-name): Conform to the requirements of
6968 read-file-name. (Bug#11861)
6969 (ido-read-directory-name): Conform to the requirements of
6970 read-directory-name.
6971
d77974bf
JB
69722013-07-11 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * subr.el (delay-warning): New function.
6975
35cb8a3e
EZ
69762013-07-10 Eli Zaretskii <eliz@gnu.org>
6977
6978 * simple.el (default-line-height): New function.
6979 (line-move-partial, line-move): Use it instead of computing the
6980 line height inline.
6981 (line-move-partial): Always compute ROWH. If the last line is
6982 partially-visible, but its text is completely visible, allow
6983 cursor to enter such a partially-visible line.
6984
525c5c77
MA
69852013-07-10 Michael Albinus <michael.albinus@gmx.de>
6986
6987 Improve error messages. (Bug#14808)
6988
6989 * net/tramp.el (tramp-current-connection): New defvar, moved from
6990 tramp-sh.el.
0ac26976 6991 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6992 needed anymore.
0ac26976
SM
6993 (tramp-error-with-buffer): Show message in minibuffer.
6994 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6995 (with-tramp-progress-reporter): Improve messages.
6996 (tramp-process-actions): Use progress reporter. Delete process in
6997 case of error. Improve messages.
6998
763a086d
JB
6999 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7000 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7001 (tramp-current-connection): Remove.
525c5c77
MA
7002 (tramp-maybe-open-connection): The car of
7003 `tramp-current-connection' are the first 3 slots of the vector.
7004
c7a4d368
TZ
70052013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7006
7007 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7008 inside continued strings.
7009
954b166e
PE
70102013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7011
7012 Timestamp fixes for undo (Bug#14824).
7013 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7014
56973319
LL
70152013-07-10 Leo Liu <sdl.web@gmail.com>
7016
7017 * files.el (require-final-newline): Allow safe local value.
7018 (Bug#14834)
7019
5550a72c
LL
70202013-07-09 Leo Liu <sdl.web@gmail.com>
7021
7022 * ido.el (ido-read-directory-name): Handle fallback.
7023 (ido-read-file-name): Update DIR to ido-current-directory.
7024 (Bug#1516)
c28b9050 7025 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7026
70c46b28
DG
70272013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7028
7029 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7030 "autoload". Remove "warn lower camel case" section, previously
7031 commented out. Highlight negation char. Do not highlight the
7032 target in singleton method definitions.
7033
0b64b838
SM
70342013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7fd72e2c
SM
7036 * faces.el (tty-setup-hook): Declare the hook.
7037
0b64b838
SM
7038 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7039 and detect when a guard/pred depends on local vars (bug#14773).
7040 (pcase--u1): Adjust caller.
7041
ab49d60b
EZ
70422013-07-08 Eli Zaretskii <eliz@gnu.org>
7043
7044 * simple.el (line-move-partial, line-move): Account for
7045 line-spacing.
701d79aa
EZ
7046 (line-move-partial): Avoid setting vscroll when the last
7047 partially-visible line in window is of default height.
ab49d60b 7048
2d756ae0
LMI
70492013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7050
7051 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7052 been used a while.
7053
ed095bd7
JB
70542013-07-07 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * subr.el (read-quoted-char): Remove unused local variable `char'.
7057
f1e6674b
MK
70582013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7059
584ee3fc
GM
7060 * ediff.el (ediff-version): Version update.
7061 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7062 (ediff-merge-with-ancestor-command, ediff-directories-command)
7063 (ediff-directories3-command, ediff-merge-directories-command)
7064 (ediff-merge-directories-with-ancestor-command): New functions.
7065 All are command-line interfaces to ediff: to facilitate calling
7066 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7067
7068 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7069 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7070
584ee3fc
GM
7071 * viper.el (viper-version): Version update.
7072 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7073
584ee3fc
GM
70742013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7077 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7078 (viper-intercept-ESC-key): Simplify.
7079 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7080 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7081 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7082 (viper-setup-ESC-to-escape): New functions.
7083 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7084 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7085
9aff9b38
EZ
70862013-07-07 Eli Zaretskii <eliz@gnu.org>
7087
5165d44a
JB
7088 * simple.el (default-font-height, window-screen-lines):
7089 New functions.
9aff9b38
EZ
7090 (line-move, line-move-partial): Use them instead of
7091 frame-char-height and window-text-height. This makes scrolling
7092 text smoother when the buffer's default face uses a font that is
7093 different from the frame's default font.
7094
1afb1d07
JD
70952013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7096
7097 * files.el (write-file): Do not display confirm dialog for NS,
7098 it does its own dialog, which can't be cancelled (Bug#14578).
7099
23de972a
EZ
71002013-07-06 Eli Zaretskii <eliz@gnu.org>
7101
7102 * simple.el (line-move-partial): Adjust the row returned by
7103 posn-at-point for the current window-vscroll. (Bug#14567)
7104
54a42486
MA
71052013-07-06 Michael Albinus <michael.albinus@gmx.de>
7106
7107 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7108 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7109 spaces.
7110
34ada5f4
MR
71112013-07-06 Martin Rudalics <rudalics@gmx.at>
7112
7113 * window.el (window-state-put-stale-windows): New variable.
7114 (window--state-put-2): Save list of windows without matching buffer.
7115 (window-state-put): Remove "bufferless" windows if possible.
7116
11e03d89
JB
71172013-07-06 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * simple.el (alternatives-define): Remove leftover :group keyword.
7120 Tweak docstring.
7121
3504a4be
LL
71222013-07-06 Leo Liu <sdl.web@gmail.com>
7123
7124 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7125 (ido-enable-virtual-buffers): New variable.
7126 (ido-buffer-internal, ido-toggle-virtual-buffers)
7127 (ido-make-buffer-list): Use it.
7128 (ido-exhibit): Support turning on and off virtual buffers
7129 automatically.
7130
61e56e2c
JB
71312013-07-06 Juanma Barranquero <lekktu@gmail.com>
7132
7133 * simple.el (alternatives-define): New macro.
7134
321e1a9c
SM
71352013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * subr.el (read-quoted-char): Use read-key.
7138 (sit-for): Let read-event decode tty input (bug#14782).
7139
d610f6dd
SB
71402013-07-05 Stephen Berman <stephen.berman@gmx.net>
7141
7142 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7143 mode command and externally. Fix various related bugs.
7144 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7145 (todo-delete-file): New command.
7146 (todo-check-file): New function.
7147 (todo-show): Handle external deletion of the file we're trying to
7148 show (bug#14688). Replace called-interactively-p by an optional
7149 prefix argument to avoid problematic interaction with catch form
7150 when byte compiled (bug#14702).
7151 (todo-quit): Handle external deletion of the archive's todo file.
7152 Make sure the buffer that was visiting the archive file is still
7153 live before trying to bury it.
7154 (todo-category-completions): Handle external deletion of any
7155 category completion files.
7156 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7157 of todo files, in case of external deletion.
7158 (todo-add-file): Replace unnecessary setq by let-binding.
7159 (todo-find-archive): Check whether there are any archives.
7160 Replace unnecessary setq by let-binding.
7161 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7162 archive buffer whether or not the archive already exists.
7163 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7164 check if the archive is new; if it is, update list of archives.
7165 (todo-default-todo-file): Allow nil to be a valid value for when
7166 there are no todo files.
7167 (todo-reevaluate-default-file-defcustom): Use corrected definition
7168 of todo-default-todo-file.
7169 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7170 (todo-delete-category, todo-show-categories-table)
7171 (todo-category-number): Clarify comment.
7172 (todo-filter-items): Clarify documentation string.
7173 (todo-show-current-file, todo-display-as-todo-file)
7174 (todo-reset-and-enable-done-separator): Tweak documentation string.
7175 (todo-done-separator): Make separator length window-width, since
7176 bug#2749 is now fixed.
7177
ddbdfd6f
MA
71782013-07-05 Michael Albinus <michael.albinus@gmx.de>
7179
321e1a9c
SM
7180 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7181 Support both "gvfs-monitor-dir" and "inotifywait".
7182 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7183 `tramp-sh-file-notify-process-filter'.
7184 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7185 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7186
96eb829a
LL
71872013-07-05 Leo Liu <sdl.web@gmail.com>
7188
7189 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7190
cf13177e
YM
71912013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7192
7193 * frame.el (display-pixel-height, display-pixel-width)
7194 (display-mm-height, display-mm-width): Mention behavior on
7195 multi-monitor setups in docstrings.
7196 (w32-display-monitor-attributes-list): Declare function.
7197 (display-monitor-attributes-list): Use it.
7198
864c58ca
MA
71992013-07-04 Michael Albinus <michael.albinus@gmx.de>
7200
7201 * filenotify.el: New package.
7202
7203 * autorevert.el (top): Require filenotify.el.
7204 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7205 instead.
7206 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7207 (auto-revert-notify-handler): Use `file-notify-*' functions.
7208
7209 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7210
321e1a9c
SM
7211 * net/tramp.el (tramp-file-name-for-operation):
7212 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7213
7214 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7215 for `file-notify-add-watch' and `file-notify-rm-watch'.
7216 (tramp-process-sentinel): Improve trace.
7217 (tramp-sh-handle-file-notify-add-watch)
7218 (tramp-sh-file-notify-process-filter)
7219 (tramp-sh-handle-file-notify-rm-watch)
7220 (tramp-get-remote-inotifywait): New defuns.
7221
96673afe
JL
72222013-07-03 Juri Linkov <juri@jurta.org>
7223
7224 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7225 call of `occur-read-primary-args' to interactive spec.
7226
7227 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7228 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7229
924494f4
MM
72302013-07-03 Matthias Meulien <orontee@gmail.com>
7231
7232 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7233 `Buffer-menu-multi-occur'. Add it to the menu.
7234 (Buffer-menu-mode): Document it in docstring.
7235 (Buffer-menu-multi-occur): New command. (Bug#14673)
7236
56f75efc
DG
72372013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7238
7239 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7240 keywords and built-ins.
7241
9b057d61
GM
72422013-07-03 Glenn Morris <rgm@gnu.org>
7243
208dee4d
GM
7244 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7245
9b057d61
GM
7246 Make info-xref checks case-sensitive by default
7247 * info.el (Info-find-node, Info-find-in-tag-table)
7248 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7249 Add option for exact case matching of nodes.
7250 * info-xref.el (info-xref): New custom group.
7251 (info-xref-case-fold): New option.
7252 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7253
e01aa29c
LL
72542013-07-03 Leo Liu <sdl.web@gmail.com>
7255
7256 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7257
3086ca2e
DG
72582013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7259
7260 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7261 middle of block statement initially, lower the depth. Remove
7262 FIXME comment, not longer valid. Remove middle of block statement
7263 detection, no need to do that anymore since we've been using
7264 `ruby-parse-region' here.
7265
a3b49114
JD
72662013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7267
7268 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7269
08e5c823 72702013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7271
7272 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7273
2addf922
JB
72742013-07-01 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7277 (desktop-restore-in-current-display): New customization option.
7278 (desktop--excluded-frame-parameters): Add `font'.
7279 (desktop--save-frames): Rename from desktop--save-windows.
7280 (desktop--restore-in-this-display-p): New function.
7281 (desktop--make-full-frame): Remove unwanted width/height from
7282 full(width|height) frames.
7283 (desktop--restore-frames): Rename from desktop--restore-windows.
7284 Obey desktop-restore-current-display. Do not delete old frames or
7285 select a new frame unless we were able to restore at least one frame.
7286
ef099a94
MN
72872013-06-30 Michal Nazarewicz <mina86@mina86.com>
7288
7289 * files.el (find-file-noselect): Simplify conditional expression.
7290
7291 * remember.el (remember-append-to-file):
7292 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7293
7294 Add `remember-notes' function to store random notes across Emacs
7295 restarts.
7296 * remember.el (remember-data-file): Add :set callback to affect
7297 notes buffer (if any).
7298 (remember-notes): New command.
7299 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7300 New defcustoms for the `remember-notes' function.
7301 (remember-notes-save-and-bury-buffer): New command.
7302 (remember-notes-mode-map): New variable.
7303 (remember-mode): New minor mode.
7304 (remember-notes--kill-buffer-query): New function.
7305 * startup.el (initial-buffer-choice): Add notes to custom type.
7306
0865d506
EZ
73072013-06-30 Eli Zaretskii <eliz@gnu.org>
7308
0ba54312
EZ
7309 * bindings.el (right-char, left-char): Don't call sit-for, this is
7310 no longer needed. Use arithmetic comparison only for numerical
7311 arguments.
7312
ef099a94
MN
7313 * international/mule-cmds.el (select-safe-coding-system):
7314 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7315
2fae38e5
LMI
73162013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317
7318 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7319 progression on degenerate tables.
ef099a94 7320 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7321
a47cbd64
JB
73222013-06-30 Juanma Barranquero <lekktu@gmail.com>
7323
7324 Some fixes and improvements for desktop frame restoration.
7325 It is still experimental and disabled by default.
7326 * desktop.el (desktop--save-windows): Put the selected frame at
7327 the head of the list.
7328 (desktop--make-full-frame): New function.
7329 (desktop--restore-windows): Try to re-select the frame that was
7330 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7331 just show an error message and continue. Set up maximized frames
7332 so they have default non-maximized dimensions.
a47cbd64 7333
6dbafa30
DG
73342013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7335
ef099a94
MN
7336 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7337 Don't start heredoc inside a string or comment.
6dbafa30 7338
4c672a0f
EZ
73392013-06-29 Eli Zaretskii <eliz@gnu.org>
7340
7341 * bindings.el (visual-order-cursor-movement): New defcustom.
7342 (right-char, left-char): Provide visual-order cursor motion by
7343 calling move-point-visually. Update the doc strings.
7344
50960f36
KH
73452013-06-28 Kenichi Handa <handa@gnu.org>
7346
7347 * international/mule.el (define-coding-system): New coding system
7348 properties :inhibit-null-byte-detection,
7349 :inhibit-iso-escape-detection, and :prefer-utf-8.
7350 (set-buffer-file-coding-system): If :charset-list property of
7351 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7352 appropriate for setting.
7353
c1ea3abf
JB
7354 * international/mule-cmds.el (select-safe-coding-system):
7355 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7356 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7357
7358 * international/mule-conf.el (prefer-utf-8): New coding system.
7359 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7360 files.
7361
75dbaf9d
IK
73622013-06-28 Ivan Kanis <ivan@kanis.fr>
7363
eadb6068
IK
7364 * net/shr.el (shr-render-region): New function.
7365
75dbaf9d
IK
7366 * net/eww.el: Autoload `eww-browse-url'.
7367
9ea5cf9f
DG
73682013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7369
c1ea3abf
JB
7370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7371 Adapt to `package-desc-version' being a list.
7372 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7373 archive element.
7374
39c0e36f
JB
73752013-06-27 Juanma Barranquero <lekktu@gmail.com>
7376
7377 New experimental feature to save&restore window and frame setup.
7378 * desktop.el (desktop-save-windows): New defcustom.
7379 (desktop--saved-states): New var.
7380 (desktop--excluded-frame-parameters): New defconst.
7381 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7382 (desktop--restore-windows, desktop--save-windows): New functions.
7383 (desktop-save): Call `desktop--save-windows'.
7384 (desktop-read): Call `desktop--restore-windows'.
7385
7f13406b
LMI
73862013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387
ef099a94 7388 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7389
1e072639
SB
73902013-06-27 Stephen Berman <stephen.berman@gmx.net>
7391
7392 * info.el (Info-try-follow-nearest-node): Move search for footnote
7393 above search for node name to prevent missing a footnote (bug#14717).
7394
f3e2cbde
SB
73952013-06-27 Stephen Berman <stephen.berman@gmx.net>
7396
7397 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7398
99906aa0
LL
73992013-06-27 Leo Liu <sdl.web@gmail.com>
7400
7401 * net/eww.el (eww-read-bookmarks): Check file size.
7402
539f75f4
SM
74032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7406 advice--pending if newdef is nil or an autoload (bug#13820).
7407 (advice-mapc): New function.
7408
843571cb
LMI
74092013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7410
7411 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7412 probably.
23a75d7f 7413 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7414 (eww-add-bookmark): New command.
7415 (eww-bookmark-mode): New mode and commands.
a285ce99 7416 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7417 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7418
f2136e1e
GM
74192013-06-26 Glenn Morris <rgm@gnu.org>
7420
eab35f39
GM
7421 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7422 (hfy-size): Handle ttys. (Bug#14668)
7423
f2136e1e
GM
7424 * info-xref.el: Update for Texinfo 5 change in *note format.
7425 (info-xref-node-re, info-xref-note-re): New constants.
7426 (info-xref-check-buffer): Use info-xref-note-re.
7427
a49ff80c
SM
74282013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7429
a343d218
SM
7430 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7431
a49ff80c
SM
7432 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7433 nil terminate the loop (bug#14718).
7434
8308f184
LMI
74352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7436
7437 * net/eww.el: Rework history traversal. When going forward/back,
7438 put these actions into the history, too, so that they can be
7439 replayed.
26bf2b82 7440 (eww-render): Move the history reset to the correct buffer.
8308f184 7441
ec64c273
JL
74422013-06-25 Juri Linkov <juri@jurta.org>
7443
7444 * files-x.el (modify-dir-local-variable): Change the header comment
7445 in the file with directory local variables. (Bug#14692)
7446
e080a9d7
JL
7447 * files-x.el (read-file-local-variable-value): Add `default'.
7448 (Bug#14710)
7449
bfbc93a1
IK
74502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451
7452 * net/eww.el (eww-make-unique-file-name): Create a unique file
7453 name before saving to entering `y' accidentally asynchronously.
7454
74552013-06-25 Ivan Kanis <ivan@kanis.fr>
7456
7457 * net/eww.el (eww-download): New command and keystroke.
7458
16f74f10
LMI
74592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460
a49ff80c 7461 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7462
7463 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7464 be more consistent with Info and dired.
7465
7466 * net/eww.el (eww-mode-map): Ditto.
7467
12059709
SM
74682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7471 packages from archives.
7472 (package-archive-contents): Change format; include obsolete packages.
7473 (package-desc): Use `dir' to mark builtin packages.
7474 (package--from-builtin): Set the `dir' field to `builtin'.
7475 (generated-autoload-file, version-control): Declare.
7476 (package-compute-transaction): Change first arg and return value to be
7477 lists of package-descs. Adjust to new package-archive-contents format.
7478 (package--add-to-archive-contents): Adjust to new
7479 package-archive-contents format.
7480 (package-download-transaction): Arg is now a list of package-descs.
7481 (package-install): If `pkg' is a package name, pass it as
7482 a requirement, so it is subject to the usual (e.g. disabled) checks.
7483 (describe-package): Accept package-desc as well.
7484 (describe-package-1): Describe a specific package-desc. Add links to
7485 other package-descs for the same package name.
7486 (package-menu-describe-package): Pass the actual package-desc.
7487 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7488 works correctly.
7489 (package-desc-status): New function.
7490 (package-menu--refresh): New function, extracted
7491 from package-menu--generate.
7492 (package-menu--generate): Use it.
7493 (package-delete): Update package-alist.
7494 (package-menu-execute): Don't call package-initialize.
7495
7496 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7497 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7498 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7499 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7500 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7501 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7502
8bbdea0f
MR
75032013-06-25 Martin Rudalics <rudalics@gmx.at>
7504
7505 * window.el (window--state-get-1): Workaround for bug#14527.
7506 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7507
e82b0991
LMI
75082013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509
7510 * net/eww.el (eww-back-url): Implement the history by stashing all
7511 the data into a list.
d3f0f918 7512 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7513
c763842b
SM
75142013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7517 for values and use read--expression for expressions (bug#14710).
7518 (read-file-local-variable): Avoid setq.
7519 (read-file-local-variable-mode): Use minor-mode-list.
7520
bceff189
RW
75212013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7522
864c58ca 7523 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7524 for DOI URLs.
7525
45f431c6
RW
75262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7527
864c58ca 7528 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7529 Update imenu-support when dialect changes.
7530
f42d8237
LL
75312013-06-25 Leo Liu <sdl.web@gmail.com>
7532
7533 * ido.el (ido-read-internal): Allow forward slash on windows.
7534
be549ce6
LMI
75352013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536
7537 * net/eww.el (eww): Start of strings is \\`, not ^.
7538
71d4c19d
IK
75392013-06-24 Ivan Kanis <ivan@kanis.fr>
7540
5196f88a
IK
7541 * net/shr.el (shr-browse-url): Fix interactive spec.
7542
71d4c19d
IK
7543 * net/eww.el (eww): Add a trailing slash to domain names.
7544
ae36ca55
JB
75452013-06-24 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7548
0ebd92a3
LMI
75492013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7550
bdaa086b
LMI
7551 * net/shr.el (shr-browse-url): Use an external browser if given a
7552 prefix.
7553
c763842b 7554 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7555
b89fc156
IK
75562013-06-24 Ivan Kanis <ivan@kanis.fr>
7557
7558 * net/eww.el (eww): Work more correctly for file: URLs.
7559 (eww-detect-charset): Allow quoted charsets.
7560 (eww-yank-page-url): New command and keystroke.
7561
18eb4bca
DU
75622013-06-24 Daiki Ueno <ueno@gnu.org>
7563
7564 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7565 file name of gpg executable.
7566 (epg-context-program): New function.
7567 (epg-context-home-directory): New function.
7568 (epg-context-set-program): New function.
7569 (epg-context-set-home-directory): New function.
7570 (epg--start): Use `epg-context-program' instead of
7571 'epg-gpg-program'.
7572 (epg--list-keys-1): Likewise.
7573
6c6268c8
LL
75742013-06-24 Leo Liu <sdl.web@gmail.com>
7575
7576 * ido.el (ido-read-internal): Fix bug#14620.
7577
5e400cb3
JB
75782013-06-23 Juanma Barranquero <lekktu@gmail.com>
7579
7580 * faces.el (face-documentation): Simplify.
7581 (read-face-attribute, tty-find-type, x-resolve-font-name):
7582 Use `string-match-p'.
7583 (list-faces-display): Use `string-match-p'. Simplify.
7584 (face-spec-recalc): Check face to avoid face alias loops.
7585 (read-color): Use `string-match-p' and non-capturing parenthesis.
7586
f3f9606c
LMI
75872013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
7589 * net/shr.el (shr-rescale-image): Use the new
7590 :max-width/:max-height functionality.
7591
a3ca09b9
IK
75922013-06-23 Ivan Kanis <ivan@kanis.fr>
7593
7594 * net/eww.el (eww-search-prefix): New variable.
7595 (eww): Use it.
f865b474
IK
7596 (eww-external-browser): New variable.
7597 (eww-mode-map): New keystroke.
7598 (eww-browse-with-external-browser): New command.
a3ca09b9 7599
e854cfc7
IK
7600 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7601
18bb9e21
JB
76022013-06-23 Juanma Barranquero <lekktu@gmail.com>
7603
7604 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7605 Don't skip aligning the next header field when padding is 0;
7606 otherwise, field width is not respected unless the title is as
7607 wide as the field.
7608
5b165ade
SM
76092013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/package.el (package-el-version): Remove.
7612 (package-process-define-package): Fix inf-loop.
7613 (package-install): Allow symbols as arguments again.
7614
12adebe9
DG
76152013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7616
7617 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7618 add some more keyword-like methods.
7619 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7620
388573ee
JB
76212013-06-22 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * bs.el (bs-buffer-show-mark): Make defvar-local.
7624 (bs-mode): Use setq-local.
7625
7626 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7627 (emacs-lock--try-unlocking): Make defvar-local.
7628
4582a01c 76292013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7630
2663dd23
GM
7631 * play/cookie1.el (cookie-apropos): Minor simplification.
7632
3d94f3ad
GM
7633 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7634
f72e2fdb
DG
76352013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7636
7637 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7638 `regexp-opt', it breaks the build during dumping.
7639
73eab938
DG
76402013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7641
c763842b
SM
7642 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7643 Highlight keyword-like methods on Kernel and Module with
73eab938 7644 font-lock-builtin-face.
5cf8176d
DG
7645 (auto-mode-alist): Consolidate different entries into one regexp
7646 and add more *file-s.
73eab938 7647
d26255f6
SB
76482013-06-21 Stephen Berman <stephen.berman@gmx.net>
7649
7650 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7651
7652 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7653 (diary-entry): Use it in the action of this button type instead of
7654 diary-goto-entry.
7655
7656 * calendar/todo-mode.el: New version.
7657 (todo-add-category): Append new category to end of file and give
7658 it the highest number, instead of putting it at the beginning and
7659 giving it 0. Incorporate noninteractive functionality.
7660 (todo-forward-category): Adapt to 1-based category numbering.
7661 Allow skipping over archived categories.
7662 (todo-backward-category): Derive from todo-forward-category.
7663 (todo-backward-item, todo-forward-item): Make noninteractive and
7664 delegate interactive part to new commands. Make sensitive to done items.
7665 (todo-categories): Make value an alist of category names and
7666 vectors of item counts.
7667 (todo-category-beg): Make a defconst.
7668 (todo-category-number): Use 1 instead of 0 as initial value.
7669 (todo-category-select): Make sensitive to overlays, optional item
7670 highlighting and done items.
7671 (todo-delete-item): Make sensitive to overlays and marked and done items.
7672 (todo-edit-item): Make sensitive to overlays and editing of
7673 date/time header optional. Add format checks.
7674 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7675 no-op if point is not on an item. Advertise using todo-edit-quit.
7676 (todo-edit-mode): Make sensitive to new format, font-locking, and
7677 multiple todo files.
7678 (todo-insert-item, todo-insert-item-here): Derive from
7679 todo-basic-insert-item and extend functionality.
7680 (todo-item-end, todo-item-start): Make sensitive to done items.
7681 (todo-item-string): Don't return text properties. Restore point.
7682 (todo-jump-to-category): Make sensitive to multiple todo files and
7683 todo archives. Use extended category completion.
7684 (todo-lower-item, todo-raise-item): Rename to *-priority and
7685 derive from todo-set-item-priority.
7686 (todo-mode): Derive from special-mode. Make sensitive to new
7687 format, font-locking and multiple todo files. Make read-only.
7688 (todo-mode-map): Don't suppress digit keys, so they can supply
7689 prefix arguments. Add many new key bindings.
7690 (todo-prefix): Insert as an overlay instead of file text.
7691 Change semantics from diary date expression to purely visual mark.
7692 (todo-print): Rename to todo-print-buffer. Make buffer display
7693 features printable. Remove option to restrict number of items
7694 printed. Add option to print to file.
7695 (todo-print-function): Rename to todo-print-buffer-function.
7696 (todo-quit): Extend to handle exiting new todo modes.
7697 (todo-remove-item): Make sensitive to overlays.
7698 (todo-save): Extend to buffers of filtered items.
7699 (todo-show): Make sensitive to done items, multiple todo files and
7700 new todo modes. Offer to convert legacy todo file before creating
7701 first new todo file.
7702 (todo-show-priorities): Rename to todo-top-priorities.
7703 Change semantics of value 0.
7704 (todo-top-priorities): Rename to todo-filter-top-priorities,
7705 derive from todo-filter-items and extend functionality.
7706 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7707 and extend functionality to other types of filtered items.
7708 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7709 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7710 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7711 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7712 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7713 (todo-edit-mode-hook, todo-entry-prefix-function)
7714 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7715 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7716 (todo-initials, todo-insert-threshold, todo-item-string-start)
7717 (todo-line-string, todo-menu, todo-mode-hook)
7718 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7719 (todo-print-priorities, todo-remove-separator)
7720 (todo-save-top-priorities-too, todo-string-count-lines)
7721 (todo-string-multiline-p, todo-time-string-format)
7722 (todo-tmp-buffer-name): Remove.
7723 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7724 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7725 (todo-edit-category-diary-inclusion)
7726 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7727 (todo-edit-file, todo-edit-item-date-day)
7728 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7729 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7730 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7731 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7732 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7733 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7734 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7735 (todo-filter-top-priorities-multifile, todo-find-archive)
7736 (todo-find-filtered-items-file, todo-go-to-source-item)
7737 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7738 (todo-jump-to-archive-category, todo-lower-category)
7739 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7740 (todo-move-category, todo-move-item, todo-next-button)
7741 (todo-next-item, todo-padded-string, todo-powerset)
7742 (todo-previous-button, todo-previous-item)
7743 (todo-print-buffer-to-file, todo-raise-category)
7744 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7745 (todo-set-category-number, todo-set-item-priority)
7746 (todo-set-top-priorities-in-category)
7747 (todo-set-top-priorities-in-file, todo-show-categories-table)
7748 (todo-sort-categories-alphabetically-or-numerically)
7749 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7750 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7751 (todo-toggle-item-header, todo-toggle-item-highlighting)
7752 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7753 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7754 (todo-unarchive-items, todo-unmark-category): New commands.
7755 (todo-absolute-file-name, todo-add-to-buffer-list)
7756 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7757 (todo-basic-insert-item, todo-category-completions)
7758 (todo-category-number, todo-category-string-matcher-1)
7759 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7760 (todo-check-format, todo-clear-matches)
7761 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7762 (todo-current-category, todo-date-string-matcher)
7763 (todo-define-insertion-command, todo-diary-expired-matcher)
7764 (todo-diary-goto-entry, todo-diary-item-p)
7765 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7766 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7767 (todo-done-item-section-p, todo-done-separator)
7768 (todo-done-string-matcher, todo-files, todo-filter-items)
7769 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7770 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7771 (todo-insert-category-line, todo-insert-item-from-calendar)
7772 (todo-insert-sort-button, todo-insert-with-overlays)
7773 (todo-insertion-command-name, todo-insertion-key-bindings)
7774 (todo-label-to-key, todo-longest-category-name-length)
7775 (todo-make-categories-list, todo-mode-external-set)
7776 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7777 (todo-modes-set-3, todo-multiple-filter-files)
7778 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7779 (todo-read-category, todo-read-date, todo-read-dayname)
7780 (todo-read-file-name, todo-read-time)
7781 (todo-reevaluate-category-completions-files-defcustom)
7782 (todo-reevaluate-default-file-defcustom)
7783 (todo-reevaluate-filelist-defcustoms)
7784 (todo-reevaluate-filter-files-defcustom)
7785 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7786 (todo-reset-done-separator, todo-reset-done-separator-string)
7787 (todo-reset-done-string, todo-reset-global-current-todo-file)
7788 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7789 (todo-reset-prefix, todo-set-categories)
7790 (todo-set-date-from-calendar, todo-set-show-current-file)
7791 (todo-set-top-priorities, todo-short-file-name)
7792 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7793 (todo-total-item-counts, todo-update-buffer-list)
7794 (todo-update-categories-display, todo-update-categories-sexp)
7795 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7796 New functions.
7797 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7798 New major modes.
7799 (todo-categories, todo-display, todo-edit, todo-faces)
7800 (todo-filtered): New defgroups.
7801 (todo-archived-only, todo-button, todo-category-string, todo-date)
7802 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7803 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7804 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7805 (todo-add-item-if-new-category, todo-always-add-time-string)
7806 (todo-categories-align, todo-categories-archived-label)
7807 (todo-categories-category-label, todo-categories-diary-label)
7808 (todo-categories-done-label, todo-categories-number-separator)
7809 (todo-categories-todo-label, todo-categories-totals-label)
7810 (todo-category-completions-files, todo-completion-ignore-case)
7811 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7812 (todo-done-separator-string, todo-done-string)
7813 (todo-files-function, todo-filter-done-items, todo-filter-files)
7814 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7815 (todo-initial-category, todo-initial-file, todo-item-mark)
7816 (todo-legacy-date-time-regexp, todo-mode-line-function)
7817 (todo-nondiary-marker, todo-number-prefix)
7818 (todo-print-buffer-function, todo-show-current-file)
7819 (todo-show-done-only, todo-show-first, todo-show-with-done)
7820 (todo-skip-archived-categories, todo-top-priorities-overrides)
7821 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7822 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7823 New defcustoms.
7824 (todo-category-done, todo-date-pattern, todo-date-string-start)
7825 (todo-diary-items-buffer, todo-done-string-start)
7826 (todo-filtered-items-buffer, todo-item-start)
7827 (todo-month-abbrev-array, todo-month-name-array)
7828 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7829 (todo-top-priorities-buffer): New defconsts.
7830 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7831 (todo-categories-with-marks, todo-category-string-face)
7832 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7833 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7834 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7835 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7836 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7837 (todo-font-lock-keywords, todo-global-current-todo-file)
7838 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7839 (todo-insertion-commands-args)
7840 (todo-insertion-commands-args-genlist)
7841 (todo-insertion-commands-names, todo-insertion-map)
7842 (todo-key-bindings-t, todo-key-bindings-t+a)
7843 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7844 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7845 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7846 (todo-visited): New variables.
7847
cad5d1cb
GM
78482013-06-21 Glenn Morris <rgm@gnu.org>
7849
7850 * play/cookie1.el (cookie-apropos): Add optional display argument.
7851 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7852 (psychoanalyze-pinhead): Use cookie-doctor.
7853
9e277302
JB
78542013-06-21 Juanma Barranquero <lekktu@gmail.com>
7855
7856 * emacs-lisp/package.el (tar-get-file-descriptor)
7857 (tar--extract): Declare.
7858
c5b0993e
EW
78592013-06-21 Eduard Wiebe <usenet@pusto.de>
7860
7861 Extend flymake's warning predicate to be a function (bug#14217).
7862 * progmodes/flymake.el (flymake-warning-predicate): New.
7863 (flymake-parse-line): Use it.
7864 (flymake-warning-re): Make obsolete alias to
7865 `flymake-warning-predicate'.
7866
a7d2d465
SM
78672013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7870 (package-obsolete-list): Remove.
7871 (package-activate): Remove min-version argument. Add `force' argument.
7872 Adjust to new package-alist format.
7873 (package-mark-obsolete): Remove.
7874 (package-unpack): Force reload of the package's autoloads.
7875 (package-installed-p): Check builtins if the installed package is not
7876 recent enough.
7877 (package-initialize): Don't reset package-obsolete-list.
7878 Don't specify which package version to activate.
7879 (package-process-define-package, describe-package-1)
7880 (package-menu--generate): Adjust to new package-alist format.
7881
cedf5c9d
JB
78822013-06-21 Juanma Barranquero <lekktu@gmail.com>
7883
7884 * allout-widgets.el (allout-widgets-mode-off)
7885 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7886 (allout-widgets-post-command-business)
7887 (allout-widgets-after-copy-or-kill-function)
7888 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7889 (allout-decorate-item-and-context)
7890 (allout-graphics-modification-handler): Fix typos in docstrings.
7891 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7892
7893 * cmuscheme.el (scheme-start-file): Doc fix.
7894 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7895 (scheme-input-filter): Use `string-match-p'.
7896
7897 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7898
7899 * dired-x.el: Use Dired consistently in docstrings.
7900
7901 * dired.el: Use Dired consistently in docstrings.
7902 (dired-readin, dired-mode): Use `setq-local'.
7903 (dired-switches-alist): Make defvar-local.
7904 (dired-buffers-for-dir): Use `zerop'.
7905 (dired-safe-switches-p, dired-switches-escape-p)
7906 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7907 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7908 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7909 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7910 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7911 (dired-toggle-marks, dired-mark-files-containing-regexp)
7912 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7913 (dired-flag-auto-save-files, dired-flag-backup-files):
7914 Use `looking-at-p'.
7915 (dired-mark-files-regexp, dired-build-subdir-alist):
7916 Use `string-match-p', `looking-at-p'.
7917
7918 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7919 (direct-print-region-helper): Use `string-match-p'.
7920
aed838b5
LL
79212013-06-21 Leo Liu <sdl.web@gmail.com>
7922
cedf5c9d
JB
7923 * comint.el (comint-redirect-results-list-from-process):
7924 Fix infinite loop.
aed838b5 7925
d80a808f
LMI
79262013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927
7928 * net/eww.el (eww-update-header-line-format): Quote % characters.
7929
e7a526e3
GM
79302013-06-21 Glenn Morris <rgm@gnu.org>
7931
7932 * play/cookie1.el (cookie): New custom group.
7933 (cookie-file): New option.
7934 (cookie-check-file): New function.
7935 (cookie): Make it interactive. Make start and end messages optional.
7936 Interactively, display the result. Default to cookie-file.
7937 (cookie-insert): Default to cookie-file.
7938 (cookie-snarf): Make start and end messages optional.
7939 Default to cookie-file. Use with-temp-buffer.
7940 (cookie-read): Rename from read-cookie.
7941 Make start and end messages optional. Default to cookie-file.
7942 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7943 Do not autoload it.
e7a526e3
GM
7944 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7945 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7946
62efb35e
LL
79472013-06-21 Leo Liu <sdl.web@gmail.com>
7948
7949 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7950
21e3f963
GM
79512013-06-21 Glenn Morris <rgm@gnu.org>
7952
7953 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7954
fd846ab4
SM
79552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7956 Daniel Hackney <dan@haxney.org>
7957
7958 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7959 Consolidate the single-file vs tarball code.
7960 (package-desc-suffix): New function.
7961 (package-desc-full-name): Don't bother inlining it.
7962 (package-load-descriptor): Return the new package-desc.
7963 (package-mark-obsolete): Remove unused arg `package'.
7964 (package-unpack): Make it work for single files as well.
7965 Make it update package-alist.
7966 (package--make-autoloads-and-stuff): Rename from
7967 package--make-autoloads-and-compile. Don't compile any more.
7968 (package--compile): New function.
7969 (package-generate-description-file): New function, extracted from
7970 package-unpack-single.
7971 (package-unpack-single): Remove.
7972 (package--with-work-buffer): Add indentation and debugging info.
7973 (package-download-single): Remove.
7974 (package-install-from-archive): Rename from package-download-tar, make
7975 it take a pkg-desc, and make it work for single files as well.
7976 (package-download-transaction): Simplify.
7977 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7978 external tar program.
7979 (package-install-from-buffer): Remove `pkg-desc' argument.
7980 Use package-tar-file-info for tar-mode buffers.
7981 (package-install-file): Simplify accordingly.
7982 (package-archive-base): Change to take a pkg-desc.
7983 * tar-mode.el (tar--check-descriptor): New function, extracted from
7984 tar-get-descriptor.
7985 (tar-get-descriptor): Use it.
7986 (tar-get-file-descriptor): New function.
7987 (tar--extract): New function, extracted from tar-extract.
7988 (tar--extract): Use it.
7989 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7990 case the summary uses non-ascii. Adjust to new calling convention of
7991 package-tar-file-info.
7992
b7deae5e
LL
79932013-06-21 Leo Liu <sdl.web@gmail.com>
7994
fd846ab4
SM
7995 * comint.el (comint-redirect-results-list-from-process):
7996 Fix random delay. (Bug#14681)
b7deae5e 7997
7a65a0b2
JB
79982013-06-21 Juanma Barranquero <lekktu@gmail.com>
7999
8000 * profiler.el (profiler-format-number): Use log, not log10.
8001
1493c2af
JB
80022013-06-20 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8005
aff6371e
SM
80062013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8009 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8010 yet available.
8011 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8012 (AUTOGENEL): ... here.
8013 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8014 (cl--defsubst-expand): Use it.
8015
89561f72
PE
80162013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8017
8018 * subr.el (log10): Move here from C code, and declare as obsolete.
8019 All uses of (log10 X) replaced with (log X 10).
8020
47199123
JB
80212013-06-20 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8024 Declare with `defvar-local'.
8025 (tabulated-list-use-header-line, tabulated-list-entries)
8026 (tabulated-list-padding, tabulated-list-printer)
8027 (tabulated-list-sort-key): Declare with `defvar-local'.
8028 (tabulated-list-init-header, tabulated-list-print-fake-header):
8029 Use `setq-local'.
8030
4a172eab
MA
80312013-06-20 Michael Albinus <michael.albinus@gmx.de>
8032
47199123
JB
8033 * arc-mode.el (archive-mode): Add `archive-write-file' to
8034 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8035
5fc0acc0
JB
80362013-06-20 Juanma Barranquero <lekktu@gmail.com>
8037
d5b27848
JB
8038 * cus-edit.el (custom-commands): Fix typos.
8039 (custom-display): Fix tooltip text.
8040 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8041 Fix typos in docstrings.
8042 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8043 (custom-unlispify-menu-entry, custom-magic-value-create)
8044 (custom-add-see-also, custom-group-value-create): Use ?\s.
8045 (custom-guess-type, customize-apropos, editable-field)
8046 (custom-face-value-create): Use `string-match-p'.
8047 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8048
8049 * custom.el (custom-load-symbol): Use `string-match-p'.
8050
a5c581d8
JB
8051 * ansi-color.el: Convert to lexical binding.
8052 (ansi-colors): Fix URL.
8053 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8054 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8055 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8056
970ad972
G
80572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8058
8059 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8060
8061 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8062
80632013-06-19 Tom Tromey <tromey@redhat.com>
8064
8065 * net/eww.el (eww-top-url): Remove.
8066 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8067 (eww-render): Set new variables. Don't set eww-top-url.
8068 (eww-handle-link): Handle "prev", "home", and "contents".
8069 Downcase the rel text.
8070 (eww-top-url): Choose best top URL.
8071
80722013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8075 relying in widget.el. Using widget.el leads to too many
8076 user interface inconsistencies.
8077 (eww-self-insert): Implement entering commands in text fields.
8078 (eww-process-text-input): New function to make text input field editing
8079 work.
8080 (eww-submit): Rewrite to use the new-style form methods.
8081 (eww-select-display): Display the correct selected item.
8082 (eww-change-select): Implement changing the select value.
8083 (eww-toggle-checkbox): Implement radio/checkboxes.
8084 (eww-update-field): Fix compilation error.
8085 (eww-tag-textarea): Implement <textarea>.
8086
8087 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8088 we don't shadow mode-specific bindings.
8089
8090 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8091 nothing to push.
8092
8093 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8094
4582a01c 80952013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8096
8097 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8098
15b263dc
MA
80992013-06-19 Michael Albinus <michael.albinus@gmx.de>
8100
8101 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8102 not needed.
8103
8104 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8105
8f5297f7
LMI
81062013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8107
8108 * net/browse-url.el (browse-url-browser-function):
8109 `eww-browse-url' has the right calling signature, `eww' does not.
8110
011c4552
GM
81112013-06-19 Glenn Morris <rgm@gnu.org>
8112
2285bd27
GM
8113 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8114 Only eval autoloaded macros.
8115 (byte-compile-autoload): Only give the macro warning for macros.
8116
1d653303
GM
8117 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8118 (ps-underlined-faces): Declare.
8119
bdd779ec
GM
8120 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8121 (speedbar-add-supported-extension): Declare.
8122
011c4552
GM
8123 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8124 Don't include a date stamp in the header of the generated file;
8125 it leads to needless differences between output files.
8126
e59dfb0e
MA
81272013-06-19 Michael Albinus <michael.albinus@gmx.de>
8128
c763842b
SM
8129 * net/secrets.el (secrets-struct-secret-content-type):
8130 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8131 Some servers do not offer introspection.
e59dfb0e 8132
102626e2
SM
81332013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * electric.el (electric-pair-mode): Improve interaction with
8136 electric-layout-mode.
8137 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8138 (electric-pair-syntax): Use text-mode-syntax-table in comments
8139 and strings.
8140 (electric-pair--insert): New function.
8141 (electric-pair-post-self-insert-function): Use it and
8142 electric--after-char-pos.
8143
ad528125
LL
81442013-06-19 Leo Liu <sdl.web@gmail.com>
8145
8146 * progmodes/octave.el (octave-help): Fix regexp.
8147
924d6997
G
81482013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
8150 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8151 (shr-table-horizontal-line): Allow nil as a value, and change the
8152 default.
8153 (shr-insert-table-ruler): Respect the nil value.
8154
81552013-06-18 Tom Tromey <tromey@barimba>
8156
8157 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8158 New defvars.
8159 (eww-open-file): New defun.
8160 (eww-render): Initialize new variables.
8161 (eww-display-html): Handle "link" and "a".
8162 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8163 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8164 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8165 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8166 New defuns.
924d6997 8167
d1bbba4f
DG
81682013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8169
8170 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8171 Distinguish ternary operator tokens from slash symbol and slash
8172 char literal.
8173
14dd22d2
JB
81742013-06-18 Juanma Barranquero <lekktu@gmail.com>
8175
8176 Convert symbol prettification into minor mode and global minor mode.
8177
8178 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8179 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8180 (prettify-symbols--keywords): Rename from
8181 `prog-prettify-symbols-alist' and make a local defvar.
8182 (prettify-symbols--compose-symbol): Rename from
8183 `prog--prettify-font-lock-compose-symbol'.
8184 (prettify-symbols--make-keywords): Rename from
8185 `prog-prettify-font-lock-symbols-keywords' and simplify.
8186 (prog-prettify-install): Remove.
8187 (prettify-symbols-mode): New minor mode, based on
8188 `prog-prettify-install'.
8189 (turn-on-prettify-symbols-mode): New function.
8190 (global-prettify-symbols-mode): New globalized minor mode.
8191
8192 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8193 * progmodes/cfengine.el (cfengine3-mode):
8194 * progmodes/perl-mode.el (perl-mode): Don't call
8195 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8196
292c880c
JL
81972013-06-18 Juri Linkov <juri@jurta.org>
8198
8199 * files-x.el (modify-file-local-variable-message): New function.
8200 (modify-file-local-variable)
8201 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8202 and call `modify-file-local-variable-message' when it's non-nil.
8203 (add-file-local-variable, delete-file-local-variable)
8204 (add-file-local-variable-prop-line)
8205 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8206 and use it. (Bug#9820)
8207
0950aa27
JL
82082013-06-18 Juri Linkov <juri@jurta.org>
8209
8210 * emulation/vi.el (vi-shell-op):
8211 * emulation/vip.el (vip-execute-com, ex-command):
8212 * emulation/viper-cmd.el (viper-exec-bang):
8213 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8214 the call of `shell-command-on-region'. (Bug#14637)
8215
8216 * simple.el (shell-command-on-region): Doc fix.
8217
8fbcca16
SM
82182013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8221 (bug#14633).
8222
dd7426ea
GM
82232013-06-18 Glenn Morris <rgm@gnu.org>
8224
4ba54f7d
GM
8225 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8226
dd7426ea
GM
8227 * newcomment.el (comment-search-forward, comment-search-backward):
8228 Doc fix. (Bug#14376)
8229
58aa805b
JB
82302013-06-18 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8233 (buffer-face-mode-invoke): Doc fix.
8234
9a08a617
MM
82352013-06-18 Matthias Meulien <orontee@gmail.com>
8236
8237 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8238 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8239
f2f426ca
GM
82402013-06-18 Glenn Morris <rgm@gnu.org>
8241
9445f99b
GM
8242 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8243 Replace obsolete function generic-make-keywords with its expansion.
8244
e0df2d14
GM
8245 * progmodes/python.el (ffap-alist): Declare.
8246
f2f426ca
GM
8247 * textmodes/reftex.el (bibtex-mode-map): Declare.
8248
f7f9a720
SM
82492013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8252 (package-unpack, package-unpack-single): Return the pkg-dir.
8253 (package-download-transaction): Use it to update package-alist.
8254
57ff04e0
LMI
82552013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8258 possible choice.
8259
c048c022
JL
82602013-06-17 Juri Linkov <juri@jurta.org>
8261
8262 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8263
b5bcaee5
DG
82642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8265
a020afb9
JB
8266 * emacs-lisp/package.el (package-load-descriptor):
8267 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8268 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8269
551e07e5
JB
82702013-06-17 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * startup.el (command-line): Expand package name returned by
8273 `package--description-file' (bug#14639).
8274
d363bffb
DG
82752013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8276
8277 * emacs-lisp/package.el (package-load-descriptor): Do not call
8278 `emacs-lisp-mode', just use its syntax table.
8279
f612933b
JB
82802013-06-17 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8283 `font-lock-extra-managed-props' if any prettifying keyword is added.
8284 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8285 (prog-mode): Use `setq-local'.
8286
db3b7db5
SM
82872013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8288
8289 * international/characters.el (standard-case-table): Set syntax of ?»
8290 and ?« to punctuation.
8291
f3d674df
JB
82922013-06-16 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8295 Save relevant match data before calling `syntax-ppss' (bug#14595).
8296
31489a32
JL
82972013-06-15 Juri Linkov <juri@jurta.org>
8298
8299 * files-x.el (modify-file-local-variable-prop-line): Add local
8300 variables to the end of the existing comment on the first line.
8301 Use `file-auto-mode-skip' to skip interpreter magic line,
8302 and also skip XML declaration.
8303
66bd25ab
SM
83042013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * startup.el (package--builtin-versions): New var.
8307 (package-subdirectory-regexp): Remove.
8308 (package--description-file): Hard code its value instead.
8309
8310 * emacs-lisp/package.el: Don't activate packages older than builtin.
8311 (package-obsolete-list): Rename from package-obsolete-alist, and make
8312 it into a simple list of package-desc.
8313 (package-strip-version): Remove.
8314 (package-built-in-p): Use package--builtin-versions.
8315 (package-mark-obsolete): Simplify.
8316 (package-process-define-package): Mark it obsolete if older than the
8317 builtin version.
8318 (package-handle-response): Use line-end-position.
8319 (package-read-archive-contents, package--download-one-archive):
8320 Simplify.
8321 (package--add-to-archive-contents): Skip if older than the builtin or
8322 installed version.
8323 (package-menu-describe-package): Fix last change.
8324 (package-list-unversioned): New var.
8325 (package-menu--generate): Use it.
8326
8327 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8328 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8329 (autoload-builtin-package-versions): New variable.
8330 (autoload-generate-file-autoloads): Use them.
8331 Remove the list of autoloaded functions/macros from the
8332 (autoload...) comments.
8333
8334 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8335
9583ec36
EZ
83362013-06-15 Eli Zaretskii <eliz@gnu.org>
8337
8338 * simple.el (line-move-partial): Don't jump to the next screen
8339 line as soon as it becomes visible. Instead, continue enlarging
8340 the vscroll until the portion of a tall screen line that's left on
8341 display is about the height of the frame's default font.
8342 (Bug#14567)
8343
f0100d8a
GM
83442013-06-15 Glenn Morris <rgm@gnu.org>
8345
b86a85ca
GM
8346 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8347 compilation-error-regexp-alist void, or local while let-bound.
8348
f0100d8a
GM
8349 * progmodes/make-mode.el (makefile-mode-syntax-table):
8350 Treat "=" as punctuation. (Bug#14614)
8351
05e7ce90
JB
83522013-06-15 Juanma Barranquero <lekktu@gmail.com>
8353
8354 * help-fns.el (describe-variable):
8355 Add extra line for permanent-local variables.
8356
12e5e86e
SH
83572013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8358
8359 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8360 Add export, import, library. (Bug#9164)
8361 (library): Set indent function.
8362
230dcbaf
GM
83632013-06-14 Glenn Morris <rgm@gnu.org>
8364
8365 * term/xterm.el (xterm--query):
8366 Stop after first matching handler. (Bug#14615)
8367
e36b2d20 83682013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8369
8370 Add support for dired in saveplace.
8371 * dired.el (dired-initial-position-hook): New variable.
8372 (dired-initial-position): Call hook to place cursor position.
8373 * saveplace.el (save-place-to-alist): Add dired position.
8374 (save-place-dired-hook): New function.
8375
0b31660d
SM
83762013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8377
bf1e6ae8
SM
8378 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8379 through a symbol rather than letrec.
8380
1b8dff23
SM
8381 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8382 (package-desc): Add `dir' field.
8383 (package-desc-full-name): New function.
8384 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8385 (package-maybe-load-descriptor): Remove.
8386 (package-load-all-descriptors): Just call package-load-descriptor.
8387 (package--disabled-p): New function.
8388 (package-desc-vers, package-desc-doc): Remove aliases.
8389 (package--dir): Remove function.
8390 (package-activate): Check if a package is disabled.
8391 (package-process-define-package): New function, extracted from
8392 define-package.
8393 (define-package): Turn into a place holder.
8394 (package-unpack-single, package-tar-file-info):
8395 Use package--description-file.
8396 (package-compute-transaction): Use package--disabled-p.
8397 (package-download-transaction): Don't call
8398 package-maybe-load-descriptor since they're all loaded anyway.
8399 (package-install): Change argument to be a pkg-desc.
8400 (package-delete): Use a single pkg-desc argument.
8401 (describe-package-1): Use package-desc-dir instead of package--dir.
8402 Use package-desc property instead of package-symbol.
8403 (package-install-button-action): Adjust accordingly.
8404 (package--push): Rewrite.
8405 (package-menu--print-info): Adjust accordingly. Change the ID format
8406 to be a pkg-desc.
8407 (package-menu-describe-package, package-menu-get-status)
8408 (package-menu--find-upgrades, package-menu-mark-upgrades)
8409 (package-menu-execute, package-menu--name-predicate):
8410 Adjust accordingly.
8411 * startup.el (package--description-file): New function.
8412 (command-line): Use it.
8413 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8414 Use package-desc-version.
8415
0b31660d
SM
8416 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8417 (byte-compile-preprocess): Use it.
8418 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8419 can't quite recognize.
8420 (byte-compile-add-to-list): Remove.
8421 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8422 (cconv-closure-convert): Add assertion.
8423
8424 * emacs-lisp/map-ynp.el: Use lexical-binding.
8425 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8426 Factor out some repeated code.
8427
de0503df
SM
84282013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * subr.el (with-eval-after-load): New macro.
8431 (eval-after-load): Allow form to be a function.
8432 take advantage of lexical-binding.
8433 (do-after-load-evaluation): Use dolist and adjust to new format.
8434 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8435
bc5c8c5a
JL
84362013-06-13 Juri Linkov <juri@jurta.org>
8437
8438 * replace.el (perform-replace): Display "symbol " and other search
8439 modes from `isearch-message-prefix' in the *Help* buffer.
8440
8441 * isearch.el (isearch-query-replace): Add " symbol" and other
8442 possible search modes from `isearch-message-prefix' to the prompt.
8443 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8444 when reading a regexp to collect.
8445
a22289f7
JL
84462013-06-13 Juri Linkov <juri@jurta.org>
8447
8448 * isearch.el (word-search-regexp): Match whitespace if the search
8449 string begins or ends in whitespace. The LAX arg is applied to
8450 both ends of the search string. Use `regexp-quote' and explicit
8451 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8452 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8453 boundaries are replaced with symbol boundaries, and characters
8454 between symbols match non-word non-symbol syntax. (Bug#14602)
8455
cb89acab
JL
84562013-06-13 Juri Linkov <juri@jurta.org>
8457
8458 * isearch.el (isearch-del-char): Don't exceed the length of
8459 `isearch-string' by the prefix arg. (Bug#14563)
8460
6e8cfc81
JL
84612013-06-13 Juri Linkov <juri@jurta.org>
8462
8463 * isearch.el (isearch-yank-word, isearch-yank-line)
8464 (isearch-char-by-name, isearch-quote-char)
8465 (isearch-printing-char, isearch-process-search-char):
8466 Add optional count prefix arg. (Bug#14563)
8467
8468 * international/isearch-x.el
8469 (isearch-process-search-multibyte-characters):
8470 Add optional count prefix arg.
8471
c23d55f4
VS
84722013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8475 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8476 lexical-binding.
8477
84782013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8479
8480 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8481
ba947bc4
GM
84822013-06-13 Glenn Morris <rgm@gnu.org>
8483
8baeb37a
GM
8484 * startup.el (tty-handle-args):
8485 Don't just discard "--" and anything after. (Bug#14608)
8486
ba947bc4
GM
8487 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8488
9abefce4
MA
84892013-06-13 Michael Albinus <michael.albinus@gmx.de>
8490
8491 Implement changes in Secret Service API. Make it backward compatible.
8492 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8493 (secrets-create-item): Use it. Prefix properties with interface.
8494
5755011f
MH
84952013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8496
8497 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8498 (term-emulate-terminal): Respect term-suppress-hard-newline.
8499
1261d2da
S
85002013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8501
8502 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8503 Only remove a `thumb-file' overlay. (Bug#14548)
8504
868490bb
GJ
85052013-06-12 Grégoire Jadi <daimrod@gmail.com>
8506
8507 * mail/reporter.el (reporter-submit-bug-report):
8508 Handle missing package-name. (Bug#14600)
8509
79d7167f
TH
85102013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8511
8512 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8513 (reftex-citation-prompt, reftex-default-bibliography)
8514 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8515 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8516 (reftex-bib-sort-author, reftex-bib-sort-year)
8517 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8518 (reftex-extract-bib-entries-from-thebibliography)
8519 (reftex-get-bibkey-default, reftex-get-bib-names)
8520 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8521 (reftex-format-bib-entry, reftex-parse-bibitem)
8522 (reftex-format-bibitem, reftex-do-citation)
8523 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8524 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8525 (reftex-insert-bib-matches, reftex-format-citation)
8526 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8527 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8528 existing comments into docstrings.
8529
5f9dbd7a
XF
85302013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8531
8532 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8533
94df41ab
AS
85342013-06-12 Andreas Schwab <schwab@suse.de>
8535
8536 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8537 for auto-save files.
8538
a7f3fecc
GM
85392013-06-12 Glenn Morris <rgm@gnu.org>
8540
001809f6
GM
8541 * ido.el (ido-delete-ignored-files): Remove.
8542 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8543 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8544
834b5ded
EL
85452013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8546
08c73ed2
EL
8547 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8548
834b5ded
EL
8549 * ido.el (ido-delete-ignored-files): New function,
8550 split from ido-make-file-list-1.
8551 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8552 (ido-make-file-list-1): Use ido-delete-ignored-files.
8553
daabf15a
LL
85542013-06-12 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/octave.el (inferior-octave-startup)
8557 (inferior-octave-completion-table)
8558 (inferior-octave-track-window-width-change)
8559 (octave-eldoc-function-signatures, octave-help)
8560 (octave-find-definition): Use single quoted strings.
8561 (inferior-octave-startup-args): Change default value.
8562 (inferior-octave-startup): Do not hard code "-i" and
8563 "--no-line-editing".
8564 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8565 (inferior-octave-directory-tracker): Use it.
8566 (octave-goto-function-definition): Robustify.
8567 (octave-help): Support highlighting operators in 'See also'.
8568 (octave-find-definition): Find subfunctions only in Octave mode.
8569
cf4e5178
SM
85702013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * help-fns.el (help-fns--compiler-macro): If the handler function is
8573 named, then put a link to it.
8574 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8575 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8576 (cl-typep): Use it.
8577 (cl-eval-when): Simplify debug spec.
8578 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8579 compiler-macro function instead of setting `compiler-macro-file'.
8580
99c81280 85812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8582
8583 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8584 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8585
f56be016
SM
85862013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8587 Daniel Hackney <dan@haxney.org>
8588
8589 First part of Daniel Hackney's patch to package.el.
8590 * emacs-lisp/package.el: Use defstruct.
8591 (package-desc): New, main struct.
8592 (package--bi-desc, package--ac-desc): New structs, used to describe the
8593 format in external files.
8594 (package-desc-vers): Replace with package-desc-version accessor.
8595 (package-desc-doc): Replace with package-desc-summary accessor.
8596 (package-activate-1): Remove `package' arg since the pkg-vec now
8597 includes the name.
8598 (define-package): Use package-desc-from-define.
8599 (package-unpack-single): Change file-name arg to be a symbol.
8600 (package--add-to-archive-contents): Use package-desc-create and new
8601 accessor functions to package--ac-desc.
8602 (package-buffer-info, package-tar-file-info): Return a package-desc.
8603 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8604 arg to be a package-desc.
8605 (package-install-file): Adjust accordingly. Use \' to match EOS.
8606 (package--from-builtin): New function.
8607 (describe-package-1, package-menu--generate): Use it.
8608 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8609 (package-generate-autoloads): Idem and return the name of the file.
8610 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8611 Change pkg-info arg to be a package-desc.
8612 Use package-make-ac-desc.
8613 (package-upload-file): Use \' to match EOS.
8614 * finder.el (finder-compile-keywords): Use package-make-builtin.
8615
31119d63
SM
86162013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8617
931a2762
SM
8618 * vc/vc.el (vc-deduce-fileset): Change error message.
8619 (vc-read-backend): New function.
8620 (vc-next-action): Use it.
8621
5a3eb0c6
SM
8622 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8623
e3eb1bb7
SM
8624 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8625 (prolog-font-lock-keywords): Use regexp-opt instead.
8626 Don't manually highlight strings.
8627 (prolog-mode-variables): Simplify comment-start-skip.
8628 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8629
31119d63
SM
8630 * emacs-lisp/generic.el (generic--normalise-comments)
8631 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8632 (generic-mode-set-comments): Use them.
8633 (generic-bracket-support): Use setq-local.
8634 (generic-make-keywords-list): Declare obsolete.
8635
7de135d0
GM
86362013-06-11 Glenn Morris <rgm@gnu.org>
8637
8638 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8639 Prettify after setting font-lock-defaults. (Bug#14574)
8640
fa6bc6fd
JB
86412013-06-11 Juanma Barranquero <lekktu@gmail.com>
8642
8643 * replace.el (query-replace, occur-read-regexp-defaults-function)
8644 (replace-search):
8645 * subr.el (declare-function, number-sequence, local-set-key)
8646 (substitute-key-definition, locate-user-emacs-file)
8647 (with-silent-modifications, split-string, eval-after-load):
8648 Fix typos, remove unneeded backslashes and reflow some docstrings.
8649
cf1f9b9a
SM
86502013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8653 default for Elisp files.
8654
56602a4b
GM
86552013-06-11 Glenn Morris <rgm@gnu.org>
8656
8657 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8658 although define-derived-mode was doing this anyway. (Bug#14583)
8659
30ae0b2c
JB
86602013-06-10 Juanma Barranquero <lekktu@gmail.com>
8661
8662 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8663 Fix make-variable-buffer-local call to refer to the correct variable.
8664
fa472906
AG
86652013-06-10 Aidan Gauland <aidalgol@amuri.net>
8666
8667 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8668 (eshell-visual-subcommands, eshell-visual-options):
8669 Add summary line to docstrings. Add cross-references.
fa472906 8670
ff4871b9
GM
86712013-06-10 Glenn Morris <rgm@gnu.org>
8672
8673 * epa.el (epa-read-file-name): New function. (Bug#14510)
8674 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8675
04fcf1b0
AG
86762013-06-09 Aidan Gauland <aidalgol@amuri.net>
8677
8678 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8679 output redirection to be ignored with visual commands.
8680
88b00caa
AG
86812013-06-09 Aidan Gauland <aidalgol@amuri.net>
8682
8683 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8684 (eshell-term-initialize): Move long lambda to separate function
8685 eshell-visual-command-p.
e7b41c4c
JB
8686 * eshell/em-dirs.el (eshell-dirs-initialise):
8687 * eshell/em-script.el (eshell-script-initialize):
8688 Add missing #' to lambda.
88b00caa 8689
fda74125
LL
86902013-06-08 Leo Liu <sdl.web@gmail.com>
8691
8692 * progmodes/octave.el (octave-add-log-current-defun): New function.
8693 (octave-mode): Set add-log-current-defun-function.
8694 (octave-goto-function-definition): Do not move point if not found.
8695 (octave-find-definition): Enhance to try subfunctions first.
8696
467f3b33
GM
86972013-06-08 Glenn Morris <rgm@gnu.org>
8698
8699 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8700 (byte-compile-backward-char, byte-compile-backward-word):
8701 Improve previous change, to handle non-explicit nil.
8702
544badc3
SM
87032013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8706 (smie--opener/closer-at-point): New function.
8707 (smie--matching-block-data): Use it. Don't match from right after an
8708 opener or right before a closer. Obey smie-blink-matching-inners.
8709 Don't signal a mismatch for repeated inners like "switch..case..case".
8710
a175bf33
LL
87112013-06-07 Leo Liu <sdl.web@gmail.com>
8712
8713 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8714 to t. (Bug#14303)
ce8209d4
LL
8715 (octave-function-header-regexp): Fix. (Bug#14570)
8716 (octave-help-mode-finish-hook, octave-help-mode-finish):
8717 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8718
8719 * newcomment.el (comment-search-backward): Revert last change.
8720 (Bug#14434)
8721
8722 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8723
a822acff
EZ
87242013-06-07 Eli Zaretskii <eliz@gnu.org>
8725
8726 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8727 through xargs, to avoid failure due to MS-Windows limitations on
8728 command-line length.
8729
961166f5
GM
87302013-06-06 Glenn Morris <rgm@gnu.org>
8731
d0341459
GM
8732 * font-lock.el (lisp-font-lock-keywords-2):
8733 Treat user-error like error.
8734
961166f5
GM
8735 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8736 (byte-compile-backward-char, byte-compile-backward-word):
8737 Handle explicit nil arguments. (Bug#14565)
8738
80fa505f
AM
87392013-06-05 Alan Mackenzie <acm@muc.de>
8740
8741 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8742 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8743 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8744 (Bug#9706)
80fa505f 8745
fccdc796
SM
87462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * autorevert.el (auto-revert-notify-handler): Use memq.
8749 Hide assertion failure.
8750
8751 * skeleton.el: Use cl-lib.
8752 (skeleton-further-elements): Use defvar-local.
8753 (skeleton-insert): Use cl-progv.
8754
9bfff84b
TZ
87552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8756
8757 * progmodes/prog-mode.el (prog-prettify-symbols)
8758 (prog-prettify-install): Update docstrings.
8759
55577e7c
SM
87602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * simple.el: Move all the prog-mode code to prog-mode.el.
8763 * progmodes/prog-mode.el: New file.
8764 * loadup.el: Add prog-mode.el.
8765
8fc57765
TZ
87662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8767
8768 * simple.el (prog-prettify-symbols): Add version.
8769 (prog-prettify-install): Add convenience function to prettify symbols.
8770
8771 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8772 (perl--augmented-font-lock-keywords-1)
8773 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8774 variables and use it.
8775
8776 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8777 (cfengine3-mode): Remove unneeded variable and use it.
8778
8779 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8780 (lisp--augmented-font-lock-keywords-1)
8781 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8782 Remove unneeded variables and use it.
8783
650645d5 87842013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8785
8786 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8787 to point when opening the connection. (Bug#14380)
28f5da6d 8788
781b4af6
SM
87892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * subr.el (load-history-regexp, load-history-filename-element)
8792 (eval-after-load, after-load-functions, do-after-load-evaluation)
8793 (eval-next-after-load, display-delayed-warnings)
8794 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8795 definition of save-match-data.
8796 (overriding-local-map): Remove accidental obsolescence declaration.
8797
8798 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8799
3ca0d0b4
TZ
88002013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8801
8802 Generalize symbol prettify support to prog-mode and implement it
8803 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8804 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8805 (prog--prettify-font-lock-compose-symbol)
8806 (prog-prettify-font-lock-symbols-keywords): New variables and
8807 functions to support symbol prettification.
8808 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8809 (lisp--augmented-font-lock-keywords-1)
8810 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8811 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8812 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8813 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8814 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8815 * progmodes/perl-mode.el (perl-prettify-symbols)
8816 (perl--font-lock-compose-symbol)
8817 (perl--font-lock-symbols-keywords): Move to prog-mode.
8818 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8819 (perl-font-lock-keywords-1)
8820 (perl-font-lock-keywords-2): Remove explicit prettify support.
8821 (perl--augmented-font-lock-keywords)
8822 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8823 (perl--augmented-font-lock-keywords-2, perl-mode):
8824 Implement prettify support.
3ca0d0b4 8825
976cb066
LL
88262013-06-05 Leo Liu <sdl.web@gmail.com>
8827
8828 Re-implement smie matching block highlight using
8829 show-paren-data-function. (Bug#14395)
8830 * emacs-lisp/smie.el (smie-matching-block-highlight)
8831 (smie--highlight-matching-block-overlay)
8832 (smie--highlight-matching-block-lastpos)
8833 (smie-highlight-matching-block)
8834 (smie-highlight-matching-block-mode): Remove.
8835 (smie--matching-block-data-cache): New variable.
8836 (smie--matching-block-data): New function.
8837 (smie-setup): Use smie--matching-block-data for
8838 show-paren-data-function.
8839
8840 * progmodes/octave.el (octave-mode-menu): Fix.
8841 (octave-find-definition): Skip garbage lines.
8842
208d0342
SM
88432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 Fix compilation error with simultaneous dynamic+lexical scoping.
8846 Add warning when a defvar appears after the first let-binding.
8847 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8848 (byte-compile-close-variables): Initialize it.
8849 (byte-compile--declare-var): New function.
8850 (byte-compile-file-form-defvar)
8851 (byte-compile-file-form-define-abbrev-table)
8852 (byte-compile-file-form-custom-declare-variable): Use it.
8853 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8854 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8855 (byte-compile-bind): Handle dynamic bindings that shadow
8856 lexical bindings.
8857 (byte-compile-unbind): Make arg non-optional.
8858 (byte-compile-let): Simplify.
8859 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8860 (cconv--analyse-function, cconv-analyse-form): Populate it.
8861 Protect byte-compile-bound-variables to limit the scope of defvars.
8862 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8863 Remove unneeded rule for `declare'.
8864
8865 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8866 so as to avoid depending on cl-adjoin at run-time.
8867 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8868
8869 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8870 (macroexp--warn-and-return): Use it.
8871
1ac2891e
GM
88722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * lisp/subr.el: Convert to lexical binding.
8875 (overriding-local-map): Make obsolete.
8876 (add-to-list): Doc fix. Add compiler macro.
8877 (read-key): Swap values of local maps.
8878
2587b005
LL
88792013-06-05 Leo Liu <sdl.web@gmail.com>
8880
8881 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8882
f1da3c88
LL
88832013-06-04 Leo Liu <sdl.web@gmail.com>
8884
8885 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8886 (compilation-auto-jump): Suppress the "Mark set" message to give
8887 way to exit message.
8888
3caa391f
AM
88892013-06-04 Alan Mackenzie <acm@muc.de>
8890
8891 Remove faulty optimisation from indentation calculation.
8892 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8893 search limit based on 2000 characters back from indent-point.
8894
068922a2
TH
88952013-06-03 Tassilo Horn <tsdh@gnu.org>
8896
8897 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8898
1f8fdd53
SM
88992013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8900
bbcc4d97
SM
8901 * emacs-lisp/lisp.el: Use lexical-binding.
8902 (lisp--local-variables-1, lisp--local-variables): New functions.
8903 (lisp--local-variables-completion-table): New var.
208d0342 8904 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8905
1f8fdd53
SM
8906 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8907 eagerly (bug#14422).
8908
c9628c79
MA
89092013-06-03 Michael Albinus <michael.albinus@gmx.de>
8910
8911 * autorevert.el (auto-revert-notify-enabled)
8912 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8913 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8914 (auto-revert-notify-handler): Handle also gfilenotify.
8915
e7b41c4c 8916 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8917 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8918 Remove.
c9628c79 8919
e5e4a942
JL
89202013-06-03 Juri Linkov <juri@jurta.org>
8921
8922 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8923 `M-s h .'. (Bug#14427)
8924
8925 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8926 command `hi-lock-face-symbol-at-point'.
8927 (hi-lock-face-symbol-at-point): New command.
8928 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8929 (hi-lock-menu): Add `highlight-symbol-at-point'.
8930 (hi-lock-mode): Doc fix.
8931
8932 * isearch.el (isearch-forward-symbol-at-point): New command.
8933 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8934 (isearch-highlight-regexp): Add a regexp which matches
8935 words/symbols for word/symbol mode.
8936
8937 * subr.el (find-tag-default-bounds): New function with the body
8938 mostly moved from `find-tag-default'.
8939 (find-tag-default): Move most code to `find-tag-default-bounds',
8940 call it and apply `buffer-substring-no-properties' afterwards.
8941
26b3353a
TH
89422013-06-03 Tassilo Horn <tsdh@gnu.org>
8943
781b4af6
SM
8944 * eshell/em-term.el (eshell-term-initialize):
8945 Use `cl-intersection' rather than `intersection'.
26b3353a 8946
51b60f53
XF
89472013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8948
fe054b63 8949 * vc/log-view.el: Doc fix.
d3ffe17c 8950 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8951
a0eb10b3 89522013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8953
8954 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8955 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8956 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8957 (eieio-unbound, eieio-default-superclass)
8958 (eieio--define-field-accessors, method-static, method-before)
8959 (method-primary, method-after, method-num-lists)
8960 (method-generic-before, method-generic-primary)
8961 (method-generic-after, method-num-slots)
8962 (eieio-specialized-key-to-generic-key)
8963 (eieio--check-type, class-v, class-p)
8964 (eieio-class-name, define-obsolete-function-alias)
8965 (eieio-class-parents-fast, eieio-class-children-fast)
8966 (same-class-fast-p, class-constructor, generic-p)
8967 (generic-primary-only-p, generic-primary-only-one-p)
8968 (class-option-assoc, class-option, eieio-object-p)
8969 (class-abstract-p, class-method-invocation-order)
8970 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8971 (eieio-class-un-autoload, eieio-defclass)
8972 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8973 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8974 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8975 (eieio-defgeneric-reset-generic-form)
8976 (eieio-defgeneric-form-primary-only)
8977 (eieio-defgeneric-reset-generic-form-primary-only)
8978 (eieio-defgeneric-form-primary-only-one)
8979 (eieio-defgeneric-reset-generic-form-primary-only-one)
8980 (eieio-unbind-method-implementations)
8981 (eieio--defmethod, eieio--typep)
8982 (eieio-perform-slot-validation, eieio-validate-slot-value)
8983 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8984 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8985 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8986 (eieio-slot-name-index, eieio-class-slot-name-index)
8987 (eieio-set-defaults, eieio-initarg-to-attribute)
8988 (eieio-attribute-to-initarg, eieio-c3-candidate)
8989 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8990 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8991 (eieio-class-precedence-list, eieio-generic-call-methodname)
8992 (eieio-generic-call-arglst, eieio-generic-call-key)
8993 (eieio-generic-call-next-method-list)
8994 (eieio-pre-method-execution-functions, eieio-generic-call)
8995 (eieio-generic-call-primary-only, eieiomt-method-list)
8996 (eieiomt-optimizing-obarray, eieiomt-install)
8997 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8998 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8999 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9000 (defclass): Remove `eval-and-compile' from macro.
9001 (call-next-method, shared-initialize): Instead of using
9002 `scoped-class' variable, use new eieio--scoped-class, and
9003 eieio--with-scoped-class.
9004 (initialize-instance): Rename local variable 'scoped-class' to
9005 'this-class' to remove ambiguitity from old global.
9006
9007 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9008 eieio.el.
4f405069
JB
9009 (eieio--scoped-class-stack): New variable.
9010 (eieio--scoped-class): New fcn.
890f7890
DE
9011 (eieio--with-scoped-class): New scoping macro.
9012 (eieio-defclass): Use pushnew instead of add-to-list.
9013 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9014 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9015 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9016 `scoped-class' variable, use new eieio--scoped-class, and
9017 eieio--with-scoped-class.
9018
9019 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9020
d105b0e2
TH
90212013-06-02 Tassilo Horn <tsdh@gnu.org>
9022
9023 * eshell/esh-ext.el (eshell-external-command): Pass args to
9024 `eshell-find-interpreter'.
9025 (eshell-find-interpreter): Add new second parameter ARGS.
9026
9027 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9028 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9029
9030 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9031 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9032
9033 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9034 (eshell-visual-options): New defcustom.
9035 (eshell-escape-control-x): Adapt docstring.
9036 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9037 `eshell-visual-options' in addition to `eshell-visual-commands'.
9038 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9039
f46305c8 90402013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9041
9042 * progmodes/python.el (python-indent-block-enders): Add break,
9043 continue and raise keywords.
9044
d870df21
GM
90452013-06-01 Glenn Morris <rgm@gnu.org>
9046
9133b82e
GM
9047 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9048
02c992ec 9049 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9050 * progmodes/cc-cmds.el (delete-forward-p):
9051 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9052 * progmodes/cc-engine.el (buffer-syntactic-context):
9053 * progmodes/cc-fonts.el (face-property-instance):
9054 * progmodes/cc-mode.el (set-keymap-parents):
9055 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9056 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9057 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9058 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9059 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9060
31e7b090
GM
9061 * progmodes/cc-vars.el (other): Emacs has this widget since
9062 at least 21.1, so don't (re)define it.
9063
d870df21
GM
9064 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9065 Replace the obsolete alias pcomplete-arg-quote-list.
9066
c75c93c7
LL
90672013-06-01 Leo Liu <sdl.web@gmail.com>
9068
9069 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9070 punctuation syntax.
9071 (inferior-octave-minimal-columns)
9072 (inferior-octave-last-column-width): New variables.
9073 (inferior-octave-track-window-width-change): New function.
9074 (inferior-octave-mode): Adjust column width so that Octave output,
9075 for example from 'ls', can fit into the window nicely.
9076
973d1e12
DG
90772013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9078
9079 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9080 Highlight expansions inside regexp literals.
9081
0888c286
GM
90822013-05-31 Glenn Morris <rgm@gnu.org>
9083
e26aac1f
GM
9084 * obsolete/sym-comp.el (symbol-complete):
9085 Replace obsolete completion-annotate-function.
9086
0888c286
GM
9087 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9088
19bb8e62
DG
90892013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9090
781b4af6
SM
9091 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9092 New function, checks if point is inside a literal that allows
19bb8e62
DG
9093 expression expansion.
9094 (ruby-syntax-propertize-expansion): Use it.
9095 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9096 around the body.
9097
01dea85f
JL
90982013-05-30 Juri Linkov <juri@jurta.org>
9099
9100 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9101 to "\M-si".
9102 (isearch-invisible): New variable.
9103 (isearch-forward): Doc fix.
9104 (isearch-mode): Set `isearch-invisible'
9105 to the value of `search-invisible'.
9106 (isearch-toggle-case-fold): Doc fix.
9107 (isearch-toggle-invisible): New command.
9108 (isearch-query-replace): Let-bind `search-invisible'
9109 to the value of `isearch-invisible'.
9110 (isearch-search): Use `isearch-invisible' instead of
9111 `search-invisible'. Let-bind `search-invisible'
9112 to the value of `isearch-invisible'. (Bug#11378)
9113
ab1bdce5
JL
91142013-05-30 Juri Linkov <juri@jurta.org>
9115
9116 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9117 call when `query-flag' is nil and `search-invisible' is non-nil.
9118 (Bug#11746)
9119
d6d236e2
GM
91202013-05-30 Glenn Morris <rgm@gnu.org>
9121
8accd027
GM
9122 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9123
2a8bed1c
GM
9124 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9125 (cc-require): Suppress spurious "noruntime" warnings.
9126 (cc-require-when-compile): Use fboundp, for sake of compiler.
9127
d6d236e2
GM
9128 * progmodes/cc-mode.el: Move load of cc-vars before that of
9129 cc-langs (which in turn loads cc-vars), to quieten compiler.
9130
9190b35b
SM
91312013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * paren.el: Simplify the code.
9134 (show-paren-mode): Always start the timer.
9135 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9136 (show-paren--overlay, show-paren--overlay-1): Rename from
9137 show-paren-overlay and show-paren-overlay-1, and initialize to an
9138 overlay rather than to nil.
9139 (show-paren-function): Misc cleanup and simplifications.
9140
4f8d1cf6
SM
91412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * paren.el (show-paren-data-function): New hook.
9144 (show-paren--default): New function, extracted from show-paren-function.
9145 (show-paren-function): Use show-paren-data-function.
9146
02d844b5
GM
91472013-05-30 Glenn Morris <rgm@gnu.org>
9148
d209d4a9
GM
9149 * ielm.el (ielm-map, ielm-complete-symbol):
9150 Use completion-at-point rather than obsolete functions.
9151 (inferior-emacs-lisp-mode): Doc fix.
9152 Set completion-at-point-functions, rather than
9153 comint-dynamic-complete-functions.
9154
2082faa6
GM
9155 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9156 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9157 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9158
dd8620de
GM
9159 * image.el (image-animated-p): Tweak definition.
9160
ceca95b1
GM
9161 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9162 (rlogin-process-connection-type): Tweak default. Add set-after.
9163 (rlogin-host): Doc fix.
9164 (rlogin): Tweak prompt.
9165 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9166
ee9f1acc
GM
9167 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9168 * progmodes/tcl.el (inferior-tcl-mode-map):
9169 Use completion-at-point rather than obsolete alias.
9170
45ce222e
GM
9171 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9172
02d844b5
GM
9173 * minibuffer.el (read-file-name-completion-ignore-case):
9174 Move before completion--in-region, for eager macro expansion.
9175
ac44d6c1
JL
91762013-05-29 Juri Linkov <juri@jurta.org>
9177
9178 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9179 for total count of matching lines. Add `global-matches' for total
9180 count of matches. Rename `matches' to `lines' for count of
9181 matching lines. Add `matches' for count of matches.
9182 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9183 to `prev-line' for line number of prev match endpt.
9184 Increment `matches' for every match. Print the number of
9185 matching lines in the header.
9186 (occur-context-lines): Rename `lines' to `curr-line'.
9187 Rename `prev-lines' to `prev-line'. (Bug#14017)
9188
3c9c9d38
JL
91892013-05-29 Juri Linkov <juri@jurta.org>
9190
9191 * replace.el (perform-replace): Add `skip-read-only-count',
9192 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9193 Increment them for corresponding conditions and report the number
9194 of skipped occurrences in the final message. (Bug#11746)
9195 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9196 (replace-string, replace-regexp): Doc fix.
9197
33e249a2
SM
91982013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9199
8e399682
SM
9200 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9201
33e249a2 9202 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9203 prog-mode-map (bug#14504).
33e249a2 9204
f236dd84
LL
92052013-05-29 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9208 (octave-help): Small simplification.
9209
9210 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9211 off the highlight first.
9212
3694d13f
GM
92132013-05-29 Glenn Morris <rgm@gnu.org>
9214
03983bdc
GM
9215 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9216 Handle idlwave-last-system-routine-info-cons-cell being nil.
9217
bc74a74a
GM
9218 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9219 (idlwave-write-paths): Simplify via with-temp-buffer.
9220
8b394200
GM
9221 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9222 * emulation/cua-rect.el: Also load cua-base at run time.
9223
3694d13f
GM
9224 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9225 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9226 (cperl-imenu-on-info): Require imenu.
9227
336d7284
AM
92282013-05-28 Alan Mackenzie <acm@muc.de>
9229
9230 Handle "capitalised keywords" correctly.
33e249a2 9231 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9232
cb29c582
AG
92332013-05-28 Aidan Gauland <aidalgol@amuri.net>
9234
781b4af6 9235 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9236
690e44b2
GM
92372013-05-28 Glenn Morris <rgm@gnu.org>
9238
e658d75c
GM
9239 * vc/vc-arch.el (vc-exec-after): Declare.
9240 (vc-switches): Autoload.
9241 * vc/vc-bzr.el: No need to require vc when compiling.
9242 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9243 (vc-resynch-buffer, vc-dir-refresh): Declare.
9244 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9245 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9246 (vc-resynch-buffer): Declare.
9247 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9248 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9249 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9250 (grep-read-regexp, grep-read-files, grep-expand-template)
9251 (vc-dir-refresh): Declare.
9252 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9253 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9254 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9255 * vc/vc-mtn.el (vc-exec-after): Declare.
9256 (vc-switches): Autoload.
9257 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9258 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9259 (vc-file-tree-walk): Declare.
712b9732
GM
9260 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9261 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9262 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9263 * vc/vc-svn.el (vc-exec-after): Declare.
9264 (vc-switches, vc-setup-buffer): Autoload.
9265 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9266 Autoload.
9267 (vc-resynch-buffer): Declare.
9268
98e87fb3
GM
9269 * obsolete/fast-lock.el (byte-compile-warnings):
9270 Don't warn about obsolete features in this obsolete file.
9271
f5379553
GM
9272 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9273 Move definition before use.
9274
7a20ef83
GM
9275 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9276 (dun-unix-verbs): Remove dun-zippy.
9277 (dun-zippy): Remove function.
9278
690e44b2
GM
9279 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9280
3a52ccf7
JL
92812013-05-27 Juri Linkov <juri@jurta.org>
9282
9283 * replace.el (replace-search): New function with code moved out
9284 from `perform-replace'.
9285 (replace-highlight, replace-dehighlight): Move function definitions
9286 up closer to `replace-search'. (Bug#11746)
9287
d289938a
JL
92882013-05-27 Juri Linkov <juri@jurta.org>
9289
9290 * replace.el (perform-replace): Ignore invisible matches.
9291 In addition to checking `query-replace-skip-read-only', also
9292 filter out matches by calling `run-hook-with-args-until-failure'
9293 on `isearch-filter-predicates', and also check `search-invisible'
9294 for t or call `isearch-range-invisible'.
9295 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9296
66fc57e3
JL
92972013-05-27 Juri Linkov <juri@jurta.org>
9298
9299 * isearch.el (isearch-filter-predicates): Rename from
9300 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9301 (isearch-message-prefix): Display text from the property
9302 `isearch-message-prefix' of the currently active filters.
9303 (isearch-search): Don't compare `isearch-filter-predicate' with
9304 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9305 on `isearch-filter-predicates'. Also check `search-invisible' for t
9306 or call `isearch-range-invisible'.
9307 (isearch-filter-visible): Make obsolete.
9308 (isearch-lazy-highlight-search):
9309 Call `run-hook-with-args-until-failure' on
9310 `isearch-filter-predicates' and use `isearch-range-invisible'.
9311
9312 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9313 `isearch-filter-predicates' instead of `funcall'ing
9314 `isearch-filter-predicate'.
9315 (Info-mode): Set `Info-isearch-filter' to
9316 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9317
9318 * dired-aux.el (dired-isearch-filter-predicate-orig):
9319 Remove variable.
9320 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9321 (dired-isearch-filenames-end): Add and remove
9322 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9323 instead of changing the value of `isearch-filter-predicate'.
9324 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9325 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9326 Put property `isearch-message-prefix' to "filename " on
9327 `dired-isearch-filter-filenames'.
9328
9329 * wdired.el (wdired-change-to-wdired-mode):
9330 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9331 locally instead of changing `isearch-filter-predicate'.
9332 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9333
f1a60a0f
DG
93342013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9335
9336 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9337 return the commit hash (Bug#14459). Also set the
9338 `vc-git-detached' property.
9339 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9340 (vc-git-mode-line-string): Use the same help-echo format whether
9341 in detached mode or not, because we know the actual revision now.
9342 When in detached mode, shorten the revision to 7 chars.
9343
7f17cc40
SM
93442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9345
9346 * emacs-lisp/easy-mmode.el (define-minor-mode):
9347 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9348 mode hook and provide a docstring.
9349
25c8401c
AM
93502013-05-27 Alan Mackenzie <acm@muc.de>
9351
9352 Remove spurious syntax-table text properties inserted by C-y.
9353 * progmodes/cc-mode.el (c-after-change): Also clear hard
9354 syntax-table property with value nil.
9355
dde84790
MA
93562013-05-27 Michael Albinus <michael.albinus@gmx.de>
9357
9358 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9359 when reading the events; the buffer layout shall not be changed.
9360
837fd9af
LL
93612013-05-27 Leo Liu <sdl.web@gmail.com>
9362
9363 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9364 New variable.
9365 (inferior-octave-directory-tracker): Automatically re-sync
9366 default-directory.
9367 (octave-help): Improve handling of 'See also'.
9368
4fd996b3
SM
93692013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9370
416f1802
SM
9371 * doc-view.el: Minor naming convention tweaks.
9372 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9373
4fd996b3
SM
9374 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9375 even if there's no `display' property yet (bug#14435).
9376
a052ef3b
EZ
93772013-05-25 Eli Zaretskii <eliz@gnu.org>
9378
4fd996b3 9379 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9380
9381 * Makefile.in (custom-deps, finder-data, autoloads)
9382 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9383 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9384 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9385
c9023370
SM
93862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9389 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9390 Don't burp at EOB.
c9023370 9391
24d699fa
LL
93922013-05-25 Leo Liu <sdl.web@gmail.com>
9393
9394 * comint.el (comint-previous-matching-input): Do not flood the
9395 *Messages* buffer with trivial messages.
9396
17e5c0cc
SM
93972013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * progmodes/flymake.el (flymake-nop): Don't return a string.
9400 (flymake-set-at): Fix typo.
9401
9402 * simple.el (read--expression): New function, extracted from
9403 eval-expression. Set completion-at-point-functions (bug#14465).
9404 (eval-expression, eval-minibuffer): Use it.
9405
5d028165
XF
94062013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9407
9408 * progmodes/flymake.el (flymake-save-buffer-in-file)
9409 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9410 (flymake-selected-frame, flymake-log, flymake-ins-after)
9411 (flymake-set-at, flymake-get-buildfile-from-cache)
9412 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9413 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9414 Refine the doc string.
9415 (flymake-get-file-name-mode-and-masks): Reformat.
9416 (flymake-get-real-file-name-function): Fix a minor bug.
9417
7a1d7ba7
JL
94182013-05-24 Juri Linkov <juri@jurta.org>
9419
9420 * progmodes/grep.el (grep-mode-font-lock-keywords):
9421 Support =linenumber= format used by git-grep for lines with
9422 function names. (Bug#13549)
9423
650cff3d
SM
94242013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9425
9426 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9427 0 after a semi-colon; it works better for smie-auto-fill.
9428 (octave--indent-new-comment-line): New function.
9429 (octave-indent-new-comment-line): Use it (indirectly).
9430 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9431 modify comment-line-break-function.
9432
9433 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9434 (smie-setup): Use add-function to set it.
9435
9631677d
SS
94362013-05-24 Sam Steingold <sds@gnu.org>
9437
9438 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9439 argument (before the `interactive' argument).
9440
50105835
SM
94412013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * image-mode.el (image-mode-winprops): Add winprops to
9444 image-mode-winprops-alist before running
9445 image-mode-new-window-functions.
9446 * doc-view.el (doc-view-new-window-function): Don't delay
9447 doc-view-goto-page via timers (bug#14435).
9448
57b9823e
TH
94492013-05-24 Tassilo Horn <tsdh@gnu.org>
9450
9451 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9452 (doc-view-desktop-save-buffer): New function.
9453 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9454 (desktop-buffer-mode-handlers):
9455 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9456 handler.
9457 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9458 `desktop-save-buffer' function.
9459
91aafa16
MA
94602013-05-24 Michael Albinus <michael.albinus@gmx.de>
9461
9462 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9463 (tramp-gvfs-file-name-handler): Raise a user error when
9464 `tramp-gvfs-enabled' is nil.
9465 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9466 Do not raise a user error when loading package. (Bug#14447)
9467
ec076379
MA
9468 * net/xesam.el: Move to obsolete/.
9469
db785726
GM
94702013-05-24 Glenn Morris <rgm@gnu.org>
9471
af5c7606
GM
9472 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9473
e5d1916a
GM
9474 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9475
ded62b08
GM
9476 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9477 (Info-find-node, Man-getpage-in-background): Declare.
9478
9e614a3f
GM
9479 * mail/unrmail.el (unrmail):
9480 Replace obsolete detect-coding-with-priority.
9481
892f8ca3
GM
9482 * net/socks.el (socks-split-string): Use this rather than split-string.
9483 (socks-nslookup-host): Update for above change.
9484 (dynamic-choice, s5-dynamic-choice-match)
9485 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9486 Comment out unused code.
9487
3c291973
GM
9488 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9489 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9490 (gud-tooltip-echo-area): Make obsolete.
9491 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9492
43cc956b
GM
9493 * progmodes/js.el (js--optimize-arglist): Declare.
9494
dab49a3b
GM
9495 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9496
36b9d085
GM
9497 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9498 (ediff-window-C): Declare.
9499
e354ae76
GM
9500 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9501 Tweak requires to silence compiler.
9502
b8e57bf4
GM
9503 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9504 (he-search-string, he-tried-table, he-expand-list)
9505 (he-init-string, he-string-member, he-substitute-string)
9506 (he-reset-string): Declare.
9507
db785726
GM
9508 * obsolete/options.el (list-options): Use custom-variable-p,
9509 rather than obsolete alias.
9510
b3531901
SS
95112013-05-23 Sam Steingold <sds@gnu.org>
9512
9513 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9514 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9515 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9516
bdda4c66
SM
95172013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/smie.el (smie-indent-forward-token)
9520 (smie-indent-backward-token): Handle string tokens (bug#14381).
9521
c43d45f9
TH
95222013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9523
fe1eb856
RS
9524 * ielm.el (ielm-menu): New menu.
9525 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9526
fe1eb856
RS
95272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9528
9529 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9530 Fix deactivate action.
9531
9532 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9533 Add cleveref macros.
074dd971 9534
c43d45f9
TH
9535 * lisp/textmodes/reftex-parse.el
9536 (reftex-locate-bibliography-files): Accept options for
9537 bibliography commands.
9538 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9539 Add addbibresource. Basic Biblatex support.
9540
7764286e
MA
95412013-05-23 Michael Albinus <michael.albinus@gmx.de>
9542
9543 * net/tramp-gvfs.el (top):
9544 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9545 when loading package. (Bug#14447)
9546
d361bc10
GM
95472013-05-23 Glenn Morris <rgm@gnu.org>
9548
8fa23984
GM
9549 * progmodes/js.el: No need to load comint when compiling.
9550 (ring-insert, comint-send-string, comint-send-input)
9551 (comint-last-input-end, ido-chop): Declare.
9552
a5c7df1a
GM
9553 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9554 * vc/ediff-mult.el: Adjust requires.
9555 (ediff-directories-internal, ediff-directory-revisions-internal)
9556 (ediff-patch-file-internal): Declare.
9557 * vc/ediff-ptch.el: Adjust requires.
9558 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9559 (ediff-find-file): Autoload.
9560 * vc/ediff-util.el: No need to load ediff when compiling.
9561 (ediff-regions-internal): Declare.
9562 * vc/ediff-wind.el: Adjust requires.
9563 (ediff-compute-toolbar-width): Define when compiling.
9564 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9565 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9566 (dired-get-filename, dired-get-marked-files)
9567 (ediff-last-dir-patch, ediff-patch-default-directory)
9568 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9569 (ediff-patch-buffer-internal): Declare.
9570
e2aec513
GM
9571 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9572 (ispell-process, ispell-buffer-local-words, lm-summary)
9573 (lm-section-start, lm-section-end): Declare.
9574 (checkdoc-ispell-init): Simplify.
9575
e68bbd7c
GM
9576 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9577 (he-string-member, he-reset-string, he-substitute-string): Declare.
9578
7efe0991
GM
9579 * eshell/em-ls.el: Adjust requires.
9580 (eshell-glob-regexp): Declare.
f87b1284
GM
9581 * eshell/em-tramp.el: Adjust requires.
9582 (eshell-parse-command): Autoload.
9583 * eshell/em-xtra.el: Adjust requires.
9584 (eshell-parse-command): Autoload.
9585 * eshell/esh-ext.el: Adjust requires.
9586 (eshell-parse-command, eshell-close-handles): Autoload.
9587 * eshell/esh-io.el: Adjust requires.
9588 (eshell-output-filter): Autoload.
9589 * eshell/esh-util.el: No need to load tramp when compiling.
9590 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9591 Declare.
9592 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9593 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9594 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9595 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9596 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9597 * eshell/esh-opt.el, eshell/esh-proc.el:
9598 * eshell/esh-var.el: Adjust requires.
9599 * eshell/eshell.el: Do not require esh-util twice.
9600 (eshell-add-input-to-history): Declare.
9601 (eshell-command): Check history module is active before using it.
9602
d361bc10
GM
9603 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9604
85d090a9
LL
96052013-05-22 Leo Liu <sdl.web@gmail.com>
9606
9607 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9608
5d0acd9d
MA
96092013-05-22 Michael Albinus <michael.albinus@gmx.de>
9610
9611 * autorevert.el (auto-revert-notify-add-watch)
9612 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9613 it indicates changes in file modification time.
9614
0cdffd7d
GM
96152013-05-22 Glenn Morris <rgm@gnu.org>
9616
ca5995ec
GM
9617 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9618 Always delete the autoloaded function from the noruntime and
9619 unresolved functions lists.
9620
6450907e
GM
9621 * allout.el: No need to load epa, epg, overlay when compiling.
9622 (epg-context-set-passphrase-callback, epg-list-keys)
9623 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9624 (epg-key-user-id-list): Declare.
9625
9c6906f6
GM
9626 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9627 (viper-set-parsing-style-toggling-macro)
9628 (viper-set-emacs-state-searchstyle-macros):
9629 Use called-interactively-p on Emacs.
9630 (viper-looking-back): Make it an obsolete alias. Update callers.
9631 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9632 Use looking-back rather than viper-looking-back.
9633 (viper-tmp-insert-at-eob, viper-enlarge-region)
9634 (viper-read-string-with-history, viper-register-to-point)
9635 (viper-append-to-register, viper-change-state-to-vi)
9636 (viper-backward-char-carefully, viper-forward-char-carefully)
9637 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9638 (viper-change-state-to-emacs): Declare.
9639 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9640 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9641 * emulation/viper-mous.el: Do not load viper-cmd.
9642 (viper-backward-char-carefully, viper-forward-char-carefully)
9643 (viper-forward-word, viper-adjust-window): Declare.
9644
5f70c169
GM
9645 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9646
b1b7f300
GM
9647 * progmodes/idlw-help.el (idlwave-help-fontify):
9648 Use called-interactively-p.
9649
f6ebbb46
GM
9650 * term/w32console.el (w32-get-console-codepage)
9651 (w32-get-console-output-codepage): Declare.
9652
0cdffd7d
GM
9653 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9654 Remove unnecessary declarations.
9655 (dframe-message): Doc fix.
9656
9657 * info.el (dframe-select-attached-frame, dframe-current-frame):
9658 Declare.
9659
9660 * speedbar.el (speedbar-message): Make it an obsolete alias.
9661 Update all callers.
9662 (speedbar-with-attached-buffer)
9663 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9664 (speedbar-with-writable): Use backquote.
9665 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9666 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9667 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9668 rather than speedbar- aliases.
9669 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9670 (speedbar-make-specialized-keymap, speedbar-insert-button)
9671 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9672 (speedbar-do-function-pointer): Declare.
9673 (rmail-speedbar-button, rmail-speedbar-find-file)
9674 (rmail-speedbar-move-message):
9675 Use dframe-with-attached-buffer rather than speedbar- alias.
9676 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9677 (dframe-message, speedbar-make-specialized-keymap)
9678 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9679 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9680 (speedbar-insert-button, dframe-select-attached-frame)
9681 (dframe-maybee-jump-to-attached-frame)
9682 (speedbar-change-initial-expansion-list)
9683 (speedbar-previously-used-expansion-list-name): Declare.
9684 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9685 Use dframe-message, dframe-with-attached-buffer rather than
9686 speedbar- aliases.
9687 (gud-sentinel): Silence compiler.
9688 * progmodes/vhdl-mode.el (speedbar-refresh)
9689 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9690 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9691 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9692 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9693 (speedbar-file-lists, speedbar-make-tag-line)
9694 (speedbar-line-directory, speedbar-goto-this-file)
9695 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9696 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9697 (speedbar-make-button, speedbar-reset-scanners)
9698 (speedbar-files-item-info, speedbar-line-text)
9699 (speedbar-find-file-in-frame, speedbar-set-timer)
9700 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9701 (speedbar-with-writable): Do not (re)define it.
9702 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9703 rather than speedbar- alias.
9704
ee44b62a
LL
97052013-05-21 Leo Liu <sdl.web@gmail.com>
9706
9707 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9708 menu items.
9709 (octave-mode): Tweak fill-nobreak-predicate.
9710 (inferior-octave-startup): Check process to avoid infinite loop.
9711 (inferior-octave): Pop to buffer first to show abornmal process
9712 exit information.
9713
640f050f
GM
97142013-05-21 Glenn Morris <rgm@gnu.org>
9715
79458038
GM
9716 * printing.el (pr-menu-bar): Define when compiling.
9717
9cc3e83f
LL
97182013-05-21 Leo Liu <sdl.web@gmail.com>
9719
9720 * progmodes/octave.el (octave-auto-fill): Remove.
9721 (octave-indent-new-comment-line): Improve.
9722 (octave-mode): Use auto fill mode through
4f405069 9723 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9724 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9725 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9726 (octave-help): Show parent directory.
9727
f440830d
GM
97282013-05-21 Glenn Morris <rgm@gnu.org>
9729
9730 * files.el (dired-unmark):
9731 * progmodes/gud.el (gdb-input): Update declarations.
9732
9733 * calculator.el (electric, ehelp): No need to load when compiling.
9734 (Electric-command-loop, electric-describe-mode): Declare.
9735
9736 * doc-view.el (doc-view-current-converter-processes): Move before use.
9737
9738 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9739 Move MODE-set-explicitly definition before use.
9740
9741 * international/mule-diag.el (mule-diag):
9742 Don't use obsolete window-system-version.
9743
9744 * mail/feedmail.el (smtpmail): No need to load when compiling.
9745 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9746
9747 * mail/mail-utils.el (rfc822): No need to load when compiling.
9748 (rfc822-addresses): Autoload it.
9749 (mail-strip-quoted-names): Trivial simplification.
9750
9751 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9752 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9753
9754 * net/snmp-mode.el (tempo): Don't duplicate requires.
9755
9756 * progmodes/prolog.el (info): No need to load when compiling.
9757 (comint): Require before shell requires it.
9758 (Info-goto-node): Autoload it.
9759 (Info-follow-nearest-node): Declare.
9760 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9761
9762 * textmodes/artist.el (picture-mode-exit): Declare.
9763
9764 * textmodes/reftex-parse.el (reftex-parse-from-file):
9765 Trivial rewrite so the compiler can parse it better.
9766
b4da2cbb
LL
97672013-05-20 Leo Liu <sdl.web@gmail.com>
9768
9769 * progmodes/octave.el (octave-help-mode-map)
9770 (octave-help-mode-finish-hook): New variables.
9771 (octave-help-mode, octave-help-mode-finish): New functions.
9772 (octave-help): Use octave-help-mode.
9773
33c0f65b
GM
97742013-05-20 Glenn Morris <rgm@gnu.org>
9775
9776 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9777
1a0a0a8a
DG
97782013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9779
9780 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9781 start at point, so that expansion starting right after opening
9782 slash in a regexp is recognized.
9783 (ruby-syntax-before-regexp-re): New defvar, extracted from
9784 ruby-syntax-propertize-function. Since the value of this regexp
9785 is looked up at runtime now, we should be able to turn
9786 `ruby-syntax-methods-before-regexp' into a defcustom later.
9787 (ruby-syntax-propertize-function): Split regexp matching into two
9788 parts, for opening and closing slashes. That allows us to skip
9789 over string interpolations and support multiline regexps.
9790 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9791 for them, which calls `ruby-syntax-propertize-expansion'.
9792 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9793 call to `ruby-syntax-propertize-function'.
9794 (ruby-syntax-propertize-expansion): Extracted from
9795 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9796 (ruby-syntax-propertize-percent-literal): Leave point right after
9797 the percent symbol, so that the expression expansion rule can
9798 propertize the contents.
462388b6
DG
9799 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9800 heredoc openers.
9801 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9802
c1a6c0a4
JL
98032013-05-18 Juri Linkov <juri@jurta.org>
9804
9805 * man.el (Man-default-man-entry): Remove `-' from the end
9806 of the default value. (Bug#14400)
9807
8051fccd
GM
98082013-05-18 Glenn Morris <rgm@gnu.org>
9809
9810 * comint.el (comint-password-prompt-regexp):
9811 Allow "password for XXX" where XXX contains colons (eg https://...).
9812
5e80b74f
LL
98132013-05-18 Leo Liu <sdl.web@gmail.com>
9814
9815 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9816 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9817 (octave-source-directories): Don't check process.
9818 (octave-source-directories, octave-find-definition): Doc fix.
9819
521a54c5
GM
98202013-05-18 Glenn Morris <rgm@gnu.org>
9821
86a94b05
GM
9822 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9823 Remove backspace/delete bindings. (Bug#14392)
9824
521a54c5
GM
9825 * cus-dep.el (custom-make-dependencies): Sort the output.
9826 (custom-versions-load-alist): Convert comment to doc.
9827
42caeb89
LL
98282013-05-17 Leo Liu <sdl.web@gmail.com>
9829
9830 * newcomment.el (comment-search-backward): Stricter in finding
9831 comment start. (Bug#14303)
9832
9833 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9834 (octave-comment-start-skip): Properly anchored.
9835
e219dd97
LL
98362013-05-17 Leo Liu <sdl.web@gmail.com>
9837
fe1eb856
RS
9838 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9839 Clean up when turned off. (Bug#14395)
e219dd97
LL
9840 (smie--highlight-matching-block-overlay): No longer buffer-local.
9841 (smie-highlight-matching-block): Adjust.
9842
dc5dcb4b
PE
98432013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9844
9845 Doc string fix for "nanoseconds" (Bug#14406).
9846 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9847 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9848
1db165f0
JB
98492013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9850
9851 * calc/calc-units.el (math-extract-units): Preserve powers
9852 of units.
9853
c7a8fcac
LL
98542013-05-17 Leo Liu <sdl.web@gmail.com>
9855
9856 * subr.el (delete-consecutive-dups): New function.
9857 * ido.el (ido-set-matches-1): Use it.
9858 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9859 * ido.el (ido-remove-consecutive-dups): Remove.
9860
f678b18a
SM
98612013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9864 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9865 regexp-opt's `words'.
9866
ebfe68e8
LL
98672013-05-16 Leo Liu <sdl.web@gmail.com>
9868
9869 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9870 (smie--highlight-matching-block-overlay)
9871 (smie--highlight-matching-block-lastpos)
9872 (smie--highlight-matching-block-timer): New variables.
9873 (smie-highlight-matching-block): New function.
9874 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9875 (smie-setup): Conditionally enable smie-blink-matching-open.
9876
bc8bc17d
WS
98772013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9878
9879 Sync with upstream verilog-mode r840.
9880 * progmodes/verilog-mode.el (verilog-mode-version)
9881 (verilog-mode-release-date): Update.
9882 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9883 (verilog-sig-tieoff): Fix string error on
9884 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9885 (verilog-read-decls): Fix parameters confusing
9886 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9887
df065a0b
EZ
98882013-05-16 Eli Zaretskii <eliz@gnu.org>
9889
9890 * subr.el (reveal-filename): New function.
9891
9892 * loadup.el: Compute Emacs executable versions on MS-Windows,
9893 where executables have the .exe extension. Add a hard link
9894 emacs-XX.YY.ZZ.exe on MS-Windows.
9895
9896 * Makefile.in (XARGS_LIMIT): New variable.
9897 (custom-deps, finder-data, autoloads)
9898 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9899 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9900 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9901 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9902
2d4bf34b
LL
99032013-05-16 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9906 (octave-mode-menu, octave-mode-map): Remove its uses.
9907
6b9c2d85
RZ
99082013-05-16 Reto Zimmermann <reto@gnu.org>
9909
9910 Sync with upstream vhdl mode v3.34.2.
9911 * progmodes/vhdl-mode.el: Use `push' throughout.
9912 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9913 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9914 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9915 (vhdl-actual-generic-name): New option to derive actual generic name.
9916 (vhdl-port-paste-signals): Replace formal by actual generics.
9917 (vhdl-beautify): New name for old group vhdl-align. Update users.
9918 (vhdl-beautify-options): New option.
9919 (vhdl-last-input-event): New compat alias. Use throughout.
9920 (vhdl-goto-line): Replace user level function `goto-line'.
9921 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9922 vhdl-fix-statement-buffer.
9923 (vhdl-create-mode-menu): Add some entries.
9924 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9925 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9926 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9927 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9928 to force statements on one line.
9929 (vhdl-remove-trailing-spaces-region):
9930 New, split from vhdl-remove-trailing-spaces.
9931 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9932 Respect vhdl-beautify-options.
9933 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9934 (vhdl-update-sensitivity-list): Not add with index if exists without.
9935 Not include array index with signal. Ignore keywords in comments.
9936 (vhdl-get-visible-signals): Regexp tweaks.
9937 (vhdl-template-component-inst): Handle empty library.
9938 (vhdl-template-type): Add template for 'enum' type.
9939 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9940 Use vhdl-replace-string.
9941 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9942 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9943 (vhdl-speedbar-initialize): Update for above name change.
9944 (vhdl-compose-wire-components): Fix in handling of constants.
9945 (vhdl-error-regexp-emacs-alist): New variable.
9946 (vhdl-error-regexp-add-emacs): New function;
9947 adds support for new compile.el (Emacs 22+)
9948 (vhdl-generate-makefile-1): Change target order for single lib. units.
9949 Allow use of absolute file names.
9950
9df4ec5e
LL
99512013-05-16 Leo Liu <sdl.web@gmail.com>
9952
9953 * simple.el (prog-indent-sexp): Indent enclosing defun.
9954
f5ba00a6
GM
99552013-05-15 Glenn Morris <rgm@gnu.org>
9956
ed8be7ff
GM
9957 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9958 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9959 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9960 (whitespace-highlight): Move to whitespace group.
9961
9962 * comint.el (comint-source):
9963 * pcmpl-linux.el (pcmpl-linux):
9964 * shell.el (shell-faces):
9965 * eshell/esh-opt.el (eshell-opt):
9966 * international/ccl.el (ccl): Remove empty custom groups.
9967
9968 * completion.el (dynamic-completion-mode):
9969 * jit-lock.el (jit-lock-debug-mode):
9970 * minibuffer.el (completion-in-region-mode):
9971 * type-break.el (type-break-mode-line-message-mode)
9972 (type-break-query-mode):
9973 * emulation/tpu-edt.el (tpu-edt-mode):
9974 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9975 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9976 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9977
9978 * term/xterm.el (xterm): Change parent group to terminals.
9979
9980 * master.el (master): Remove empty custom group.
9981 (master-mode): Remove unused :group argument.
9982 * textmodes/refill.el (refill): Remove empty custom group.
9983 (refill-mode): Remove unused :group argument.
9984
9985 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9986
82a7c41b
GM
9987 * cus-dep.el: Provide a feature.
9988 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9989 Don't mistakenly ignore files whose basenames match a basename
9990 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9991 Add a fallback method for getting :group.
f5ba00a6 9992
6d65486d
JL
99932013-05-15 Juri Linkov <juri@jurta.org>
9994
da547b32
JL
9995 * isearch.el (isearch-char-by-name): Rename from
9996 `isearch-insert-char-by-name'. Doc fix.
9997 (isearch-forward): Mention `isearch-char-by-name' in
9998 the docstring. (Bug#13348)
9999
6d65486d
JL
10000 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10001 `exit-minibuffer' instead of
10002 `isearch-nonincremental-exit-minibuffer'.
10003 (isearch-edit-string): Remove mention of
10004 `isearch-nonincremental-exit-minibuffer' from docstring.
10005 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10006 (isearch-forward-exit-minibuffer)
10007 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10008
c9990474
SM
100092013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10010
6e911150
SM
10011 * loadup.el: Just use unversioned DOC.
10012
c9990474
SM
10013 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10014 literals as extending to EOB.
10015 (nxml-last-fontify-end): Remove unused variable.
10016 (nxml-after-change1): Use with-silent-modifications.
10017 (nxml-extend-after-change-region): Simplify.
10018 (nxml-extend-after-change-region1): Remove function.
10019 (nxml-after-change1): Don't adjust for dependent regions.
10020 (nxml-fontify-matcher): Simplify.
10021 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10022 (xmltok-add-dependent): Remove function.
10023 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10024 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10025 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10026 unclosed <[[, <?, comment, and other literals as extending to EOB.
10027 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10028 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10029 Remove functions.
10030 (rng-do-some-validation-1): Don't mark dependent regions.
10031 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10032 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10033 (nxml-clear-dependent-regions): Remove functions.
10034 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10035 (nxml-ensure-scan-up-to-date):
10036 Don't clear&mark dependent regions.
10037
e3772e98
LL
100382013-05-15 Leo Liu <sdl.web@gmail.com>
10039
c9990474
SM
10040 * progmodes/octave.el (octave-goto-function-definition):
10041 Improve and fix callers.
e3772e98 10042
5ac2eb34
SM
100432013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10044
c46c57b0
SM
10045 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10046 the setter (bug#14387).
10047
5ac2eb34
SM
10048 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10049 surrounding group (bug#14402).
10050
180ed218
JL
100512013-05-14 Juri Linkov <juri@jurta.org>
10052
10053 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10054 (Bug#14390)
10055
0ac0fecb
GM
100562013-05-14 Glenn Morris <rgm@gnu.org>
10057
10058 * progmodes/f90.el (f90-imenu-generic-expression):
10059 Fix typo in 2013-05-08 change. (Bug#14402)
10060
2e78e6a7
JPG
100612013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10062
5ac2eb34
SM
10063 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10064 Remove signals for which replies are never received.
2e78e6a7 10065
53267cca
JPG
100662013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10067
10068 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10069 (gdb-handler-alist, gdb-handler-number): Remove variables.
10070 (gdb-handler-list): New variable.
10071 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10072 (gdb-pending-handler-p, gdb-handle-reply)
10073 (gdb-remove-all-pending-triggers): New functions.
10074 (gdb-discard-unordered-replies): New defcustom.
10075 (gdb-handler): New defstruct.
10076 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10077 instead of gdb-pending-triggers. Update docstring.
10078 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10079 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10080 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10081 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10082 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10083 (gdb-frame-handler): Pending triggers are now automatically managed.
10084 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10085 Remove argument.
10086 (gdb-input): Automatically handles pending triggers. Update docstring.
10087 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10088 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10089 Update comments.
10090 (gdb-done-or-error): Now use gdb-handle-reply.
10091
d04ce803
JPG
100922013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10093
10094 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10095 gdb-debug-log.
10096
0114073a
GM
100972013-05-14 Glenn Morris <rgm@gnu.org>
10098
10099 * subr.el (user-emacs-directory-warning): New option.
10100 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10101
4d25fd7e
LL
101022013-05-14 Leo Liu <sdl.web@gmail.com>
10103
10104 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10105 during redisplay.
10106 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10107 (octave-font-lock-texinfo-comment): Fix invalid search bound
10108 error: wrong side of point.
4d25fd7e 10109
27c8b6eb
GM
101102013-05-14 Glenn Morris <rgm@gnu.org>
10111
61aaeb01
GM
10112 * progmodes/flymake.el (flymake-xml-program): New option.
10113 (flymake-xml-init): Use it.
10114
5bf90bc5
GM
10115 * term/xterm.el: Provide a feature.
10116
10117 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10118
f4c7dfd2
GM
101192013-05-13 Glenn Morris <rgm@gnu.org>
10120
10121 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10122 Add compat aliases as a hack workaround. (Bug#14384)
10123
2aeb3a1d
LL
101242013-05-13 Leo Liu <sdl.web@gmail.com>
10125
b0e069c2
LL
10126 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10127 ###, and %!.
f5a9432f
LL
10128 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10129 C-M-q.
b0e069c2
LL
10130 (octave-comment-start-skip): Include %!.
10131 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10132
30ea8374
LL
101332013-05-12 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/octave.el (inferior-octave-startup): Store the value
10136 of __octave_srcdir__ for octave-source-directories.
10137 (inferior-octave-check-process): New function refactored out of
10138 inferior-octave-send-list-and-digest.
10139 (octave-source-directories)
10140 (octave-find-definition-filename-function): New variables.
10141 (octave-source-directories)
10142 (octave-find-definition-default-filename): New functions.
10143 (octave-find-definition): Improve to find functions implemented in C++.
10144
472a3834
GM
101452013-05-12 Glenn Morris <rgm@gnu.org>
10146
10147 * calendar/diary-lib.el (diary-outlook-format-1):
10148 Don't include dayname in the output. (Bug#14349)
10149
3191b52f
GM
101502013-05-11 Glenn Morris <rgm@gnu.org>
10151
0060ac73
GM
10152 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10153
3191b52f
GM
10154 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10155 Treat cc-provide like provide.
10156
e065ba74
KR
101572013-05-11 Kevin Ryde <user42@zip.com.au>
10158
10159 * cus-dep.el (custom-make-dependencies):
10160 Use generated-autoload-load-name for the sake of files such
10161 such cedet/semantic/bovine/c.el, where the base file name
10162 is not in load-path. (Bug#5277)
10163
36f84c37
GM
101642013-05-11 Glenn Morris <rgm@gnu.org>
10165
10166 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10167 Provide features.
10168
c8730c3a
LL
101692013-05-11 Leo Liu <sdl.web@gmail.com>
10170
10171 * progmodes/octave.el (octave-indent-comment): Improve.
10172 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10173 (octave-eldoc-function-signatures, octave-eldoc-function):
10174 New functions.
c8730c3a
LL
10175 (octave-mode, inferior-octave-mode): Add eldoc support.
10176
212e29f2
RS
101772013-05-11 Richard Stallman <rms@gnu.org>
10178
10179 * epa.el (epa-decrypt-file): Take output file name as argument
10180 and read it using `interactive'.
10181
083fe0d7
LL
101822013-05-11 Leo Liu <sdl.web@gmail.com>
10183
10184 * progmodes/octave.el (octave-beginning-of-line)
10185 (octave-end-of-line): Check before using up-list because it jumps
10186 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10187 (octave-indent-comment): New function.
10188 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10189 (octave-begin-keywords, octave-end-keywords)
10190 (octave-reserved-words, octave-smie-bnf-table)
10191 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10192
8582e4c4
GM
101932013-05-11 Glenn Morris <rgm@gnu.org>
10194
f20def1f
GM
10195 * faces.el (internal-face-x-get-resource):
10196 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10197 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10198 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10199 Fix declarations.
f20def1f 10200
445f95e2
GM
10201 * calc/calc-menu.el: Make it loadable in isolation.
10202
10203 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10204 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10205 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10206 (eudc-bbdb-query-internal): Require 'bbdb.
10207
99fb2756
GM
10208 * lpr.el (lpr-headers-switches):
10209 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10210
10211 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10212
0da7ad96
GM
10213 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10214
8582e4c4
GM
10215 * term.el (term-set-escape-char): Make it idempotent.
10216
f71c50d0
LL
102172013-05-10 Leo Liu <sdl.web@gmail.com>
10218
5ac2eb34
SM
10219 * progmodes/octave.el (inferior-octave-completion-table):
10220 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10221 completion due to bug#11906.
10222 (octave-beginning-of-defun): Re-write to be more general.
10223
d5837773
GM
102242013-05-10 Glenn Morris <rgm@gnu.org>
10225
10226 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10227
027c0f75
SM
102282013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * comint.el (comint-redirect-send-command-to-process): Use :around
10231 rather than :override for comint-redirect-filter.
10232 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10233 Call it instead of comint-redirect-original-filter-function (which
10234 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10235
4465bfb4
JD
102362013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10237
10238 * frame.el (display-monitor-attributes-list): Add NS case.
10239 (ns-display-monitor-attributes-list): Declare.
10240
2d809ffa 102412013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10242
10243 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10244
e54eeb9b
GM
102452013-05-09 Glenn Morris <rgm@gnu.org>
10246
56cd351d
GM
10247 * international/fontset.el (vertical-centering-font-regexp):
10248 Set standard-value.
10249
d84b6108
GM
10250 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10251
a931698a
GM
10252 * bookmark.el (bookmark-search-delay):
10253 * cus-start.el (vertical-centering-font-regexp):
10254 * ps-mule.el (ps-mule-font-info-database-default):
10255 * ps-print.el (ps-default-fg, ps-default-bg):
10256 * type-break.el (type-break-good-break-interval):
10257 * whitespace.el (whitespace-indentation-regexp)
10258 (whitespace-space-after-tab-regexp):
10259 * emacs-lisp/testcover.el (testcover-1value-functions)
10260 (testcover-noreturn-functions, testcover-progn-functions)
10261 (testcover-prog1-functions):
10262 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10263 * eshell/em-glob.el (eshell-glob-translate-alist):
10264 * play/tetris.el (tetris-tty-colors):
10265 * progmodes/cpp.el (cpp-face-default-list):
10266 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10267 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10268 (idlwave-help-browser-generic-args):
10269 * progmodes/make-mode.el (makefile-special-targets-list):
10270 * progmodes/python.el (python-shell-virtualenv-path):
10271 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10272 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10273 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10274 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10275 * textmodes/reftex-vars.el (reftex-format-label-function):
10276 * textmodes/remember.el (remember-diary-file): Fix custom types.
10277
e54eeb9b
GM
10278 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10279 Add :version.
10280
455851dd
LL
102812013-05-09 Leo Liu <sdl.web@gmail.com>
10282
10283 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10284 Restore file completion. (Bug#14300)
455851dd
LL
10285 (inferior-octave-startup): Fix incorrect highlighting for the
10286 first prompt.
10287
a9e4425b
SM
102882013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * progmodes/ruby-mode.el: First cut at SMIE support.
10291 (ruby-use-smie): New var.
10292 (ruby-smie-grammar): New constant.
10293 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10294 (ruby-smie--forward-token, ruby-smie--backward-token)
10295 (ruby-smie-rules): New functions.
10296 (ruby-mode-variables): Setup SMIE if applicable.
10297
060ca408
EZ
102982013-05-08 Eli Zaretskii <eliz@gnu.org>
10299
10300 * simple.el (line-move-visual): Signal beginning/end of buffer
10301 only if vertical-motion moved less than it was requested. Avoids
10302 silly incorrect error messages when there are display strings with
10303 multiple newlines at EOL.
10304
1d5963cc
SM
103052013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10308 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10309 (prolog-char-quote-workaround):
10310 * progmodes/cperl-mode.el (cperl-under-as-char):
10311 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10312 Mark as obsolete.
10313 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10314 their declaration.
10315 (vhdl-mode-syntax-table-init): Remove.
10316
c9990474
SM
10317 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10318 last change.
1d5963cc
SM
10319
10320 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10321 syntax for "_".
10322 (ld-script-font-lock-keywords):
10323 Change regexps to use things like \_< and \_>.
10324
10325 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10326 Change all regexps to use things like \_< and \_>.
10327
10328 * progmodes/autoconf.el (autoconf-definition-regexp)
10329 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10330 Handle a _ with symbol syntax.
10331 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10332
c9990474
SM
10333 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10334 Consolidate declaration.
1d5963cc
SM
10335 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10336 the declaration.
10337 (ada-create-syntax-table): Remove.
10338 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10339 already has the right syntax nowadays.
10340 (ada-goto-next-word): Don't change the syntax of "_".
10341
10342 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10343 with-wrapper-hook.
10344
72d3cfca
SS
103452013-05-08 Sam Steingold <sds@gnu.org>
10346
10347 * thingatpt.el (thing-at-point): Accept optional second argument
10348 NO-PROPERTIES to strip the text properties from the return value.
10349 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10350 to `thing-at-point' instead of stripping the properties ourselves.
10351 Also, when `thing-at-point' fails to find a url, prepend "http://"
10352 to the filename at point on the assumption that the user is
10353 pointing at something like gnu.org/gnu.
10354
5cb15713
JB
103552013-05-08 Juanma Barranquero <lekktu@gmail.com>
10356
10357 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10358 * faces.el (crm-separator):
10359 Silence byte-compiler.
10360
10361 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10362 (tool-bar-map): Remove unneeded defvars.
10363
ea78b95b
LL
103642013-05-08 Leo Liu <sdl.web@gmail.com>
10365
10366 Re-work a fix for bug#10994 based on Le Wang's patch.
10367 * ido.el (ido-remove-consecutive-dups): New helper.
10368 (ido-completing-read): Use it.
10369 (ido-chop): Revert fix for bug#10994.
10370
dc7466df
AS
103712013-05-08 Adam Spiers <emacs@adamspiers.org>
10372
10373 * cus-edit.el (custom-save-variables):
10374 Pretty-print long values. (Bug#14187)
10375
9ecf672a
GM
103762013-05-08 Glenn Morris <rgm@gnu.org>
10377
10378 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10379 (m4-mode-syntax-table): Init in the defvar.
10380 (m4-mode-abbrev-table): Let define-derived-mode define it.
10381
3f555be8
TT
103822013-05-08 Tom Tromey <tromey@redhat.com>
10383
10384 * progmodes/m4-mode.el (m4-mode-syntax-table):
10385 Do not treat "_" as word constituent. (Bug#14167)
10386
7cc8ae06
GM
103872013-05-07 Glenn Morris <rgm@gnu.org>
10388
4f58bc06
GM
10389 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10390 Remove explicit eshell-isearch-cancel-map.
10391
7cc8ae06
GM
10392 * progmodes/f90.el (f90-smart-end-names): New option.
10393 (f90-smart-end): Doc fix.
10394 (f90-end-block-optional-name): New constant.
10395 (f90-block-match): Respect f90-smart-end-names.
10396
ceb57e59
SM
103972013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10400 about implicit semi-colons (bug#14218).
10401
4e3f9230
YM
104022013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10403
10404 * frame.el (display-monitor-attributes-list)
10405 (frame-monitor-attributes): New functions.
10406
203a5572
LL
104072013-05-06 Leo Liu <sdl.web@gmail.com>
10408
10409 * progmodes/octave.el (octave-syntax-propertize-function): Change
10410 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10411 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10412 (octave-completion-at-point): Rename from
203a5572
LL
10413 octave-completion-at-point-function.
10414 (inferior-octave-directory-tracker): Robustify.
10415 (octave-text-functions): Remove and fix its uses. No such things
10416 any more.
10417
ee6cff99
SM
104182013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * emacs-lisp/trace.el (trace--display-buffer): New function.
10421 (trace-make-advice): Use it.
10422
32985194
JL
104232013-05-06 Juri Linkov <juri@jurta.org>
10424
10425 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10426 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10427 Doc fix.
10428 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10429 in the help string. (Bug#12985)
10430
a1c700de
KD
104312013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10432
10433 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10434
c67c0839
SM
104352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10436
323885fd
SM
10437 * progmodes/perl-mode.el: Add support for here documents.
10438 (perl-syntax-propertize-function): Match here-doc markers.
10439 (perl-syntax-propertize-special-constructs): Find their end.
10440 (perl-imenu-generic-expression): Use [:alnum:].
10441
c67c0839
SM
10442 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10443 (advice--add-function): Refresh the advice if already present
10444 (bug#14317).
10445
d491e7a8
IA
104462013-05-06 Ivan Andrus <darthandrus@gmail.com>
10447
10448 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10449
ddf9925e
GM
104502013-05-06 Glenn Morris <rgm@gnu.org>
10451
7cc3af27
GM
10452 * w32-fns.el (w32-charset-info-alist): Declare.
10453
16e343d6
GM
10454 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10455 of its defcustom properties.
10456 (eshell-cmpl-initialize): No need to load pcomplete.
10457
7d889a47
GM
10458 * generic-x.el: No need to require comint when compiling.
10459
ddf9925e
GM
10460 * net/eudc-export.el: Make it loadable without bbdb.
10461 (top-level): Use require rather than load-library.
10462 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10463 (eudc-batch-export-records-to-bbdb)
10464 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10465 Require bbdb.
10466
1e2c18df
SM
104672013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10470 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10471 some tweaks, instead.
10472
02502a5f
LL
104732013-05-05 Leo Liu <sdl.web@gmail.com>
10474
10475 * progmodes/octave.el (octave-font-lock-keywords)
10476 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10477 (inferior-octave-send-list-and-digest): Improve error message.
10478 (octave-mode, inferior-octave-mode): Use setq-local.
10479 (octave-help): Set info-lookup-mode.
10480
0dc04f42
RS
104812013-05-05 Richard Stallman <rms@gnu.org>
10482
6c54491c
RS
10483 * vc/compare-w.el (compare-windows-whitespace):
10484 Treat no-break space as whitespace.
10485
0dc04f42
RS
10486 * mail/rmailsum.el (rmail-summary-rmail-update):
10487 Detect empty summary and don't change selected message.
10488 (rmail-summary-goto-msg): Likewise.
10489
df8f35df
RS
10490 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10491 Doc fixes, rename args.
10492
5356e1a3
AM
104932013-05-05 Alan Mackenzie <acm@muc.de>
10494
10495 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10496
d44014cb
JL
104972013-05-05 Juri Linkov <juri@jurta.org>
10498
10499 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10500 to not add the length of the summary segment to the return value.
10501 (Bug#14125)
10502
c129b51f
LL
105032013-05-05 Leo Liu <sdl.web@gmail.com>
10504
10505 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10506 (inferior-octave-output-filter): Remove.
10507 (octave-send-region, inferior-octave-startup): Fix callers.
10508 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10509 (octave-binary-file-extensions): New user variable.
10510 (octave-find-definition): Confirm if opening binary files.
10511 (octave-help-file): Use octave-find-definition to get the binary
10512 confirmation.
10513 (octave-help): Adjust for octave-help-file change.
10514
aa7dab97
SM
105152013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10518 Merge the two entries that handle function definitions.
10519 (pascal--syntax-propertize): New const.
10520 (pascal-mode): Use it. Use setq-local.
10521
fd3a9a6b
GM
105222013-05-04 Glenn Morris <rgm@gnu.org>
10523
10524 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10525 (diary-from-outlook): Respect diary-from-outlook-function.
10526
30c7e542
SM
105272013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10530 Move the declaration from C.
10531 (read-minibuffer, eval-minibuffer): Move from C.
10532 (completion-setup-function): Avoid minibuffer-completion-contents.
10533
b54f978b
LL
105342013-05-03 Leo Liu <sdl.web@gmail.com>
10535
10536 * progmodes/octave.el (octave-font-lock-keywords): Do not
10537 dehighlight 'end' in comments or strings.
30c7e542
SM
10538 (octave-completing-read, octave-goto-function-definition):
10539 New helpers.
d4d0f9b3
LL
10540 (octave-help-buffer): New user variable.
10541 (octave-help-file, octave-help-function): New button types.
10542 (octave-help): New command and bind it to C-h ;.
10543 (octave-find-definition): New command and bind it to M-.
d74a1581 10544 (user-error): Alias to error if not defined.
b54f978b 10545
27135018
LL
105462013-05-02 Leo Liu <sdl.web@gmail.com>
10547
10548 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10549 for \. (bug#14332)
10550 (octave-font-lock-keywords): Include [ and {.
10551
0d634d3a
LL
105522013-05-02 Leo Liu <sdl.web@gmail.com>
10553
10554 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10555 (inferior-octave): Remove calling comint-mode and return the buffer.
10556 (inferior-octave-startup): Cosmetic changes.
10557
b4c8295e
LL
105582013-05-02 Leo Liu <sdl.web@gmail.com>
10559
30c7e542
SM
10560 * progmodes/octave.el (octave-syntax-propertize-function):
10561 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10562
f12ad6ec
GM
105632013-05-02 Glenn Morris <rgm@gnu.org>
10564
10565 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10566 * desktop.el (vc-dir-mode): Just autoload it here.
10567
30cac1e0
AM
105682013-05-02 Alan Mackenzie <acm@muc.de>
10569
10570 Eliminate variable c-standard-font-lock-fontify-region-function.
10571 * progmodes/cc-mode.el
10572 (c-standard-font-lock-fontify-region-function): Remove.
10573 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10574
d8ef28b1
LL
105752013-05-01 Leo Liu <sdl.web@gmail.com>
10576
2640d52e 10577 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10578 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10579 variables were removed from Octave in 2007.
d8ef28b1
LL
10580 (inferior-octave-startup): Fix uses.
10581 (comint-line-beginning-position): Remove compatibility code for
10582 emacs 21.
10583
ac63ec89
JL
105842013-05-01 Juri Linkov <juri@jurta.org>
10585
10586 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10587
9e9be37c
JL
105882013-05-01 Juri Linkov <juri@jurta.org>
10589
10590 * comint.el (comint-previous-matching-input): Don't print message
10591 "History item: %d" when `isearch-mode' is active.
10592 (comint-history-isearch-message): Print message "History item: %d"
10593 when `comint-input-ring-index' is not empty and this function is
10594 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10595
9b92c13b
LL
105962013-05-01 Leo Liu <sdl.web@gmail.com>
10597
10598 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10599 definitions. Use completion-at-point to insert keywords.
10600 (octave-abbrev-start): Remove.
10601 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10602
b12d33d7
LL
106032013-04-30 Leo Liu <sdl.web@gmail.com>
10604
10605 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10606 change.
10607
3d1c39fa
AM
106082013-04-30 Alan Mackenzie <acm@muc.de>
10609
10610 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10611 * progmodes/cc-engine.el (c-back-over-member-initializers):
10612 new function.
3d1c39fa
AM
10613 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10614 (most) member init lists.
10615
5147fc17
RS
106162013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10617
10618 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10619 variable.
10620
5b78d7fc
LL
106212013-04-30 Leo Liu <sdl.web@gmail.com>
10622
10623 * progmodes/octave.el (octave-variables): Remove. No builtin
10624 variables any more. All converted to functions.
10625 (octave-font-lock-keywords, octave-completion-at-point-function):
10626 Fix uses.
10627 (octave-font-lock-texinfo-comment): New user variable.
10628 (octave-texinfo-font-lock-keywords): New variable for texinfo
10629 comment block.
10630 (octave-function-comment-block): New face.
10631 (octave-font-lock-texinfo-comment): New function.
10632 (octave-mode): Font lock texinfo comment block.
10633
38d8527b
LL
106342013-04-29 Leo Liu <sdl.web@gmail.com>
10635
10636 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10637 indexing expression.
10638 (octave-continuation-string): Do not use \.
10639 (inferior-octave-complete-impossible): Remove.
10640 (inferior-octave-completion-table)
10641 (inferior-octave-completion-at-point): Remove its uses.
10642 (inferior-octave-startup): completion_matches was introduced to
10643 Octave in 1996 so safe to assume it.
10644 (octave-function-file-comment): Improve to follow how Octave does it.
10645 (octave-update-function-file-comment): Tweak.
10646
2ec12cb0
LL
106472013-04-29 Leo Liu <sdl.web@gmail.com>
10648
10649 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10650 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10651 (octave-function-file-comment): Fix typo.
10652 (octave-sync-function-file-names): Use read-char-choice.
10653
6eaed048
JB
106542013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10655
10656 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10657 to t for the less important warnings.
10658
3ffa2d4f
DH
106592013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10660
10661 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10662
685c9501
GM
106632013-04-27 Glenn Morris <rgm@gnu.org>
10664
10665 * vc/log-view.el (log-view-current-entry):
10666 Treat "---" separator lines as part of the following rev. (Bug#14169)
10667
0208ede7
JL
106682013-04-27 Juri Linkov <juri@jurta.org>
10669
10670 * subr.el (read-number): Doc fix about using it by interactive
10671 code letter `n'. (Bug#14254)
10672
5db9dace
JL
106732013-04-27 Juri Linkov <juri@jurta.org>
10674
10675 * desktop.el (desktop-auto-save-timeout): New option.
10676 (desktop-file-checksum): New variable.
10677 (desktop-save): Add optional arg `auto-save' and don't auto-save
10678 if nothing changed.
10679 (desktop-auto-save-timer): New variable.
10680 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10681 (after-init-hook): Call `desktop-auto-save-set-timer'.
10682 Suggested by Reuben Thomas <rrt@sc3d.org> in
10683 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10684
b7260dd4
LL
106852013-04-27 Leo Liu <sdl.web@gmail.com>
10686
10687 * progmodes/octave.el (octave-function-file-p)
10688 (octave-skip-comment-forward, octave-function-file-comment)
10689 (octave-update-function-file-comment): New functions.
10690 (octave-mode-map): Bind C-c ; to
10691 octave-update-function-file-comment.
10692 (octave-mode-menu): Add octave-update-function-file-comment.
10693 (octave-mode, inferior-octave-mode): Fix doc-string.
10694 (octave-insert-defun): Conform to Octave's coding convention.
10695 (Bug#14285)
10696
10697 * files.el (basic-save-buffer): Don't let errors in
10698 before-save-hook prevent saving buffer.
10699
c46da669
RW
107002013-04-20 Roland Winkler <winkler@gnu.org>
10701
10702 * faces.el (read-face-name): Use completing-read if arg multiple
10703 is nil.
10704
a81ee1eb
IL
107052013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10706
10707 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10708 displayed, move point to after the totals line.
10709 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10710 for the details.
10711
4fac34ce
SM
107122013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10713
10714 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10715 Add current dir to the load-path.
10716 (package-generate-autoloads): Don't rely on
10717 autoload-ensure-default-file.
10718
f6bfc063
RT
107192013-04-26 Reuben Thomas <rrt@sc3d.org>
10720
d40ab5cf
BG
10721 * textmodes/remember.el (remember-store-in-files): Document that
10722 the file name format is passed to `format-time-string'.
f6bfc063 10723
e55d3b04
LL
107242013-04-26 Leo Liu <sdl.web@gmail.com>
10725
10726 * progmodes/octave.el (octave-sync-function-file-names): New function.
10727 (octave-mode): Use it in before-save-hook.
10728
e53052d3
SM
107292013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10730
140ef50c
SM
10731 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10732 (bug#14274).
10733
e53052d3
SM
10734 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10735 \n and comment, even if it's not an implicit ; (bug#14218).
10736
af80458d 107372013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10738
10739 * subr.el (read-number): Once more use `read' rather than
10740 `string-to-number', to trap non-numeric input. (Bug#14254)
10741
af80458d 107422013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10743
10744 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10745 Use `syntax-multiline' text property consistently instead of
8a621d53 10746 `font-lock-multiline'. (Bug#14237)
70203c2e 10747
e6ea1f6c
GM
107482013-04-26 Glenn Morris <rgm@gnu.org>
10749
10750 * emacs-lisp/shadow.el (list-load-path-shadows):
10751 No longer necessary to check for duplicate simple.el, since
10752 2012-07-07 change to init_lread to not include installation lisp
10753 directories in load-path when running uninstalled. (Bug#14270)
10754
070ccca4
LL
107552013-04-26 Leo Liu <sdl.web@gmail.com>
10756
10757 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10758 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10759 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10760 octave-in-string-or-comment-p.
10761 (octave-in-comment-p, octave-in-string-p)
10762 (octave-in-string-or-comment-p): Replace defsubst with defun.
10763
9d1c5fb6
PE
107642013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10765
10766 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10767
c034abda
BG
107682013-04-25 Bastien Guerry <bzg@gnu.org>
10769
10770 * textmodes/remember.el (remember-data-directory)
10771 (remember-directory-file-name-format): Fix custom types.
10772
584ea277
LL
107732013-04-25 Leo Liu <sdl.web@gmail.com>
10774
e53052d3
SM
10775 * progmodes/octave.el (octave-completion-at-point-function):
10776 Make use of inferior octave process.
584ea277
LL
10777 (octave-initialize-completions): Remove.
10778 (inferior-octave-completion-table): New function.
10779 (inferior-octave-completion-at-point): Use it.
10780 (octave-completion-alist): Remove.
10781
1693b06a
SM
107822013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10785 (opascal-mode-syntax-table): New var.
10786 (opascal-literal-kind, opascal-is-literal-end)
10787 (opascal-literal-token-at): Rewrite.
10788 (opascal--literal-start-re, opascal-font-lock-keywords)
10789 (opascal--syntax-propertize): New constants.
10790 (opascal-font-lock-defaults): Adjust.
10791 (opascal-mode): Use them. Set comment-<foo> variables as well.
10792 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10793 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10794 (delphi-other-face, opascal-other-face): Remove face variables.
10795 (opascal-save-state): Remove macro.
10796 (opascal-fontifying-progress-step): Remove constant.
10797 (opascal--ignore-changes): Remove var.
10798 (opascal-set-token-property, opascal-parse-next-literal)
10799 (opascal-is-stable-literal, opascal-complete-literal)
10800 (opascal-is-literal-start, opascal-face-of)
10801 (opascal-parse-region, opascal-parse-region-until-stable)
10802 (opascal-fontify-region, opascal-after-change)
10803 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10804 (opascal-debug-parse-region, opascal-debug-parse-window)
10805 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10806 (opascal-debug-fontify-buffer): Remove.
10807 (opascal-debug-mode-map): Adjust accordingly.
10808
be64c05d
LL
108092013-04-25 Leo Liu <sdl.web@gmail.com>
10810
10811 Merge octave-mod.el and octave-inf.el into octave.el with some
10812 cleanups.
10813 * progmodes/octave.el: New file renamed from octave-mod.el.
10814 * progmodes/octave-inf.el: Merged into octave.el.
10815 * progmodes/octave-mod.el: Renamed to octave.el.
10816
d79d37bd
TH
108172013-04-25 Tassilo Horn <tsdh@gnu.org>
10818
10819 * textmodes/reftex-vars.el
10820 (reftex-label-ignored-macros-and-environments): New defcustom.
10821
10822 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10823
ced3fc5d
SM
108242013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10827 (smie-indent-keyword): Improve the check to ensure that the next
10828 comment is really on the same line.
10829 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10830
10831 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10832 semi-colons if the line is not otherwise empty (bug#14218).
10833
1c141dad
GM
108342013-04-25 Glenn Morris <rgm@gnu.org>
10835
10836 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10837
5058062a
SM
108382013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * progmodes/opascal.el (opascal-set-token-property): Rename from
10841 opascal-set-text-properties and only set `token' (bug#14134).
10842 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10843 (opascal-literal-text-properties): Remove.
10844 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10845 Adjust callers.
10846
5db9dace 108472013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10848
10849 * textmodes/remember.el (remember-handler-functions): Add an
10850 option for a new handler `remember-store-in-files'.
10851 (remember-data-directory, remember-directory-file-name-format):
10852 New options.
10853 (remember-store-in-files): New function to store remember notes
10854 as separate files within a directory.
10855
4391916c
MH
108562013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10857
10858 * progmodes/compile.el (compilation-next-error-function):
10859 Pass "formats" to compilation-find-file (bug#11777).
10860
bb7cdf58
GM
108612013-04-24 Glenn Morris <rgm@gnu.org>
10862
3b8fe752 10863 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10864 * vc/vc-hg.el (vc-hg-print-log):
10865 * vc/vc-svn.el (vc-svn-print-log):
10866 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10867
bb7cdf58
GM
10868 * vc/vc-bzr.el (vc-bzr-print-log):
10869 * vc/vc-cvs.el (vc-cvs-print-log):
10870 * vc/vc-git.el (vc-git-print-log):
10871 * vc/vc-hg.el (vc-hg-print-log):
10872 * vc/vc-mtn.el (vc-mtn-print-log):
10873 * vc/vc-rcs.el (vc-rcs-print-log):
10874 * vc/vc-sccs.el (vc-sccs-print-log):
10875 * vc/vc-svn.el (vc-svn-print-log):
10876 * vc/vc.el (vc-print-log-internal): Doc fixes.
10877
b46a056e
GM
108782013-04-23 Glenn Morris <rgm@gnu.org>
10879
10880 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10881 Remove venerable code attempting to avoid substitute-command-keys.
10882
0aecf718
TH
108832013-04-23 Tassilo Horn <tsdh@gnu.org>
10884
4391916c
MH
10885 * textmodes/reftex-vars.el (reftex-label-regexps):
10886 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10887
117f94cf
SM
108882013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10889
4391916c 10890 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10891 Use lexical-binding.
10892 (jit-lock-force-redisplay): Use markers, check buffer's continued
10893 existence and beware narrowed buffers.
10894 (jit-lock-fontify-now): Adjust call accordingly.
10895
1d829c64
SM
108962013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10899 to avoid misleading the user.
10900
72d548a9
LL
109012013-04-22 Leo Liu <sdl.web@gmail.com>
10902
10903 * info-look.el: Prefer latex2e.info. (Bug#14240)
10904
d0853629
MA
109052013-04-22 Michael Albinus <michael.albinus@gmx.de>
10906
10907 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10908
10909 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10910 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10911 (tramp-set-completion-function, tramp-parse-putty):
10912 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10913 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10914 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10915 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10916 (tramp-call-local-coding-command): Use `tramp-call-process'
10917 instead of `tramp-compat-call-process'.
10918
10919 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10920 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10921 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10922 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10923 (tramp-maybe-send-script): Check for Perl binary.
10924 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10925
38cc0210
DU
109262013-04-22 Daiki Ueno <ueno@gnu.org>
10927
10928 * epg.el (epg-context-pinentry-mode): New function.
10929 (epg-context-set-pinentry-mode): New function.
10930 (epg--start): Pass --pinentry-mode option to gpg command.
10931
cc641ee1
XF
109322013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10933
02d844b5 10934 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10935 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10936 `completion-at-point'. (Bug#13774)
5d4e5c31 10937
cc641ee1
XF
10938 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10939 default key binding for `describe-distribution' has been moved to
10940 `C-h C-o'. (Bug#13970)
10941
1b42ee43
GM
109422013-04-21 Glenn Morris <rgm@gnu.org>
10943
10944 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10945 Add doc strings.
10946 (vc-print-log): Clarify interactive prompt.
10947
a6d63d97
GM
109482013-04-20 Glenn Morris <rgm@gnu.org>
10949
10950 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10951 No longer include timestamp etc information.
10952
d7f5c16f
RW
109532013-04-20 Roland Winkler <winkler@gnu.org>
10954
10955 * faces.el (read-face-name): Bug fix, return just one face if arg
10956 multiple is nil. (Bug#14209)
10957
bcd7a0a4
SM
109582013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10961 (remove-function): Autoload.
10962
10963 * comint.el (comint-redirect-original-filter-function): Remove.
10964 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10965 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10966 (vc-cvs-annotate-command):
bcd7a0a4
SM
10967 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10968 * progmodes/prolog.el (prolog-consult-compile):
10969 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10970 Use add/remove-function instead.
10971 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10972 (gud-tooltip-process-output, gud-tooltip-tips):
10973 Use add/remove-function instead.
10974 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10975 (scheme-interaction-mode, exit-scheme-interaction-mode):
10976 Use add/remove-function instead.
10977
10978 * vc/vc-dispatcher.el: Use lexical-binding.
10979 (vc--process-sentinel): Rename from vc-process-sentinel.
10980 Change last arg to be the code to run. Don't use vc-previous-sentinel
10981 and vc-sentinel-commands any more.
10982 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10983 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10984
e36b2d20 109852013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10986
bcd7a0a4 10987 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10988 Handle function names with a single character. (Bug#14111)
4d3268ba 10989
781b4af6 109902013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10991
10992 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10993 for subroutines defined in an eval (bug#14182).
10994
7d688336
TV
109952013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10996
10997 * bookmark.el (bookmark-completing-read): Improve handling of empty
10998 string (bug#14176).
10999
31dcede0
SM
110002013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11003
adc31213
FEG
110042013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11005
11006 New faster Imenu implementation (bug#14058).
11007 * progmodes/python.el:
11008 (python-imenu-prev-index-position):
11009 (python-imenu-format-item-label-function)
11010 (python-imenu-format-parent-item-label-function)
11011 (python-imenu-format-parent-item-jump-label-function):
11012 New vars.
11013 (python-imenu-format-item-label)
11014 (python-imenu-format-parent-item-label)
11015 (python-imenu-format-parent-item-jump-label)
11016 (python-imenu--put-parent, python-imenu--build-tree)
11017 (python-imenu-create-index, python-imenu-create-flat-index)
11018 (python-util-popn): New functions.
11019 (python-mode): Set imenu-create-index-function to
11020 python-imenu-create-index.
11021
cdca8255
SM
110222013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * winner.el (winner-active-region): Use region-active-p, activate-mark
11025 and deactivate-mark (bug#14225).
11026
11027 * simple.el (deactivate-mark): Don't inline it.
11028
beb42340
MA
110292013-04-18 Michael Albinus <michael.albinus@gmx.de>
11030
11031 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11032
fc7f4d7e
TH
110332013-04-18 Tassilo Horn <tsdh@gnu.org>
11034
11035 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11036 file extensions from the archive-mode entry in order to prefer
11037 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11038
29f47822
LL
110392013-04-18 Leo Liu <sdl.web@gmail.com>
11040
11041 * bindings.el (help-event-list): Add ?\?.
11042
d36ed1c8
SM
110432013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * subr.el (with-wrapper-hook): Declare obsolete.
11046 * simple.el (filter-buffer-substring-function): New hook.
11047 (filter-buffer-substring): Use it.
11048 (filter-buffer-substring-functions): Mark obsolete.
11049 * minibuffer.el (completion-in-region-function): New hook.
11050 (completion-in-region): Use it.
11051 (completion-in-region-functions): Mark obsolete.
11052 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11053 * abbrev.el (abbrev-expand-function): New hook.
11054 (expand-abbrev): Use it.
11055 (abbrev-expand-functions): Mark obsolete.
11056 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11057 and :filter-return.
11058
04754d36
FEG
110592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11060
11061 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11062 and do not care about match data.
11063
dd8791e9
SM
110642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11067 completion tables when completing error conditions and
11068 `declare' arguments.
11069 (lisp-complete-symbol, field-complete): Mark as obsolete.
11070 (check-parens): Unmatched parens are user errors.
11071 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11072
ffe54a13
AM
110732013-04-17 Michal Nazarewicz <mina86@mina86.com>
11074
dd8791e9
SM
11075 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11076 command changed buffer (ie. `flyspell-pre-buffer' is not current
11077 buffer), which prevents making decisions based on invalid value of
11078 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11079 cause an error when `flyspell-pre-point' was nil after switching
11080 buffers.
11081 (flyspell-post-command-hook): No longer needs to change buffers when
11082 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11083
ec7e39f2
AM
110842013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11085
11086 * textmodes/ispell.el (ispell-add-per-file-word-list):
11087 Fix `flyspell-correct-word-before-point' error when accepting
11088 words and `coment-padding' is an integer by using
11089 `comment-normalize-vars' (Bug #14214).
11090
083850a6
FEG
110912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11092
11093 New defun movement commands.
11094 * progmodes/python.el (python-nav--syntactically)
11095 (python-nav--forward-defun, python-nav-backward-defun)
11096 (python-nav-forward-defun): New functions.
11097
619ed6e1
FEG
110982013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11099
11100 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11101 (python-syntax-context): Use named compiler-macro for backwards
11102 compatibility with Emacs 24.x.
11103
7a1beb6c
LL
111042013-04-17 Leo Liu <sdl.web@gmail.com>
11105
11106 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11107 octave-hide-process-buffer.
11108
2d3fa3e5
SM
111092013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11112 (bug#14216).
11113
7ce5be54
JPG
111142013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11115
11116 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11117 Fix adjustment of offset when receiving incomplete responses from GDB
11118 (bug#14129).
11119
351edece
SM
111202013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11123 python-mode-abbrev-table.
11124 (python-skeleton-define): Adjust accordingly.
11125 (python-mode-abbrev-table): New table that inherits from it so that
11126 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11127
11128 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11129 (abbrev-symbol): Use it.
11130 (abbrev--before-point): Use it since we already handle inheritance.
11131
613f9481
LL
111322013-04-16 Leo Liu <sdl.web@gmail.com>
11133
11134 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11135 binding to info-lookup-symbol.
11136
51646b62
JB
111372013-04-16 Juanma Barranquero <lekktu@gmail.com>
11138
11139 * minibuffer.el (completion--twq-all):
11140 * term/ns-win.el (ns-initialize-window-system):
11141 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11142
efb3f01d
SM
111432013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11144
36c0a301
SM
11145 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11146 global bindings.
11147
efb3f01d
SM
11148 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11149
fb549d64
DG
111502013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11151
11152 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11153 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11154 to nil.
11155 (ruby-end-of-defun): Remove the unused arg, change the docstring
11156 to reflect that this function is only used as the value of
11157 `end-of-defun-function'.
11158 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11159 to reflect an earlier change that beginning/end-of-defun functions
11160 jump between methods in a class definition, as well as top-level
11161 functions.
11162
21e8fe2f
SM
111632013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * minibuffer.el (minibuffer-complete): Don't just scroll
11166 a *Completions* that's been iconified.
11167 (minibuffer-force-complete): Make sure repetitions do cycle when going
11168 through completion-in-region -> minibuffer-complete.
11169
20e527d0
AM
111702013-04-15 Alan Mackenzie <acm@muc.de>
11171
11172 Correct the placement of c-cpp-delimiters when there're #s not at
11173 col 0.
11174
11175 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11176 place a submatch around the #.
21e8fe2f
SM
11177 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11178 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11179 on the #, not BOL.
11180
dabefae5
SM
111812013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11184 (advice--member-p): New arg `name'.
11185 (advice--add-function, advice-member-p): Use it (bug#14202).
11186
85c9ab64
AM
111872013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11188
11189 Reformulate java imenu-generic-expression.
11190 The old expression contained ill formed regexps.
11191
11192 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11193 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11194 (cc-imenu-java-method-arg-regexp): New defconsts.
11195 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11196 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11197 handling of spaces in the regexp.
11198
0f821d99
AM
111992013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11200
11201 * textmodes/ispell.el (ispell-command-loop): Remove
11202 flyspell highlight of a word when ispell accepts it (bug #14178).
11203
eb922adf
MA
112042013-04-15 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11207 uses code from the previous `ange-ftp-run-real-handler'.
11208 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11209 only in case that function exist. This is needed for proper
11210 unloading of Tramp.
11211
4d9a0979
TH
112122013-04-15 Tassilo Horn <tsdh@gnu.org>
11213
11214 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11215
11216 * textmodes/reftex.el (reftex-compile-variables): Use it.
11217
a829b0dc
SM
112182013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11219
91e8293c
SM
11220 * files.el (normal-mode): Only use default major-mode if no other mode
11221 was specified.
11222
830aed4d
SM
11223 * emacs-lisp/trace.el (trace-values): New function.
11224
a829b0dc
SM
11225 * files.el: Allow : in local variables (bug#14089).
11226 (hack-local-variable-regexp): New var.
11227 (hack-local-variables-prop-line, hack-local-variables): Use it.
11228
7ae9f0fb
RW
112292013-04-13 Roland Winkler <winkler@gnu.org>
11230
11231 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11232 data before it gets modified by bibtex-beginning-of-entry.
11233
6646e848
RW
112342013-04-13 Roland Winkler <winkler@gnu.org>
11235
11236 * textmodes/bibtex.el (bibtex-url): Doc fix.
11237
112382013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11239
11240 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11241 does not visit a BibTeX file, exclude it from the list of buffers
11242 returned by bibtex-initialize.
11243
0aa3616e
SB
112442013-04-13 Stephen Berman <stephen.berman@gmx.net>
11245
11246 * window.el (split-window): Remove interactive form, since as a
11247 command this function is a special case of split-window-below.
11248 Correct doc string.
11249
011cddd6
RW
112502013-04-12 Roland Winkler <winkler@gnu.org>
11251
11252 * faces.el (read-face-name): Do not override value of arg default.
11253 Allow single faces and strings as default values. Remove those
11254 elements from return value that are not faces.
11255 (describe-face): Simplify.
11256 (face-at-point): New optional args thing and multiple so that this
11257 function can provide the same functionality previously provided by
11258 read-face-name.
11259 (make-face-bold, make-face-unbold, make-face-italic)
11260 (make-face-unitalic, make-face-bold-italic, invert-face)
11261 (modify-face, read-face-and-attribute): Use face-at-point.
11262
11263 * cus-edit.el (customize-face, customize-face-other-window)
11264 * cus-theme.el (custom-theme-add-face)
11265 * face-remap.el (buffer-face-set)
11266 * facemenu.el (facemenu-set-face): Use face-at-point.
11267
f24e0036
MA
112682013-04-12 Michael Albinus <michael.albinus@gmx.de>
11269
11270 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11271
da3cda2d
TH
112722013-04-10 Tassilo Horn <tsdh@gnu.org>
11273
11274 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11275 off leading { and trailing } from field values.
11276
15e54145
SM
112772013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11278
78ce603d
SM
11279 * emacs-lisp/timer.el (timer--check): New function.
11280 (timer--time, timer-set-function, timer-event-handler): Use it.
11281 (timer-set-idle-time): Simplify.
11282 (timer--activate): CSE.
11283 (timer-event-handler): Give more info in error message.
11284 (internal-timer-start-idle): New function, moved from C.
11285
15e54145
SM
11286 * mpc.el (mpc-proc): Add `restart' argument.
11287 (mpc-proc-cmd): Use it.
11288 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11289 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11290 less often.
11291
7144c627
MY
112922013-04-10 Masatake YAMATO <yamato@redhat.com>
11293
11294 * progmodes/sh-script.el: Implement `sh-mode' own
11295 `add-log-current-defun-function' (bug#14112).
11296 (sh-current-defun-name): New function.
11297 (sh-mode): Use the function.
11298
b39792eb
BG
112992013-04-09 Bastien Guerry <bzg@gnu.org>
11300
11301 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11302
8acdeb71
SM
113032013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11304
6fcdab68
SM
11305 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11306
8acdeb71
SM
11307 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11308 timer (bug#14156).
11309
e3e7b504
NF
113102013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11311
11312 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11313 declaration.
11314
201bb296
LL
113152013-04-07 Leo Liu <sdl.web@gmail.com>
11316
11317 * pcmpl-x.el: New file.
11318
ebb19708
DA
113192013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11320
11321 Do not set x-display-name until X connection is established.
11322 This is needed to prevent from weird situation described at
11323 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11324 * frame.el (make-frame): Set x-display-name after call to
11325 window system initialization function, not before.
11326 * term/x-win.el (x-initialize-window-system): Add optional
11327 display argument and use it.
11328 * term/w32-win.el (w32-initialize-window-system):
11329 * term/ns-win.el (ns-initialize-window-system):
11330 * term/pc-win.el (msdos-initialize-window-system):
11331 Add compatible optional display argument.
11332
33bb237a
EZ
113332013-04-06 Eli Zaretskii <eliz@gnu.org>
11334
11335 * files.el (normal-backup-enable-predicate): On MS-Windows and
11336 MS-DOS compare truenames of temporary-file-directory and of the
11337 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11338 don't fail comparison by compare-strings. Also, compare file
11339 names case-insensitively on MS-Windows and MS-DOS.
11340
134abf1f
SM
113412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11344 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11345
d695cb94
DG
113462013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11347
e3e7b504
NF
11348 * whitespace.el (whitespace-color-on, whitespace-color-off):
11349 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11350
f4ad7ea1 113512013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11352
11353 * ispell.el (ispell-set-spellchecker-params):
11354 Really set `ispell-args' for all equivs.
11355
632556e4
SM
113562013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * ido.el (ido-completions): Use extra elements of ido-decorations
11359 (bug#14143).
11360 (ido-decorations): Update docstring.
11361
2a417372
MA
113622013-04-05 Michael Albinus <michael.albinus@gmx.de>
11363
11364 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11365 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11366 nil during initialization, in order not to miss changes since the
11367 file was opened. (Bug#14140)
11368
fc164b0c
LL
113692013-04-05 Leo Liu <sdl.web@gmail.com>
11370
11371 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11372
0ccecc08
JB
113732013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11374
11375 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11376
51af1aa2
GM
113772013-04-04 Glenn Morris <rgm@gnu.org>
11378
11379 * electric.el (electric-pair-inhibit-predicate): Add :version.
11380
b208ebc6
SM
113812013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11382
11383 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11384 when a package is required several times (bug#14082).
11385
f3d3eaf0
RW
113862013-04-04 Roland Winkler <winkler@gnu.org>
11387
11388 * faces.el (read-face-name): Behave as promised by the docstring.
11389 Assume that arg default is a list of faces.
11390 (describe-face): Call read-face-name with list of default faces.
11391
2575da50
TV
113922013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11393
11394 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11395 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11396 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11397 the header.
11398 (bookmark-exit-hook-internal): Save even if list is empty.
11399
397703b4
YH
114002013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11401
11402 * emacs-lisp/package.el (package-pinned-packages): New var.
11403 (package--add-to-archive-contents): Obey it (bug#14118).
11404
691e26ae
AM
114052013-04-03 Alan Mackenzie <acm@muc.de>
11406
8a621d53
JB
11407 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11408 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11409
11410 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11411 parameter `not-in-delimiter'. Handle being inside comment opener.
11412 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11413 character in case we're typing a '*' after a '/'.
11414 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11415 instead by passing the parameter to c-state-pp-to-literal.
11416
11417 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11418 for elt. 7 of a parse state.
11419
4b725a70
PE
114202013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11421
11422 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11423 * international/latin1-disp.el, international/mule-util.el:
11424 * language/cyril-util.el, language/european.el, language/ind-util.el:
11425 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11426 * language/tibetan.el, language/viet-util.el:
11427 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11428
15c579f0
SM
114292013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11432 (electric-pair-post-self-insert-function): Use it.
11433 (electric-pair-default-inhibit): New function, extracted from
11434 electric-pair-post-self-insert-function.
11435
a77e2924
RW
114362013-03-31 Roland Winkler <winkler@gnu.org>
11437
11438 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11439
2bd8a4a8
SM
114402013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11443
8d3655be 114442013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11445
11446 Un-indent after "pass" and "return" statements (Bug#13888)
11447 * progmodes/python.el (python-indent-block-enders): New var.
11448 (python-indent-calculate-indentation): Use it.
11449
8d3655be 114502013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11451
11452 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11453 defun. Defining it as defalias could introduce too eager
11454 byte-compiler optimization. (Bug#14030)
11455
8d3655be 114562013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11457
11458 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11459
0b1619da
LL
114602013-03-30 Leo Liu <sdl.web@gmail.com>
11461
11462 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11463 (kmacro-execute-from-register): Pass the keyboard macro to
11464 kmacro-call-macro or repeating won't work correctly.
11465
0b938190
TZ
114662013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11467
11468 * progmodes/subword.el: Back to using `forward-symbol'.
11469
11470 * subr.el (forward-whitespace, forward-symbol)
11471 (forward-same-syntax): Move from thingatpt.el.
11472
35710234
LL
114732013-03-29 Leo Liu <sdl.web@gmail.com>
11474
11475 * kmacro.el (kmacro-to-register): New command.
11476 (kmacro-execute-from-register): New function.
11477 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11478
efc0bb73
SM
114792013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * mpc.el: Use defvar-local and setq-local.
11482 (mpc--proc-connect): Connection failures are not bugs.
11483 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11484 (mpc-volume-map): Bind to the up-events.
11485
75a2f981
TZ
114862013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11487
11488 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11489 instead of `forward-symbol'.
11490
17c781d1
SM
114912013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11494 (edebug--recursive-edit): Use it.
11495 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11496 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11497
f67bfbcf
LL
114982013-03-28 Leo Liu <sdl.web@gmail.com>
11499
11500 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11501
b59f639d
EZ
115022013-03-27 Eli Zaretskii <eliz@gnu.org>
11503
11504 * facemenu.el (list-colors-callback): New defvar.
11505 (list-colors-redisplay): New function.
11506 (list-colors-display): Install list-colors-redisplay as the
11507 revert-buffer-function. (Bug#14063)
11508
f557c1b1
SM
115092013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11510
b1da2957
SM
11511 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11512 and suffixes don't overlap (bug#14061).
11513
f557c1b1
SM
11514 * case-table.el: Use lexical-binding.
11515 (case-table-get-table): New function.
11516 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11517
002668e1
TZ
115182013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11519
11520 * progmodes/subword.el: Add `superword-mode' to do word motion
11521 over symbol_words (parallels and leverages `subword-mode' which
11522 does word motion inside MixedCaseWords).
11523
73572c72
AG
115242013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11525
78b8f320 11526 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11527 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11528
69b2c07e
SM
115292013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11532 Change return value to be a sexp. Delay `get-buffer' to after
11533 restoring the desktop (bug#13951).
11534
08bb5ee2
LL
115352013-03-26 Leo Liu <sdl.web@gmail.com>
11536
11537 * register.el: Move semantic tag handling back to
11538 cedet/semantic/senator.el. (Bug#14052)
11539
8d4c974e
SM
115402013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11543 into the prompt either (bug#13963).
11544
b234d92c
SM
115452013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11548 part of "(error-foo)".
11549
ddfa3cb4
JL
115502013-03-24 Juri Linkov <juri@jurta.org>
11551
11552 * replace.el (list-matching-lines-prefix-face): New defcustom.
11553 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11554 `occur-engine' if `face-differs-from-default-p' returns t.
11555 (occur-engine): Add `,' inside backquote construct to evaluate
11556 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11557 Pass `prefix-face' to the functions `occur-context-lines' and
11558 `occur-engine-add-prefix'.
11559 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11560 `prefix-face' and propertize the prefix with `prefix-face'.
11561 (Bug#14017)
11562
7b0e2f85
LL
115632013-03-24 Leo Liu <sdl.web@gmail.com>
11564
11565 * nxml/rng-valid.el (rng-validate-while-idle)
11566 (rng-validate-quick-while-idle): Guard against deleted buffer.
11567 (Bug#13999)
11568
11569 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11570 is the last entry in kill-buffer-hook.
11571
11572 * files.el (kill-buffer-hook): Doc fix.
11573
b3082f49
DG
115742013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11575
b234d92c
SM
11576 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11577 Make it safe-local.
bde73d27 11578
b3082f49
DG
11579 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11580
a320a2db
LL
115812013-03-23 Leo Liu <sdl.web@gmail.com>
11582
7e74b0fb
LL
11583 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11584 Remove.
11585
11586 * nxml/rng-valid.el (rng-validate-mode)
11587 (rng-after-change-function, rng-do-some-validation):
11588 * nxml/rng-maint.el (rng-validate-buffer):
11589 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11590 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11591 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11592 (nxml-extend-after-change-region): Use with-silent-modifications.
11593
a320a2db
LL
11594 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11595 timer-idle-list.
11596
11597 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11598 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11599 timer-idle-list. (Bug#13999)
11600
e38e6780
JL
116012013-03-23 Juri Linkov <juri@jurta.org>
11602
11603 * info.el (info-index-match): New face.
11604 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11605 main pattern and add text properties with the new face to matches
11606 in index entries relative to the beginning of the index entry.
11607 (Bug#14015)
11608
e8cc7880
DE
116092013-03-21 Eric Ludlam <zappo@gnu.org>
11610
11611 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11612 Inhibit read only while inserting objects.
11613
9bb0d822
TZ
116142013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11615
11616 * progmodes/cfengine.el: Update docs to mention
11617 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11618 symbol motion. Remove "_" from the word syntax.
11619
aa703640
TZ
116202013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11621
11622 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11623 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11624
afff09d0
JL
116252013-03-20 Juri Linkov <juri@jurta.org>
11626
11627 * info.el (Info-next-reference-or-link)
11628 (Info-prev-reference-or-link): New functions.
11629 (Info-next-reference, Info-prev-reference): Use them.
11630 (Info-try-follow-nearest-node): Handle footnote navigation.
11631 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11632
9a1ff164
SM
116332013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11636 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11637
2667d15d
PE
116382013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11639
11640 Suppress unnecessary non-ASCII chatter during build process.
11641 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11642 (batch-skkdic-convert): Suppress most of the chatter.
11643 It's not needed so much now that machines are faster,
11644 and its non-ASCII component was confusing; see Dmitry Gutov in
11645 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11646
438b0579
LL
116472013-03-20 Leo Liu <sdl.web@gmail.com>
11648
11649 * ido.el (ido-chop): Fix bug#10994.
11650
c128ab07
DG
116512013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11652
11653 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11654 Remove vars.
9a1ff164
SM
11655 (whitespace-color-on, whitespace-color-off):
11656 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11657
0e6008c5
SM
116582013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11661 remapping in mode-line.
11662 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11663
627b52b0
DG
116642013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11665
11666 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11667 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11668 (whitespace-font-lock-keywords): Change description.
11669 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11670 the constructed keywords instead.
11671 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11672
50c3a20b
LL
116732013-03-19 Leo Liu <sdl.web@gmail.com>
11674
11675 * progmodes/compile.el (compilation-display-error): New command.
11676 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11677 C-o. (Bug#13992)
11678
2aa2157b
PE
116792013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11680
11681 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11682
e477dbfa
JD
116832013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11684
11685 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11686
64ab82d1
MA
116872013-03-18 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11690
11691 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11692 * net/tramp-gvfs.el (top):
11693 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11694 (tramp-handle-shell-command): Use it.
11695 (tramp-dissect-file-name): Raise an error when hostname is a
11696 method name, and neither method nor user is specified.
11697
11698 * net/trampver.el: Update release number.
11699
33cef733
LL
117002013-03-18 Leo Liu <sdl.web@gmail.com>
11701
11702 Make sure eldoc can be turned off properly.
11703 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11704 eldoc-mode.
11705 (eldoc-display-message-p): Revert last change.
11706 (eldoc-display-message-no-interference-p)
11707 (eldoc-print-current-symbol-info): Tweak.
11708
2167b7b2
TH
117092013-03-18 Tassilo Horn <tsdh@gnu.org>
11710
11711 * doc-view.el (doc-view-new-window-function): Check the new window
11712 overlay's display property instead the char property of the
11713 buffer's first char. Use `with-selected-window' instead of
11714 `save-window-excursion' with `select-window'.
11715 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11716 display property instead the char property of the buffer's first char.
2167b7b2 11717
982efbcd
PE
117182013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11719
11720 Automate the build of ja-dic.el (Bug#13984).
11721 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11722 from the input, rather than assume that it's been done for us by the
11723 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11724 the current date into a ja-dic.el comment, as that complicates
11725 regression testing.
11726
2fcc7665
SM
117272013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * whitespace.el: Fix double evaluation.
11730 (whitespace-space, whitespace-hspace, whitespace-tab)
11731 (whitespace-newline, whitespace-trailing, whitespace-line)
11732 (whitespace-space-before-tab, whitespace-indentation)
11733 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11734 obsolete defvars.
11735 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11736 (whitespace-color-on): Use a single font-lock-add-keywords call.
11737 Fix double-evaluation of face variables.
11738
67c0a6e6
MA
117392013-03-17 Michael Albinus <michael.albinus@gmx.de>
11740
2fcc7665
SM
11741 * net/tramp-adb.el (tramp-adb-parse-device-names):
11742 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11743 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11744
69489f1d
LL
117452013-03-17 Leo Liu <sdl.web@gmail.com>
11746
11747 Extend eldoc to display info in the mode-line. (Bug#13978)
11748 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11749 (eldoc-mode-line-string): New variable.
11750 (eldoc-minibuffer-message): New function.
11751 (eldoc-message-function): New variable.
11752 (eldoc-message): Use it.
11753 (eldoc-display-message-p)
2fcc7665
SM
11754 (eldoc-display-message-no-interference-p):
11755 Support eldoc-post-insert-mode.
69489f1d
LL
11756
11757 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11758 (eval-expression): Run it.
11759
9c44569e
RW
117602013-03-17 Roland Winkler <winkler@gnu.org>
11761
11762 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11763 strings in the list of return values.
11764
327f1f6f
JB
117652013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11766
11767 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11768 radix before checking for HMS forms.
11769
67ed8fcd
LL
117702013-03-16 Leo Liu <sdl.web@gmail.com>
11771
11772 * progmodes/scheme.el: Add indentation and font-locking for λ.
11773 (Bug#13975)
11774
78be8b64 117752013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11776
11777 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11778 token before point (bug#13942).
11779
78be8b64 117802013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11781
95b43468 11782 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11783
98e775e6
EZ
117842013-03-16 Eli Zaretskii <eliz@gnu.org>
11785
11786 * startup.el (command-line-normalize-file-name): Fix handling of
11787 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11788 <xfq.free@gmail.com> in
11789 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11790
2edd6029
MA
117912013-03-15 Michael Albinus <michael.albinus@gmx.de>
11792
11793 Sync with Tramp 2.2.7.
11794
11795 * net/trampver.el: Update release number.
11796
d35f5864
TH
117972013-03-14 Tassilo Horn <tsdh@gnu.org>
11798
e903c210 11799 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11800 (doc-view-insert-image): Don't modify overlay associated to
11801 non-live windows, and implement horizontal centering of image in
11802 case it's smaller than the window.
11803 (doc-view-new-window-function): Force redisplay of new windows on
11804 doc-view buffers.
d35f5864 11805
1c4a85ed
KF
118062013-03-13 Karl Fogel <kfogel@red-bean.com>
11807
11808 * saveplace.el (save-place-alist-to-file): Don't sort
11809 `save-place-alist', just pretty-print it (bug#13882).
11810
85b66a21
MA
118112013-03-13 Michael Albinus <michael.albinus@gmx.de>
11812
a020afb9
JB
11813 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11814 Check whether `default-file-name-coding-system' is bound.
11815 It isn't in XEmacs.
85b66a21 11816
175600da
SM
118172013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11818
e7f7cb1a
SM
11819 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11820 backquotes for `obsolete' (bug#13929).
11821
175600da
SM
11822 * international/mule.el (find-auto-coding): Include file name in
11823 obsolescence warning (bug#13922).
11824
ca68a22e
TZ
118252013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11826
11827 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11828 for CFEngine 3-specific indentation.
11829 (cfengine3-indent-line): Use it. Fix up category regex.
11830 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11831
940e5099
SM
118322013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * type-break.el (type-break-file-name):
11835 * textmodes/remember.el (remember-data-file):
11836 * strokes.el (strokes-file):
11837 * shadowfile.el (shadow-initialize):
11838 * saveplace.el (save-place-file):
11839 * ps-bdf.el (bdf-cache-file):
11840 * progmodes/idlwave.el (idlwave-config-directory):
11841 * net/quickurl.el (quickurl-url-file):
11842 * international/kkc.el (kkc-init-file-name):
11843 * ido.el (ido-save-directory-list-file):
11844 * emulation/viper.el (viper-custom-file-name):
11845 * emulation/vip.el (vip-startup-file):
11846 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11847 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11848
cc725808
PE
118492013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11850
11851 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11852 * language/thai-word.el: Switch to UTF-8.
11853
a020afb9 11854See ChangeLog.16 for earlier changes.
e3d51b27
MR
11855
11856;; Local Variables:
11857;; coding: utf-8
e3d51b27
MR
11858;; End:
11859
ba318903 11860 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
11861
11862 This file is part of GNU Emacs.
11863
11864 GNU Emacs is free software: you can redistribute it and/or modify
11865 it under the terms of the GNU General Public License as published by
11866 the Free Software Foundation, either version 3 of the License, or
11867 (at your option) any later version.
11868
11869 GNU Emacs is distributed in the hope that it will be useful,
11870 but WITHOUT ANY WARRANTY; without even the implied warranty of
11871 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11872 GNU General Public License for more details.
11873
11874 You should have received a copy of the GNU General Public License
11875 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.