Ignore XF86WakeUp
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e63ace37
DC
12013-12-30 Daniel Colascione <dancol@dancol.org>
2
9e0bf19a
DC
3 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4 of printing a useless when we resume from sleep.
5
e63ace37
DC
6 * progmodes/sh-script.el
7 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
8 in indentation code. (Bug#16233)
9
e9d6c46a
JT
102013-12-28 João Távora <joaotavora@gmail.com>
11
12 * elec-pair.el (electric-pair-post-self-insert-function): Don't
13 open extra newlines at beginning of buffer. (Bug#16272)
14
bf7bea5d
EZ
152013-12-28 Eli Zaretskii <eliz@gnu.org>
16
17 * frame.el (window-system-for-display): Don't allow to create a
18 GUI frame from a -nw session on MS-Windows. (Bug#14739)
19
8449dd1f
GM
202013-12-28 Glenn Morris <rgm@gnu.org>
21
9c5a5c77
GM
22 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
23 Update callers.
24
25 * apropos.el (apropos-match-face):
26 * calculator.el (calculator-displayer):
27 * dabbrev.el (dabbrev-search-these-buffers-only):
28 * face-remap.el (buffer-face-mode-face):
29 * simple.el (yank-handled-properties):
30 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
31 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
32 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
33 (hashcash-double-spend-database):
34 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
35 (ruby-deep-indent-paren-style):
36 * textmodes/flyspell.el (flyspell-auto-correct-binding):
37 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
38 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
39 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
40 Specify custom types.
41
bb098075
GM
42 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
43 * bookmark.el (bookmark-bmenu-use-header-line):
44 * doc-view.el (doc-view-scale-internally):
45 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
46 * register.el (register-preview-delay):
47 * net/shr.el (shr-bullet):
48 * progmodes/cfengine.el (cfengine-cf-promises)
49 (cfengine-parameters-indent):
50 * progmodes/octave.el (inferior-octave-error-regexp-alist):
51 * textmodes/reftex-vars.el (reftex-label-regexps):
52 * vc/log-edit.el (log-edit-setup-add-author): Add version.
53
9c61f806
GM
54 * net/tls.el (tls-certtool-program): Fix default value.
55
56 * desktop.el (desktop-restore-in-current-display):
57 * newcomment.el (comment-empty-lines):
58 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
59 (idlwave-pad-keyword):
60 * progmodes/tcl.el (tcl-tab-always-indent):
61 * textmodes/reftex-vars.el (reftex-index-default-tag):
62 * elec-pair.el (electric-pair-skip-whitespace):
63 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
64
8449dd1f
GM
65 * emacs-lisp/authors.el (authors-ignored-files)
66 (authors-valid-file-names, authors-renamed-files-alist): Additions.
67
fdadeb49
JC
682013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
69
72140a0f
GM
70 * shell.el (shell-dynamic-complete-command): Doc fix.
71 (shell--command-completion-data): Shell completion now matches
72 executable filenames from the current buffer's directory, on
73 systems in which this behaviour is the default (windows-nt, ms-dos).
fdadeb49 74
e572a7d8
LI
752013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
76
77 * net/shr.el (shr-insert): Don't infloop if the width is zero.
78
7514d3f8
SM
792013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
80
a4151f3b
SM
81 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
82 (bug#16251).
83
7514d3f8
SM
84 * electric.el: Move all electric-pair-* to elec-pair.el.
85 * elec-pair.el: New file, split from electric.el.
86
ac5758d1
LI
872013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
88
89 * net/shr.el (shr-find-fill-point): Don't try to fill if the
90 indentation level is larger than the width, because that will
91 infloop.
92 (shr-insert): Fill repeatedly long texts, so that Japanese is
93 formatted correctly (bug#16263).
24a6b65e
LI
94 (shr-find-fill-point): Off by one error in comparison with the
95 indentation.
ac5758d1 96
7514d3f8 972013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
98
99 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 100 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
101 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
102 if that keeps or improves their balance in buffers.
103 (electric-pair-delete-adjacent-pairs): Delete the pair when
104 backspacing over adjacent matched delimiters.
105 (electric-pair-open-extra-newline): Open extra newline when
106 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
107 (electric--sort-post-self-insertion-hook):
108 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
109 minor-modes are activated.
110 * simple.el (newline-and-indent): Call newline with interactive
111 set to t.
112 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
113 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
114 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
115 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
116 electric-pair-open-newline-between-pairs to nil.
117
fbcc63a3
FEG
1182013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
119
120 * progmodes/python.el: Use lexical-binding.
121 (python-nav-beginning-of-defun): Stop searching ASAP.
122
ed78d16c
XF
1232013-12-25 Xue Fuqiao <xfq.free@gmail.com>
124
125 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
126 Fix interactive spec. Doc fix. (Bug#15754)
127
38b2c142
KY
1282013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
129
130 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 131 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
132 Fix edebug spec (bug#16184).
133
3c856c14
LI
1342013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
135
83fa295c 136 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
137 (shr-insert): Don't infloop if we can't find a good place to break
138 the line (bug#16256).
3c856c14 139
01379221
FEG
1402013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
141
142 * progmodes/python.el:
143 (python-nav--lisp-forward-sexp): New function.
144 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
145 python-nav-lisp-forward-sexp-safe.
146 (python-nav--forward-sexp): New argument SAFE allows switching
147 forward sexp movement behavior for parens.
148 (python-nav-forward-sexp): Throw errors on unterminated parens
149 (Bug#16191).
150 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
151 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
152 (python-shell-buffer-substring):
153 Use `python-nav-forward-sexp-safe'.
01379221 154
99e4926f
LI
1552013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
156
157 * net/shr.el (shr-find-fill-point): Don't break lines before a
158 quotation mark.
c6c20584
LI
159 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
160 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 161 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 162
fec0e828
KN
1632013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
164
165 * net/eww.el (eww-form-textarea): Use a different face for
166 textareas than text input since they have different keymaps
167 (bug#16142).
168
89c868ad
FEG
1692013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
170
7514d3f8
SM
171 * progmodes/python.el (python-nav-beginning-of-statement):
172 Speed up (Bug#15295).
89c868ad 173
eeef121a
LI
1742013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
175
176 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
177 the window configuration.
178
121ea65f
EZ
1792013-12-24 Eli Zaretskii <eliz@gnu.org>
180
181 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
182 we run on MS-Windows or MS-DOS.
183
18cee9ec
MR
1842013-12-24 Martin Rudalics <rudalics@gmx.at>
185
186 * window.el (balance-windows-area): Call window-size instead of
187 window-height and window-width. Bug#16241.
188
58f2b9a5
LI
1892013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
190
191 * net/eww.el (eww-bookmark-quit): Remove.
192 (eww-bookmark-browse): Restore the window configuration when you
193 choose a bookmark (bug#16144).
194
d64b6308
DC
1952013-12-24 Daniel Colascione <dancol@dancol.org>
196
197 * icomplete.el: Remove redundant :group arguments to `defcustom'
198 throughout.
199 (icomplete-show-matches-on-no-input): New customizable variable.
200 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
201 we have something to show.
7514d3f8 202 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 203
0da54898
DC
2042013-12-23 Daniel Colascione <dancol@dancol.org>
205
206 * icomplete.el: Move `provide' to end of file.
207
b90aa4f4
TZ
2082013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
209
210 * net/gnutls.el (gnutls-verify-error): Add version tag.
211
8cd22a08
CY
2122013-12-23 Chong Yidong <cyd@gnu.org>
213
214 * subr.el (set-transient-map): Rename from
215 set-temporary-overlay-map. Doc fix.
216
217 * face-remap.el (text-scale-adjust):
218 * indent.el (indent-rigidly):
219 * kmacro.el (kmacro-call-macro):
220 * minibuffer.el (minibuffer-force-complete):
221 * repeat.el (repeat):
222 * simple.el (universal-argument--mode):
223 * calendar/todo-mode.el (todo-insert-item--next-param):
224 * progmodes/f90.el (f90-abbrev-start): Callers changed.
225
7510b021
CY
226 * indent.el (indent-rigidly): Use substitute-command-keys.
227
72140a0f 2282013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
229
230 * net/eww.el (eww-tag-select): Add text-property to jump to next
231 select field.
e9dc713d 232 (eww): Add non-supported ftp error.
56890ecd 233
1f87a56c
DG
2342013-12-22 Dmitry Gutov <dgutov@yandex.ru>
235
236 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
237 comments. Handle electric indent after typing `?' and `!'.
238
dca38cf9
CY
2392013-12-22 Chong Yidong <cyd@gnu.org>
240
241 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
242 applicable to a frame, fall back on the defface spec.
243 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 244
f2351498
DG
2452013-12-22 Dmitry Gutov <dgutov@yandex.ru>
246
247 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
248 after `{'. We need it after block openers, and it doesn't seem
249 to hurt after hash openers.
250
6cddebc1
DG
2512013-12-22 Dmitry Gutov <dgutov@yandex.ru>
252
253 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
254 extracted from `ruby-smie-rules'.
255 (ruby--electric-indent-chars): New variable.
256 (ruby--electric-indent-p): New function.
257 (ruby-mode): Use `electric-indent-functions' instead of
258 `electric-indent-chars'.
259
65a1da00
DG
2602013-12-22 Dmitry Gutov <dgutov@yandex.ru>
261
262 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
263 docstring.
264 (ruby-smie-rules): Indent plus one level after `=>'.
265
b51ad4cf
RS
2662013-12-21 Richard Stallman <rms@gnu.org>
267
268 * simple.el (newline): Doc fix.
269
72140a0f 2702013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 271
e9dc713d 272 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
273 (eww-history-browse, eww-history-quit, eww-history-kill)
274 (eww-history-mode-map, eww-history-mode): New command and
275 functions to list browser histories.
e9dc713d
JB
276 (eww-form-text): Support text form with disabled
277 and readonly attributes.
278 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 279
5e1901c1
RS
2802013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
281
282 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
283 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
284 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
285 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
286 Use `user-error'.
287 (eww-bookmark-mode-map): Add menu.
288 (eww-render, eww-mode): Use `setq-local'.
289 (eww-tool-bar-map): New variable.
290 (eww-mode): Set `tool-bar-map'.
291 (eww-view-source): Check for `html-mode' with `fboundp'.
292
073d5cfd
LMI
2932013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
294
295 * net/shr.el (shr--extract-best-source): Don't bug out on audio
296 elements with text inside. Also remove debugging.
297
41cf3d11
JD
2982013-12-21 Jan Djärv <jan.h.d@swipnet.se>
299
300 * cus-start.el (all): Add ns-use-srgb-colorspace.
301
aac2b673
CY
3022013-12-21 Chong Yidong <cyd@gnu.org>
303
304 * custom.el (custom-theme-recalc-face): Do nothing if the face is
305 undefined. Thus, theme settings for undefined faces do not take
306 effect until the faces are defined with defface, the same as with
307 theme variables.
308
309 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
310 (face-spec-reset-face): Don't assign extra properties in temacs.
311 (face-spec-recalc): Apply X resources too.
312
bacb0e77
CY
3132013-12-21 Chong Yidong <cyd@gnu.org>
314
315 * faces.el (face-spec-set):
316 * cus-face.el (custom-theme-set-faces, custom-set-faces):
317 * custom.el (defface): Doc fixes (Bug#16203).
318
77221051
CY
319 * indent.el (indent-rigidly-map): Add docstring, and move commands
320 into named functions.
321 (indent-rigidly-left, indent-rigidly-right)
322 (indent-rigidly-left-to-tab-stop)
323 (indent-rigidly-right-to-tab-stop): New functions. Decide on
324 indentation direction based on bidi direction, and accumulate
325 sequential commands in a single undo boundary.
326 (indent-rigidly--pop-undo): New utility function.
327
e0eb0550
JB
3282013-12-20 Juanma Barranquero <lekktu@gmail.com>
329
330 * faces.el (read-face-name): Require crm.el when using crm-separator.
331
3282bd2e
DC
3322013-12-20 Daniel Colascione <dancol@dancol.org>
333
334 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
335 so that we don't reflow comments into the shebang line.
336
1d42e5b6
JL
3372013-12-20 Juri Linkov <juri@jurta.org>
338
339 * saveplace.el (save-place-to-alist): Add `dired-filename' as
340 a position when `dired-directory' is non-nil. Check integer
341 positions with `integerp'.
342 (toggle-save-place, save-places-to-alist): Add check for
343 `dired-directory'.
344 (save-place-find-file-hook): Check integer positions with
345 `integerp'.
346 (save-place-dired-hook): Use `dired-goto-file' when
347 `dired-filename' is found in the assoc list. Check integer
348 positions with `integerp'.
349 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
350
351 * dired.el (dired-initial-position-hook): Rename back from
352 `dired-initial-point-hook'.
353 (dired-initial-position): Rename `dired-initial-point-hook' to
354 `dired-initial-position-hook'.
355 (dired-file-name-at-point): Doc fix. (Bug#15329)
356
24da7273
JL
3572013-12-20 Juri Linkov <juri@jurta.org>
358
359 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
360 (read-regexp-suggestions): New function.
361 (read-regexp): Use `read-regexp-defaults-function' to get default values.
362 Use `read-regexp-suggestions'. Add non-empty default to history
363 for empty input.
364 (occur-read-regexp-defaults-function): Remove function.
365 (occur-read-primary-args): Use `regexp-history-last' instead of
366 `occur-read-regexp-defaults-function'.
367
368 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
369 (hi-lock-line-face-buffer, hi-lock-face-buffer)
370 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
371 `hi-lock-read-regexp-defaults-function'. Doc fix.
372 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
373 with `find-tag-default-as-symbol-regexp'. Doc fix.
374 (hi-lock-read-regexp-defaults): Remove function.
375 (hi-lock-regexp-okay): Add check for null.
376
377 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
378 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
379
380 * subr.el (find-tag-default-as-symbol-regexp): New function.
381 (find-tag-default-as-regexp): Move symbol regexp formatting to
382 `find-tag-default-as-symbol-regexp'.
383
137f57c8
S
3842013-12-20 E Sabof <esabof@gmail.com> (tiny change)
385
386 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
387 (Bug#14179)
388
f3a66082
SB
3892013-12-20 Stephen Berman <stephen.berman@gmx.net>
390
391 * calendar/todo-mode.el: New implementation of item insertion
392 commands and key bindings.
393 (todo-key-prompt): New face.
394 (todo-insert-item): New command.
395 (todo-insert-item--parameters): New defconst, replacing defvar
396 todo-insertion-commands-args-genlist.
397 (todo-insert-item--param-key-alist): New defconst, replacing
398 defvar todo-insertion-commands-arg-key-list.
399 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
400 (todo-insert-item--argsleft, todo-insert-item--apply-args)
401 (todo-insert-item--next-param): New functions.
402 (todo-insert-item--args, todo-insert-item--argleft)
403 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
404 New variables.
405 (todo-key-bindings-t): Change binding of "i" from
406 todo-insertion-map to todo-insert-item.
407 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
408 (todo-insertion-command-name, todo-insertion-commands-names)
409 (todo-define-insertion-command, todo-insertion-commands)
410 (todo-insertion-key-bindings, todo-insertion-map): Remove.
411
2f99433b
SB
4122013-12-20 Stephen Berman <stephen.berman@gmx.net>
413
414 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
415 (todo-toggle-item-highlighting): Use eval-and-compile instead of
416 eval-when-compile.
417 (todo-move-category): Allow choosing a non-existing todo file to
418 move the category to, and create that file.
419 (todo-default-priority): New user option.
420 (todo-set-item-priority): Use it.
421 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
422 (desktop-restore-file-buffer): Declare.
423 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
424 (todo-modes-set-2): Locally set desktop-save-buffer to
425 todo-desktop-save-buffer.
426 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
427 (auto-mode-alist): Add autoload cookie.
428
131e4695
BB
4292013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
430
431 * emacs-lisp/subr-x.el: Renamed from helpers.el.
432 helpers.el was a poor choice of name.
3cbfb935
BB
433 (string-remove-prefix): New function.
434 (string-remove-suffix): New function.
131e4695 435
c44de18d
MR
4362013-12-20 Martin Rudalics <rudalics@gmx.at>
437
438 Fix assignment for new window total sizes.
439 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
440 (window--pixel-to-total-1, window--pixel-to-total):
441 Fix calculation of new total sizes.
c44de18d 442
ca65efcc
VS
4432013-12-20 Vitalie Spinu <spinuvit@gmail.com>
444
445 * comint.el (comint-output-filter): Fix rear-nonsticky property
446 placement (Bug#16010).
447
a9574eb7
CY
4482013-12-20 Chong Yidong <cyd@gnu.org>
449
450 * faces.el (read-color): Minor fix for completion function.
451
b520f210
DG
4522013-12-20 Dmitry Gutov <dgutov@yandex.ru>
453
e0eb0550
JB
454 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
455 New option. (Bug#16182)
b520f210
DG
456 (ruby-smie--indent-to-stmt-p): Use it.
457 (ruby-smie-rules): Revert the logic in the handling of `when'.
458 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
459 (ruby-deep-arglist, ruby-deep-indent-paren)
460 (ruby-deep-indent-paren-style): Update docstrings to note that the
461 vars don't have any effect with SMIE.
462
26b75b45
JB
4632013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
464
465 * calc/calc.el (calc-enter, calc-pop): Use the variable
466 `calc-context-sensitive-enter'.
467
cf91cee7
LMI
4682013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
469
470 * net/shr.el (shr-insert): Protect against infloops in degenerate
471 tables.
472
51d971b4
RS
4732013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
474
475 * progmodes/octave.el (octave): Add link to manual and octave
476 homepage.
477 (octave-mode-menu): Link to octave-mode manual.
478
8c2e462a
LL
4792013-12-20 Leo Liu <sdl.web@gmail.com>
480
481 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
482 insertion using skeleton-end-newline. (Bug#16138)
483
501158bc
JL
4842013-12-20 Juri Linkov <juri@jurta.org>
485
486 * replace.el (occur-engine): Use `add-face-text-property'
487 to add the face property to matches and titles. (Bug#14645)
488
489 * hi-lock.el (hi-green): Use lighter color "light green" closer to
490 the palette of other hi-lock colors.
491 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
492
50ab1da6
JL
4932013-12-19 Juri Linkov <juri@jurta.org>
494
495 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
496 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
497 (minibuffer-history-symbol): Move variable declaration closer to
498 its usage.
499
500 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
501 (Bug#14785)
502
3d6e95e7
JL
5032013-12-19 Juri Linkov <juri@jurta.org>
504
505 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
506 New function.
507 (log-edit-hook): Add it to :options. (Bug#16170)
508
b41594fd
JL
5092013-12-19 Juri Linkov <juri@jurta.org>
510
511 * simple.el (eval-expression-print-format): Don't check for
512 command names and the last command. Always display additional
513 formats of the integer result in the echo area, and insert them
514 to the current buffer only with a zero prefix arg.
515 Display character when char-displayable-p is non-nil.
516 (eval-expression): With a zero prefix arg, set `print-length' and
517 `print-level' to nil, and insert the integer values from
518 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
519
520 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
521 `eval-last-sexp-arg-internal'. Doc fix.
522 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
523 `eval-last-sexp-print-value'. Doc fix.
524 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
525 Set `print-length' and `print-level' to nil when arg is zero.
526 (eval-last-sexp): Doc fix.
527 (eval-defun-2): Print the integer values from
528 `eval-expression-print-format' at the end.
529
530 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
531 values from `eval-expression-print-format' at the end.
532
533 * ielm.el (ielm-eval-input): Print the integer
534 values from `eval-expression-print-format' at the end.
535
8f2be364
TZ
5362013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
537
538 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
539 2013-12-11T19:01:44Z!tzz@lifelogs.com.
540
2230a6e3
SM
5412013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
544 (hl-line-highlight, global-hl-line-highlight): Use it.
545 (hl-line-overlay): Use defvar-local.
546
1269a680
JD
5472013-12-19 Jan Djärv <jan.h.d@swipnet.se>
548
549 * term/ns-win.el: Require dnd.
550 (global-map): Remove drag items.
551 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
552 (ns-set-background-at-mouse):
553 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
554 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
555 New functions.
1269a680 556
049638ad
GM
5572013-12-19 Glenn Morris <rgm@gnu.org>
558
559 * emacs-lisp/ert.el (ert-select-tests):
560 Fix string/symbol mixup. (Bug#16121)
561
ce41edb4
DG
5622013-12-19 Dmitry Gutov <dgutov@yandex.ru>
563
564 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
565 keywords to their parent.
566
7e1549c9
DG
5672013-12-19 Dmitry Gutov <dgutov@yandex.ru>
568
569 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
570 first arg to be a string (fixed dead code), or an operator symbol.
571 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
572 operator symbols.
573 (ruby-smie-rules): Remove parent token check in the `.' clause, it
574 did nothing. Don't respond to `(:after ".")', it will be called
575 with :before anyway. Remove the ` @ ' rule, it didn't seem to
576 change anything. Only return indentation for binary operators
577 when they are hanging. De-dent opening paren when its parent is
578 `.', otherwise it looks bad when the dot is not at bol or eol
579 (bug#16182).
580
3ee4cd64
JL
5812013-12-19 Juri Linkov <juri@jurta.org>
582
583 * replace.el (query-replace-read-args): Split a non-negative arg
584 and a negative arg into separate elements.
585 (query-replace, query-replace-regexp, replace-string)
586 (replace-regexp): Add arg `backward'. Doc fix.
587 (replace-match-maybe-edit): When new arg `backward' is non-nil,
588 move point to the beginning of the match.
589 (replace-search, replace-highlight): Use new arg `backward'
590 to set the value of `isearch-forward'.
591 (perform-replace): Add arg `backward' and use it to perform
592 replacement backward. (Bug#14979)
593
594 * isearch.el (isearch-query-replace): Use a negative prefix arg
595 to call `perform-replace' with a non-nil arg `backward'.
596
0cda6b7b
JL
5972013-12-18 Juri Linkov <juri@jurta.org>
598
599 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
600 to the default list. Move `log-edit-show-files' to the end.
601 Add more available functions to options.
602 (log-edit): Move default specific settings to
603 `log-edit-insert-message-template'. Don't move point.
604 (log-edit-insert-message-template): New function.
605 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
606 (Bug#16170)
607
b216f0a6
JL
6082013-12-18 Juri Linkov <juri@jurta.org>
609
610 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
611 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
612
1d1c55dc
LL
6132013-12-18 Leo Liu <sdl.web@gmail.com>
614
e9dc713d
JB
615 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
616 (Bug#16186)
1d1c55dc 617
64e4c76e
EZ
6182013-12-18 Eli Zaretskii <eliz@gnu.org>
619
620 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
621 formats for displaying file sizes when the -s switch is given.
622 Instead, compute a separate format for displaying the size in
623 blocks, which is displayed in addition to the "regular" size.
624 When -h is given in addition to -s, produce size in blocks in
625 human-readable form as well. (Bug#16179)
626
b2984e39
TH
6272013-12-18 Tassilo Horn <tsdh@gnu.org>
628
2230a6e3
SM
629 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
630 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 631
50ff2e06
CY
6322013-12-18 Chong Yidong <cyd@gnu.org>
633
0081bc84
CY
634 * cus-edit.el (custom-magic-alist): Fix "themed" description
635 (Bug#14348).
636
a7ee9424
CY
637 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
638 is non-nil, do not create a new entry in the symbol's theme-value
639 or theme-face property; update theme-settings only (Bug#14664).
18874304 640 (custom-available-themes): Doc fix.
a7ee9424 641
8f942537
CY
642 * cus-theme.el (custom-new-theme-mode-map): Add bindings
643 (Bug#15674).
644
50ff2e06
CY
645 * replace.el (occur-engine): Avoid infloop (Bug#7593).
646
83c60f60
KI
6472013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
648
649 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
650 (Bug#13914).
651
e0eb0550 6522013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
653
654 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
655
1f41ee56
GM
6562013-12-18 Glenn Morris <rgm@gnu.org>
657
658 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 659 * cus-start.el (load-prefer-newer): New option.
1f41ee56 660
e82134b1
LW
6612013-12-18 Le Wang <l26wang@gmail.com>
662
2230a6e3
SM
663 * comint.el (comint-previous-matching-input-from-input):
664 Retain point (Bug#13404).
e82134b1 665
33f5d4c1
CY
6662013-12-18 Chong Yidong <cyd@gnu.org>
667
668 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
669
ccc9f6dc
GM
6702013-12-18 Glenn Morris <rgm@gnu.org>
671
672 * mail/emacsbug.el (report-emacs-bug):
673 Only mention enable-multibyte-characters if non-standard.
674
33dd8e95
JL
6752013-12-17 Juri Linkov <juri@jurta.org>
676
677 * arc-mode.el (archive-extract-by-file): Check if directory exists
678 before deletion to not show irrelevant errors if it doesn't exist.
679
7a409b30
JL
6802013-12-17 Juri Linkov <juri@jurta.org>
681
682 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
683 (Bug#14751)
684
685 * net/eww.el (browse-web): Add alias to `eww'.
686 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
687 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
688
689 * net/browse-url.el (browse-url-browser-function): Move `eww'
690 closer to similar functions.
691
692 * startup.el (fancy-startup-screen, fancy-about-screen):
693 Set browse-url-browser-function to eww-browse-url locally.
694 (Bug#14751)
695
2d6b6005
SM
6962013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * window.el (window--pixel-to-total): Remove unused `mini' var.
699 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
700 (split-window): Remove unused `new' var.
701 (window--display-buffer): Remove unused `frame' and `delta' vars.
702 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
703 and display-width'.
704
cf2b7efc
MR
7052013-12-17 Martin Rudalics <rudalics@gmx.at>
706
707 * dired.el (dired-mark-pop-up):
708 * register.el (register-preview): Don't bind
709 split-height-threshold here since it's now done in
710 display-buffer-below-selected.
711
ed3af8a7 7122013-12-17 oblique <psyberbits@gmail.com> (tiny change)
713
714 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
715 xterm-rgb-convert-to-16bit.
716 (rxvt-register-default-colors): Standardize with
717 xterm-register-default-colors (Bug#14078).
718
76da3455
DK
7192013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
720
721 * simple.el (kill-region): Pass mark first, then point, so that
722 kill-append works right (Bug#12819).
723 (copy-region-as-kill, kill-ring-save): Likewise.
724
2b84d763
LL
7252013-12-17 Leo Liu <sdl.web@gmail.com>
726
727 * net/rcirc.el (rcirc-add-face):
728 * eshell/em-prompt.el (eshell-emit-prompt):
729 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
730 (Bug#16167)
731
e2f6a0bc
CY
7322013-12-17 Chong Yidong <cyd@gnu.org>
733
734 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
735 Suggested by Xue Fuqiao.
736
35b249a6
DG
7372013-12-17 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
740
e9145444
SM
7412013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * net/shr.el (shr-insert-document): Remove unused var
744 `shr-preliminary-table-render'.
745 (shr-rescale-image): Remove unused arg `force'.
746 (shr-put-image): Update calls accordingly.
747 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
748
5556c0ce
DG
7492013-12-17 Dmitry Gutov <dgutov@yandex.ru>
750
751 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
752 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
753 :close-all, to see which indentation method to use (Bug#16116).
754 (smie-rules-function): Document the method :close-all.
755
11bade0a
LMI
7562013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
757
1c4b1e61
LMI
758 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
759
11bade0a
LMI
760 * net/eww.el (eww-display-html): If we can't find the anchor we're
761 looking for, then go to point-min.
762
8fb8c4f3
PE
7632013-12-16 Paul Eggert <eggert@cs.ucla.edu>
764
765 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
766 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
767 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
768 Expand dir too, in case it's relative.
769
6c8e0ae6
JL
7702013-12-16 Juri Linkov <juri@jurta.org>
771
772 * desktop.el (desktop-auto-save-timeout): Change default to
773 `auto-save-timeout'. Doc fix.
774 (desktop-save): Skip the timestamp in desktop-saved-frameset
775 when checking for auto-save changes.
776 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
777 `desktop-auto-save' is called repeatedly by the idle timer.
778 (desktop-auto-save-set-timer): Replace `run-with-timer' with
779 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
780 (Bug#15331)
781
2178e858
JL
7822013-12-16 Juri Linkov <juri@jurta.org>
783
784 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
785 (Bug#16035)
786 (isearch-pre-command-hook): Check `this-command' for symbolp.
787
39cb42c6
SM
7882013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
791
5b9b750a
TZ
7922013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
793
794 * progmodes/cfengine.el (cfengine3--current-word): Remove.
795 (cfengine3--current-function): Bring in the current-function
796 functionality from `cfengine3--current-word'.
797 (cfengine3-completion-function): Bring in the
798 bounds-of-current-word functionality from
799 `cfengine3--current-word'.
800
d144ef06
MR
8012013-12-16 Martin Rudalics <rudalics@gmx.at>
802
39cb42c6
SM
803 * window.el (display-buffer-below-selected):
804 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 805
a8bbe298
LL
8062013-12-16 Leo Liu <sdl.web@gmail.com>
807
808 * progmodes/compile.el (compile-goto-error): Do not push-mark.
809 Remove NOMSG arg and all uses changed.
810
2013a2f9
SM
8112013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
814 (cua--deactivate-rectangle): Don't deactivate the mark.
815 (cua-set-rectangle-mark): Don't set mark-active since
816 cua--activate-rectangle already does it for us.
817 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
818 non-rectangular region.
819
820 * emulation/cua-base.el (cua-repeat-replace-region):
821 Use with-current-buffer.
822
823 * net/gnutls.el: Use cl-lib.
824 (gnutls-negotiate): `mapcan' -> cl-mapcan.
825
5ae811dd
TZ
8262013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
827
828 * emacs-lisp/package.el (package-built-in-p): Support both
829 built-in and the package.el converted package descriptions.
830 (package-show-package-list): Allow keywords.
831 (package-keyword-button-action): Use it instead of
832 `finder-list-matches'.
833 (package-menu-filter-interactive): Interactive filtering (by
834 keyword) function.
835 (package-menu--generate): Support keywords and change keymappings
836 and headers when they are given.
837 (package--has-keyword-p): Helper function.
838 (package-menu--refresh): Use it.
839 (package--mapc): Helper function.
840 (package-all-keywords): Use it.
841 (package-menu-mode-map): Set up menu items and keybindings to
842 provide a filtering UI.
843
31b4827e
TZ
8442013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
845
846 * net/gnutls.el (gnutls-verify-error): New defcustom to control
847 the behavior when a certificate fails validation. Defaults to
848 old behavior: never abort, just warn.
849 (gnutls-negotiate): Use it.
850
f93cc74f
MR
8512013-12-14 Martin Rudalics <rudalics@gmx.at>
852
853 * window.el (display-buffer-below-selected): Never split window
854 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
855
f77d7d17
TW
8562013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
857
858 * emacs-lisp/package.el (package--prepare-dependencies): New function.
859 (package-buffer-info): Use it (bug#15108).
aa2bddd7 860
7514d3f8
SM
8612013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
862
aa2bddd7 863 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 864 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 865
276bc333
DG
8662013-12-14 Dmitry Gutov <dgutov@yandex.ru>
867
868 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
869 open-paren tokens when preceded by a open-paren, too.
870 (ruby-smie-rules): Handle virtual indentation after open-paren
871 tokens specially. If there is code between it and eol, return the
872 column where is starts (Bug#16118).
873
d43957f3
TZ
8742013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
875
a5c1ac0c 876 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 877 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
878 (cfengine3--current-word): Fix parameters.
879 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
880 (cfengine3-completion-function, cfengine3--current-function):
881 Use `assq' for symbols.
d43957f3
TZ
882 (cfengine3--current-function): Fix `cfengine3--current-word' call.
883
06a4f110
GM
8842013-12-13 Glenn Morris <rgm@gnu.org>
885
886 * loadup.el (load-path): Warn if site-load or site-init changes it.
887 No more need to reset it when bootstrapping.
888
978a5fda
TZ
8892013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
890
891 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
892 locations for cf-promises.
893 (cfengine-mode-syntax-functions-regex): New caching variable.
894 (cfengine3-fallback-syntax): Fallback syntax for cases where
895 cf-promises doesn't run.
896 (cfengine3--current-word): Reimplement using
897 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
898 (cfengine3-completion-function, cfengine3--current-function):
899 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
900 (cfengine3-clear-syntax-cache): New function.
901 (cfengine3-make-syntax-cache): Simplify and create
902 `cfengine-mode-syntax-functions-regex' on demand.
903 (cfengine3-format-function-docstring): Don't call
904 `cfengine3-make-syntax-cache' explicitly.
905
71e6691e
MR
9062013-12-13 Martin Rudalics <rudalics@gmx.at>
907
908 Fix windmove-find-other-window broken after pixelwise resizing
909 (Bug#16017).
910 * windmove.el (windmove-other-window-loc): Revert change from
911 2013-12-04.
912 (windmove-find-other-window): Call window-in-direction.
913 * window.el (window-in-direction): New arguments SIGN, WRAP and
914 MINI to emulate original windmove-find-other-window behavior.
915
84c73ba0
DG
9162013-12-13 Dmitry Gutov <dgutov@yandex.ru>
917
918 * simple.el (blink-matching--overlay): New variable.
919 (blink-matching-open): Instead of moving point, highlight the
920 matching paren with an overlay
921 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
922
923 * faces.el (paren-showing-faces, show-paren-match)
924 (show-paren-mismatch): Move from paren.el.
925
b9e20952
LL
9262013-12-13 Leo Liu <sdl.web@gmail.com>
927
928 * indent.el (indent-region): Disable progress reporter in
929 minibuffer. (Bug#16108)
930
931 * bindings.el (visual-order-cursor-movement): Fix version.
932
ce030451
FEG
9332013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
934
935 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
936 Also match after beginning of line.
937 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 938 files. Thanks to Russell Sim. (Bug#15378)
ce030451 939
4a9c6865
JL
9402013-12-13 Juri Linkov <juri@jurta.org>
941
942 * simple.el <Keypad support>: Remove key bindings duplicated
943 with bindings.el. (Bug#14397)
944
2bc170c3
JL
9452013-12-13 Juri Linkov <juri@jurta.org>
946
947 * comint.el (comint-mode-map): Replace `delete-char' with
948 `delete-forward-char'. (Bug#16109)
949
bc9222c9
FEG
9502013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
951
aa2bddd7 952 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 953 Fix de-denters cornercase. (Bug#15731)
bc9222c9 954
cb3a1380
SM
9552013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
958 (advice--make): Pay attention to `depth'.
959 (advice--make-1): Don't autoload commands eagerly.
960 * emacs-lisp/elp.el (elp-instrument-function):
961 * emacs-lisp/trace.el (trace-function-internal):
962 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
963
964 * iswitchb.el (iswitchb-mode): Don't belittle ido.
965
01633a17
EZ
9662013-12-12 Eli Zaretskii <eliz@gnu.org>
967
968 * term/w32-win.el (w32-handle-dropped-file):
969 * startup.el (normal-top-level):
970 * net/browse-url.el (browse-url-file-url):
971 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
972 decode file names using 'utf-8' rather than
973 file-name-coding-system.
974
09faee72
FEG
9752013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
976
977 * progmodes/python.el (python-indent-context)
978 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 979 behavior for comment blocks. (Bug#15916)
09faee72 980
f4f84024 9812013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 982
cb3a1380
SM
983 * progmodes/python.el (python-indent-calculate-indentation):
984 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
985 operators when they are just string constituents. (Bug#15812)
986
d5ccb7be
JL
9872013-12-12 Juri Linkov <juri@jurta.org>
988
989 * uniquify.el (uniquify-buffer-name-style): Change default to
990 `post-forward-angle-brackets'.
991
992 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
993 `uniquify'. Change default to `post-forward-angle-brackets'.
994
7b3f5679
GM
9952013-12-11 Glenn Morris <rgm@gnu.org>
996
997 * emacs-lisp/package.el (finder-list-matches):
998 Autoload rather than falsely declaring.
999
f4fe8fdd
TZ
10002013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1001
1002 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1003 (eww-mode-map): Use them.
1004
3c29190f
MR
10052013-12-11 Martin Rudalics <rudalics@gmx.at>
1006
1007 * window.el (display-buffer-in-side-window): Fix doc-string
1008 (Bug#16115).
1009
0cd616a2
JB
10102013-12-11 Juanma Barranquero <lekktu@gmail.com>
1011
1012 * vc/vc-git.el: Silence byte-compiler warnings.
1013 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1014 (log-edit-set-header): Declare.
1015
3ef8e0d1
EZ
10162013-12-11 Eli Zaretskii <eliz@gnu.org>
1017
1018 * Makefile.in (custom-deps, finder-data): Run output file names
1019 through unmsys--file-name. (Bug#16099)
1020
afdadaf7
SM
10212013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1022
7ae3ae39 1023 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1024 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1025
5b4f37ab
SM
1026 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1027 instead of deleting the selection "by hand" (bug#16098).
1028 Rely on insert-for-yank to yank rectangles.
1029 (cua-highlight-region-shift-only): Mark obsolete.
1030 (cua-mode): Don't enable/disable transient-mark-mode,
1031 shift-select-mode (cua-mode works both with and without them), and
1032 pc-selection-mode (obsolete).
1033 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1034 (cua--deactivate-rectangle): Deactivate it.
1035
4b72c12b
SM
1036 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1037 (delete-selection-helper): Make sure yank starts at the top of the
1038 deleted region.
1039 (minibuffer-keyboard-quit): Use region-active-p.
1040
e82af72d
SM
1041 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1042
afdadaf7
SM
1043 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1044 to `delete' (bug#16109).
1045
ed4bc201
RS
10462013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1047
1048 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1049 info manual and show keybindings and set `:group' keyword.
1050
bb8097b9
JL
10512013-12-11 Juri Linkov <juri@jurta.org>
1052
1053 * delsel.el (delete-active-region): Let-bind `this-command'
1054 to prevent `kill-region' from changing its original value.
1055 (delete-selection-helper): Handle `overwrite-mode' for the type
1056 `kill' exactly the same way as for the type `t'.
1057 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1058 Support more commands. (Bug#13312)
1059
c1916ff5
JL
10602013-12-11 Juri Linkov <juri@jurta.org>
1061
1062 * bindings.el: Map kp keys to non-kp keys systematically
1063 with basic modifiers control, meta and shift. (Bug#14397)
1064
7514d3f8 10652013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1066
1067 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1068 "Close browser" menu items. Fix wrong function of "List
1069 bookmarks".
1070
4cc51eaf
JL
10712013-12-11 Juri Linkov <juri@jurta.org>
1072
1073 * misearch.el (multi-isearch-buffers): Set the value of
1074 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1075 arg of isearch-forward to t.
1076 (multi-isearch-buffers-regexp): Set the value of
1077 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1078 arg of isearch-forward-regexp to t.
1079 (multi-isearch-files): Set the value of
1080 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1081 arg of isearch-forward to t.
1082 (multi-isearch-files-regexp): Set the value of
1083 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1084 arg of isearch-forward-regexp to t. (Bug#16035)
1085
1086 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1087 arg of isearch-forward to t.
1088 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1089 arg of isearch-forward-regexp to t.
1090 (dired-isearch-filter-filenames): Remove unnecessary check for
1091 `dired-isearch-filenames'.
1092
1093 * comint.el (comint-history-isearch-backward):
1094 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1095 (comint-history-isearch-backward-regexp):
1096 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1097
ceac12b7
EZ
10982013-12-10 Eli Zaretskii <eliz@gnu.org>
1099
1100 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1101 unmsys--file-name. (Bug#16099)
1102
5a565782
TZ
11032013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1104
cb3a1380
SM
1105 * emacs-lisp/package.el (package-keyword-button-action):
1106 Remove finder.el require dependency.
5a565782 1107
a81fc7ba
TZ
11082013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1109
1110 * emacs-lisp/package.el: Require finder.el.
1111 (describe-package-1): Add keyword buttons.
1112 (package-make-button): New convenience function.
1113 (package-keyword-button-action): Keyword button action using
e0eb0550 1114 `finder-list-matches'.
a81fc7ba 1115
6aaca951
EZ
11162013-12-09 Eli Zaretskii <eliz@gnu.org>
1117
1118 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1119 last commit.
1120
a1099a91
MA
11212013-12-09 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1124 symlinked files.
1125
8212d9c0
DG
11262013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1127
1128 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1129 after the end of a percent literal.
1130
8f48d131
CD
11312013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1132
cb3a1380
SM
1133 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1134 Handle caret-delimited strings (Bug#16079).
8f48d131 1135
ff8c9764
DG
11362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1137
cb3a1380
SM
1138 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1139 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1140 `ruby-parse-partial' (Bug#16078).
1141
d64643b4
LL
11422013-12-09 Leo Liu <sdl.web@gmail.com>
1143
1144 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1145
47e59c66
DG
11462013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1149 (js-switch-indent-offset): New option.
1150 (js--proper-indentation): Use it. And handle the case when
1151 "default" is actually a key in an object literal.
1152 (js--same-line): New function.
1153 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1154 (js--indent-in-array-comp, js--array-comp-indentation):
1155 New functions.
47e59c66
DG
1156 (js--proper-indentation): Use them, to handle array comprehension
1157 continuations.
1158
974ebc9c
LL
11592013-12-08 Leo Liu <sdl.web@gmail.com>
1160
1161 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1162 (flymake-make-overlay): Remove arg MOUSE-FACE.
1163 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1164
27262e39
SM
11652013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1168 New function.
1169 (redisplay-highlight-region-function): Use it.
1170
1171 * emulation/cua-base.el (cua--explicit-region-start)
1172 (cua--last-region-shifted): Remove.
1173 (cua--deactivate): Use deactivate-mark.
1174 (cua--pre-command-handler-1): Don't handle shift-selection.
1175 (cua--post-command-handler-1): Don't change transient-mark-mode.
1176 (cua--select-keymaps): Use region-active-p rather than
1177 cua--explicit-region-start or cua--last-region-shifted.
1178 (cua-mode): Enable shift-select-mode.
1179
6407822c
LL
11802013-12-08 Leo Liu <sdl.web@gmail.com>
1181
27262e39
SM
1182 * progmodes/flymake.el (flymake-popup-current-error-menu):
1183 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1184 (flymake-posn-at-point-as-event, flymake-popup-menu)
1185 (flymake-make-emacs-menu): Remove. (Bug#16077)
1186
00a2b823
SM
11872013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1188
02033d49
SM
1189 * rect.el (rectangle-mark-mode): Activate mark even if
1190 transient-mark-mode is off (bug#16066).
1191 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1192 is > mark and at bolp.
1193
6f8dfccf
SM
1194 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1195 (region-extract-function): Use it.
1196 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1197 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1198 Delete functions.
1199 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1200 kill-ring-save, kill-region, delete-char, delete-forward-char.
1201 Ignore self-insert-iso.
1202
1203 * emulation/cua-gmrk.el (cua--init-global-mark):
1204 Ignore `self-insert-iso'.
1205
1206 * emulation/cua-base.el (cua--prefix-copy-handler)
1207 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1208 checking cua--rectangle.
1209 (cua-delete-region): Use region-extract-function.
1210 (cua-replace-region): Delete function.
1211 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1212 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1213 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1214 (cua--init-keymaps): Don't remap delete-selection commands.
1215 (cua-mode): Use delete-selection-mode instead of rolling our own
1216 (bug#16085).
1217
1218 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1219 Obey region-extract-function.
1220
00a2b823
SM
1221 Make registers and delete-selection-mode work on rectangles.
1222 * register.el (describe-register-1): Don't modify the register's value.
1223 (copy-to-register): Obey region-extract-function.
1224 * delsel.el (delete-active-region): Obey region-extract-function.
1225
a92fa5f1
LL
12262013-12-08 Leo Liu <sdl.web@gmail.com>
1227
1228 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1229 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1230 (flymake-compilation-prevents-syntax-check)
1231 (flymake-start-syntax-check-on-newline)
1232 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1233 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1234 (flymake-xml-program, flymake-master-file-dirs)
1235 (flymake-master-file-count-limit)
1236 (flymake-allowed-file-name-masks): Relocate.
1237 (flymake-makehash, flymake-float-time)
1238 (flymake-replace-regexp-in-string, flymake-split-string)
1239 (flymake-get-temp-dir): Remove.
1240 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1241 (flymake-current-row, flymake-selected-frame)
1242 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1243 related functions. (Bug#16077)
1244
73c8ceea
BB
12452013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1246
1247 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1248
faec28d9
TH
12492013-12-07 Tassilo Horn <tsdh@gnu.org>
1250
1251 * help-fns.el (describe-function-1): Use new advice-* functions
1252 rather than old ad-* functions. Fix function type description and
1253 source links for advised functions and subrs.
1254
e330b646
LMI
12552013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1256
00a2b823 1257 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1258
4803595d
MA
12592013-12-06 Michael Albinus <michael.albinus@gmx.de>
1260
1261 * progmodes/compile.el (compilation-start):
1262 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1263
1264 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1265 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1266
fa834a93
DG
12672013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1268
00a2b823
SM
1269 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1270 Touch up the last change.
fa834a93 1271
b2856a6f
LL
12722013-12-06 Leo Liu <sdl.web@gmail.com>
1273
1274 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1275 (inferior-octave-startup): Always use "octave> " for prompt.
1276 (octave-goto-function-definition)
1277 (octave-sync-function-file-names)
1278 (octave-find-definition-default-filename): Remove redundant backquotes.
1279
af67e79a
DG
12802013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1283 syntax for `?'.
1284 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1285 where appropriate already.
1286 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1287 end of method names (Bug#15874).
1288
bf093209
JL
12892013-12-06 Juri Linkov <juri@jurta.org>
1290
1291 * isearch.el (isearch--saved-overriding-local-map):
1292 New internal variable.
1293 (isearch-mode): Set it to the initial value of
1294 `overriding-terminal-local-map'.
1295 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1296 with `isearch--saved-overriding-local-map'. (Bug#16035)
1297
16588fad
DG
12982013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1299
00a2b823
SM
1300 * progmodes/octave.el (inferior-octave-completion-table):
1301 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1302 (Bug#11906). Update all references.
1303
1304 * minibuffer.el (completion-table-with-cache): New function.
1305
bf4906d7
CD
13062013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1307
1308 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1309
ff69c18f
TZ
13102013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1311
1312 * net/eww.el (eww-current-source): New variable to store page
1313 source.
1314 (eww-display-html, eww-mode, eww-save-history)
1315 (eww-restore-history): Use it.
1316 (eww-view-source): New command to view page source.
1317 Opportunistically uses `html-mode' to highlight the buffer.
1318 (eww-mode-map): Install it.
1319
b85eff45
MA
13202013-12-05 Michael Albinus <michael.albinus@gmx.de>
1321
1322 * net/dbus.el (dbus-unregister-service)
1323 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1324 Fix docstring.
1325 (dbus-unregister-service): Skip :serial entries in
1326 `dbus-registered-objects-table'.
1327 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1328
39eb0899
TZ
13292013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1330
1331 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1332 around keywords with extra `split-string' argument.
1333
456760a5
MR
13342013-12-04 Martin Rudalics <rudalics@gmx.at>
1335
1336 * windmove.el (windmove-other-window-loc): Handle navigation
1337 between windows (excluding the minibuffer window - Bug#16017).
1338
81961e4c
MA
13392013-12-04 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1342 in D-Bus type syntax.
1343 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1344 preserve unibyte strings. (Bug#16048)
1345
8497f938
SM
13462013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1349 Call force-mode-line-update is the proper buffer (bug#16042).
1350
dda61916
DG
13512013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1352
1353 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1354 `log-edit-remember-comment', make argument optional. Adjust all
1355 callers.
1356 (log-edit-mode): Add `log-edit-remember-comment' to
1357 `kill-buffer-hook' locally.
1358 (log-edit-kill-buffer): Don't remember comment explicitly since
1359 the buffer is killed anyway.
1360
c085e5b9
JL
13612013-12-04 Juri Linkov <juri@jurta.org>
1362
1363 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1364 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1365
e0eb0550 13662013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1367
1368 * notifications.el (notifications-close-notification): Call the
81961e4c 1369 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1370
39fa32d6
KY
13712013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1372
1373 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1374
9139632a
JL
13752013-12-03 Juri Linkov <juri@jurta.org>
1376
1377 * progmodes/compile.el (compilation-start): Rename window alist
1378 entry `no-display-ok' to `allow-no-window'.
1379
1380 * simple.el (shell-command): Add window alist entry
1381 `allow-no-window' to `display-buffer'.
1382 (async-shell-command): Doc fix.
1383
1384 * window.el (display-buffer-no-window): New action function.
1385 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1386
0f457a37
DG
13872013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * vc/log-edit.el (log-edit-set-header): Extract from
1390 `log-edit-toggle-header'.
1391 (log-edit-extract-headers): Separate the summary, when extracted
1392 from header, from the rest of the message with an empty line.
1393
1394 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1395 line, if present, to the Summary header.
1396
0962f376
SM
13972013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1400 in current-buffer (bug#16029).
1401
f345395c
HE
14022013-12-02 Helmut Eller <eller.helmut@gmail.com>
1403
1404 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1405 (debugger-mode-map): Bind it.
1406 (debugger--backtrace-base): New function.
1407 (debugger-eval-expression): Use it.
1408 (debugger-frame-number): Skip local vars when present.
1409 (debugger--locals-visible-p, debugger--insert-locals)
1410 (debugger--show-locals, debugger--hide-locals): New functions.
1411
a8a15d9d
MA
14122013-12-02 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1415 "LC_ALL".
1416 (tramp-get-remote-locale): New defun.
1417 (tramp-open-connection-setup-interactive-shell): Use it.
1418
0518b057
LL
14192013-12-02 Leo Liu <sdl.web@gmail.com>
1420
1421 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1422
1423 * progmodes/sh-script.el (sh-shell-process):
1424 * progmodes/octave.el (inferior-octave-process-live-p):
1425 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1426 (gdb-inferior-io-sentinel):
1427 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1428
3adc9c6d
DG
14292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1430
1431 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1432 `save-selected-window' to `log-edit-hide-buf'. This makes
1433 `log-edit-show-files' idempotent.
1434 (log-edit-show-files): Mark the new window as dedicated.
1435
47e8b74e
DG
14362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1437
1438 * vc/log-edit.el (log-edit-mode-map): Add binding for
1439 `log-edit-kill-biffer'.
1440 (log-edit-hide-buf): Add a FIXME comment.
1441 (log-edit-add-new-comment): New function, extracted from
1442 `log-edit-done'.
1443 (log-edit-done, log-edit-add-to-changelog): Use it.
1444 (log-edit-kill-buffer): New command.
1445
1f6e1bb0
LMI
14462013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1447
1448 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1449 instead of killing the buffer.
1450
fb651d15
SM
14512013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1454
8feacce0
RS
14552013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1456
fb651d15 1457 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1458 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1459 (eww-form-checkbox, eww-toggle-checkbox):
1460 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1461
e0eb0550 1462 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1463 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1464 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1465 no :src tag was specified.
1466
fb651d15 1467 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1468 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1469 Use \\` to match beginning of string instead of ^.
1470 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1471 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1472
177948a5
RS
1473 * net/shr.el (shr-tag-video): Display content for video if no
1474 poster is available.
eb2dd24d 1475 (shr-tag-audio): Add support for <audio> tag.
177948a5 1476
e0eb0550 1477 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1478 (eww-process-text-input): Treat input types in
1479 `eww-text-input-types' as text.
1480
8feacce0
RS
1481 * net/shr.el (shr-tag-table): Fix comment typo.
1482
513562a1
LMI
14832013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1484
1485 * net/eww.el (eww-follow-link): New command to avoid reloading
1486 pages when we follow #target links (bug#15243).
de8a5633 1487 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1488
9dd99753
KN
14892013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1490
1491 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1492 forms.
1493
3e9876de
LMI
14942013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1495
1496 * net/eww.el (eww-restore-history): Update the window title after
1497 moving in the history.
ab6dea82 1498 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1499
52789f7f
DG
15002013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1501
1502 * vc/log-edit.el (log-edit-mode-map): Add binding for
1503 `log-edit-beginning-of-line'.
1504 (log-edit-setup-add-author): New user option.
1505 (log-edit-beginning-of-line): New command.
1506 (log-edit): Move major mode call above the contents setup so that
1507 the local variable values are already applied.
1508 (log-edit): Only insert "Author: " when
1509 `log-edit-setup-add-author' is non-nil.
1510 (log-edit): When SETUP is non-nil, position point after ": "
1511 instead of point-min.
1512
2e6710c3
GM
15132013-12-01 Glenn Morris <rgm@gnu.org>
1514
1515 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1516
fadec31f
EZ
15172013-11-30 Eli Zaretskii <eliz@gnu.org>
1518
1519 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1520 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1521 visible. (Bug#16014)
1522
10634b40 15232013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1524
1525 Support resizing frames and windows pixelwise.
1526 * cus-start.el (frame-resize-pixelwise)
1527 (window-resize-pixelwise): New entries.
1528 * emacs-lisp/debug.el (debug): Use window-total-height instead
1529 of window-total-size.
1530 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1531 * help.el (describe-bindings-internal): Call help-buffer
1532 (temp-buffer-max-width): New option.
1533 (resize-temp-buffer-window, help-window-setup)
1534 (with-help-window): Rewrite.
1535 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1536 dragging dividers.
1537 * window.el (frame-char-size, window-min-pixel-height)
1538 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1539 (window-min-pixel-width, window-safe-min-pixel-size)
1540 (window-combination-p, window-safe-min-size)
1541 (window-resizable-p, window--size-to-pixel)
1542 (window--pixel-to-size, window--resize-apply-p): New functions.
1543 (window-safe-min-height): Fix doc-string.
1544 (window-size, window-min-size, window--min-size-1)
1545 (window-sizable, window-sizable-p, window--min-delta-1)
1546 (window-min-delta, window--max-delta-1, window-max-delta)
1547 (window--resizable, window--resizable-p, window-resizable)
1548 (window-full-height-p, window-full-width-p, window-at-side-p)
1549 (window--in-direction-2, window-in-direction)
1550 (window--resize-reset-1, window--resize-mini-window)
1551 (window-resize, window-resize-no-error)
1552 (window--resize-child-windows-normal)
1553 (window--resize-child-windows, window--resize-siblings)
1554 (window--resize-this-window, window--resize-root-window)
1555 (window--resize-root-window-vertically)
1556 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1557 (maximize-window, minimize-window, delete-window)
1558 (quit-restore-window, window-split-min-size, split-window)
1559 (balance-windows-2, balance-windows)
1560 (balance-windows-area-adjust, balance-windows-area)
1561 (window--state-get-1, window-state-get, window--state-put-1)
1562 (window--state-put-2, window-state-put)
fb651d15
SM
1563 (display-buffer-record-window, window--display-buffer):
1564 Make functions handle pixelwise sizing of windows.
880e6158 1565 (display-buffer--action-function-custom-type)
fb651d15
SM
1566 (display-buffer-fallback-action):
1567 Add display-buffer-in-previous-window.
880e6158
MR
1568 (display-buffer-use-some-window): Resize window to height it had
1569 before.
1570 (fit-window-to-buffer-horizontally): New option.
1571 (fit-frame-to-buffer): Describe new values.
1572 (fit-frame-to-buffer-bottom-margin): Replace with
1573 fit-frame-to-buffer-margins.
1574 (window--sanitize-margin): New function.
1575 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1576 using window-text-pixel-size.
1577
f9b697dd
GM
15782013-11-30 Glenn Morris <rgm@gnu.org>
1579
3e2fb4db
GM
1580 * emacs-lisp/bytecomp.el (byte-compile-form):
1581 Make the `interactive-only' warning like the `obsolete' one.
1582 * comint.el (comint-run):
1583 * files.el (insert-file-literally, insert-file):
1584 * replace.el (replace-string, replace-regexp):
1585 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1586 (goto-line, insert-buffer, next-line, previous-line):
1587 Tweak `interactive-only' spec.
1588
f9b697dd
GM
1589 Stop keeping (most) generated cedet grammar files in the repository.
1590 * Makefile.in (semantic): New.
1591 (compile-main): Depend on semantic.
1592
da048127
SM
15932013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1594
7784b779
SM
1595 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1596 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1597
4e36a6a6
SM
1598 * uniquify.el (uniquify-buffer-name-style): Change default.
1599
1600 * loadup.el: Preload "uniquify".
1601
e0ba1308
SM
1602 * time.el (display-time-update): Update all mode lines (bug#15999).
1603
da048127
SM
1604 * electric.el (electric-indent-mode): Enable by default.
1605 * loadup.el: Preload "electric".
1606
015b3b3e
BB
16072013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1608
1609 * emacs-lisp/helpers.el (string-empty-p): New function.
1610 (string-blank-p): New function.
1611
7efb806d
AP
16122013-11-29 Andreas Politz <politza@hochschule-trier.de>
1613
1614 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1615 (Bug#14029).
1616
c8f0efc2
AP
16172013-11-29 Andreas Politz <politza@fh-trier.de>
1618 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1619 allow non-lambda lists as functions.
1620 (imenu--in-alist): Don't recurse into non-subalists.
1621 (imenu): Don't pass function itself as an argument (Bug#14029).
1622
bd15d9d1
SM
16232013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * progmodes/python.el (python-mode-map): Remove binding for ":".
1626 (python-indent-electric-colon): Remove command.
1627 (python-indent-post-self-insert-function): Integrate the previous code
1628 of python-indent-electric-colon. Make it conditional on
1629 electric-indent-mode.
1630 (python-mode): Add ?: to electric-indent-chars.
1631 Move python-indent-post-self-insert-function to the end of
1632 post-self-insert-hook.
1633
1b10adb6
SM
16342013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1635
655ab9a3
SM
1636 * doc-view.el (doc-view-goto-page): Update mode-line.
1637
1b10adb6
SM
1638 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1639
7e3bf78c
GM
16402013-11-27 Glenn Morris <rgm@gnu.org>
1641
1642 * international/charprop.el, international/uni-bidi.el:
1643 * international/uni-category.el, international/uni-combining.el:
1644 * international/uni-comment.el, international/uni-decimal.el:
1645 * international/uni-decomposition.el, international/uni-digit.el:
1646 * international/uni-lowercase.el, international/uni-mirrored.el:
1647 * international/uni-name.el, international/uni-numeric.el:
1648 * international/uni-old-name.el, international/uni-titlecase.el:
1649 * international/uni-uppercase.el:
1650 Remove generated files from VCS repository.
1651
fb6a5d68
EZ
16522013-11-27 Eli Zaretskii <eliz@gnu.org>
1653
1654 * filenotify.el (file-notify-add-watch): Don't special-case
1655 w32notify when computing the directory to watch.
1656
cb6c95a3
GM
16572013-11-27 Glenn Morris <rgm@gnu.org>
1658
20372d0c
GM
1659 Make bootstrap without generated uni-*.el files possible again.
1660 * loadup.el: Update command-line-args checking for unidata-gen.
1661 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1662 * composite.el, international/characters.el:
1663 Handle unicode tables being undefined.
1664
52d6635f 1665 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1666 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1667 (compile-main): Depend on leim rule.
1668 (leim): New rule.
1669 * loadup.el: Move leim-list.el to leim/ subdirectory.
1670 * startup.el (normal-top-level): No more leim directory.
1671 * international/ja-dic-cnv.el (skkdic-convert):
1672 Disable version-control and autoloads in output files.
1673 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1674 Disable version-control and autoloads in output files.
1675 * leim/quail: Move here from ../leim.
1676 * leim/quail/hangul.el (hangul-input-method-activate):
1677 Add autoload cookie.
1678 (generated-autoload-load-name): Set file-local value.
1679 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1680 (generated-autoload-load-name): Set file-local value.
1681
7514d3f8 16822013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1683
e0eb0550 1684 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1685 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1686 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1687
0e2c793f
EZ
16882013-11-26 Eli Zaretskii <eliz@gnu.org>
1689
1690 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1691 reading output from Diff on MS-Windows and MS-DOS.
1692
447bdcb8
BB
16932013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1694
1695 * emacs-lisp/helpers.el (string-reverse): New function.
1696
5fbf6856
MA
16972013-11-26 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1700 names on MS Windows, like "/[::1]:".
1701
1702 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1703 SWITCHES.
1704
624780f0
GM
17052013-11-26 Glenn Morris <rgm@gnu.org>
1706
0bf3f0fa
GM
1707 * progmodes/python.el (python-indent-guess-indent-offset):
1708 Avoid corner-case error. (Bug#15975)
1709
624780f0
GM
1710 Preload leim-list.el. (Bug#4789)
1711 * loadup.el: Load leim-list.el when found.
1712 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1713
4301875e 17142013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1715
1716 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1717
4301875e
BB
1718 * emacs-lisp/helpers.el (string-join): New function.
1719
1633a815 17202013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1721
1722 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1723 Mark as obsolete and replace it with a symbol property.
1724 (byte-compile-form): Use new 'interactive-only property.
1725 * comint.el, files.el, replace.el, simple.el:
1726 Apply new 'interactive-only properly.
1727
00139435
MR
17282013-11-25 Martin Rudalics <rudalics@gmx.at>
1729
1730 * window.el (display-buffer-at-bottom): Make sure that
1731 split-window-sensibly creates the new window on bottom
1732 (Bug#15961).
1733
5f5b128d
DK
17342013-11-23 David Kastrup <dak@gnu.org>
1735
1736 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1737 on the conflict markers when available.
1738 (smerge--get-marker): New function.
1739 (smerge-end-re, smerge-base-re): Add subgroup.
1740
623891e5
SM
17412013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * frame.el (handle-focus-in, handle-focus-out): Add missing
1744 interactive spec.
1745
05ca27d8
MA
17462013-11-25 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1749 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1750
511fa0d3
SM
17512013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1752
e82ad66c
SM
1753 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1754 (gomoku--last-pos): New var.
1755 (gomoku--intangible-chars): New const.
1756 (gomoku--intangible): New function.
1757 (gomoku-mode): Use it. Derive from special-mode.
1758 (gomoku-move-up): Adjust line count.
1759 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1760 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1761 Simplify accordingly.
1762
511fa0d3
SM
1763 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1764 Remove blink-cursor code.
1765 (blink-cursor-timer-function, blink-cursor-suspend):
1766 Don't special-case GUIs.
1767 (blink-cursor-mode): Use focus-in/out-hook.
1768
6f20dd03
DG
17692013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1770
1771 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1772 work when annotation is invisible (Bug#13886).
1773
431dec31 17742013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1775
1776 * json.el (json-alist-p): Only return non-nil if the alist has
1777 simple keys (Bug#13518).
1778
431dec31 17792013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1780
1781 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1782 when control-statement is the first statement in a buffer (Bug#15956).
1783
ee4f0261
DG
17842013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1785
1786 * imenu.el (imenu-generic-skip-comments-and-strings):
1787 New option (Bug#15560).
1788 (imenu--generic-function): Use it.
1789
c484f866
JS
17902013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1791
e9dc713d
JB
1792 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1793 (Bug#13898)
c484f866 1794
41ce6f70
BB
17952013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1796
b55aea38
BB
1797 * emacs-lisp/helpers.el: Add some string helpers.
1798 (string-trim-left): Removes leading whitespace.
1799 (string-trim-right): Removes trailing whitespace.
1800 (string-trim): Removes leading and trailing whitespace.
1801
41ce6f70
BB
1802 * subr.el (string-suffix-p): New function.
1803
3cfb6af3
GM
18042013-11-23 Glenn Morris <rgm@gnu.org>
1805
1806 * progmodes/python.el (python-shell-send-file):
1807 Add option to delete file when done. (Bug#15647)
1808 (python-shell-send-string, python-shell-send-region): Use it.
1809
c27924b7
IS
18102013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1811
e1b01c7f
IS
1812 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1813 to set buffer-read-only to t, never to nil. (Bug#15938)
1814
c27924b7
IS
1815 * textmodes/tex-mode.el (latex-noindent-environments):
1816 Add safe-local-variable property. (Bug#15936)
1817
17e0445b
GM
18182013-11-23 Glenn Morris <rgm@gnu.org>
1819
92f78ea3
GM
1820 * textmodes/enriched.el (enriched-mode): Doc fix.
1821 * emacs-lisp/authors.el (authors-renamed-files-alist):
1822 Add enriched.doc -> enriched.txt.
1823
17e0445b
GM
1824 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1825
965bb23a
LL
18262013-11-22 Leo Liu <sdl.web@gmail.com>
1827
1828 * progmodes/octave.el (inferior-octave-startup): Spit out error
1829 message.
1830
d19ffd64
BB
18312013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1832
1833 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1834 Improve docstring.
15ba2182
BB
1835 Add :version.
1836 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1837
7a7567d2
LL
18382013-11-22 Leo Liu <sdl.web@gmail.com>
1839
1840 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1841 (Bug#15076)
8c09f64b
LL
1842 (octave-help-mode): Adapt to change to help-mode-finish to use
1843 derived-mode-p on 2013-09-17.
1844 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1845 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1846
724bc265
LL
18472013-11-22 Leo Liu <sdl.web@gmail.com>
1848
1849 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1850 (inferior-octave-startup, inferior-octave-check-process)
1851 (inferior-octave-track-window-width-change)
1852 (octave-completion-at-point, octave-eldoc-function): Use it.
1853 (octave-kill-process): Provide confirmation. (Bug#10564)
1854
38637cca
LL
18552013-11-21 Leo Liu <sdl.web@gmail.com>
1856
511fa0d3
SM
1857 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1858 Fix obsolete variable comment-use-global-state.
38637cca 1859
06e752b4
RS
18602013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1861
511fa0d3
SM
1862 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1863 Add `octave-source-file'.
06e752b4
RS
1864 (octave-source-file): New function. (Bug#15935)
1865
7514d3f8 18662013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1867
1868 * net/eww.el (eww-local-regex): New variable.
1869 (eww): Use it to detect localhost and similar.
1870
b6ffa04a
LL
18712013-11-21 Leo Liu <sdl.web@gmail.com>
1872
1873 Add completion for command `ag'.
2021a200
LL
1874 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1875 (pcomplete/ag): New function.
e9dc713d 1876 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1877
d1a6bccc
SM
18782013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1881 (bug#14646).
1882 (make-obsolete): Remove interactive spec.
1883
2df10228
GM
18842013-11-21 Glenn Morris <rgm@gnu.org>
1885
1886 * startup.el (command-line-1): Use path-separator with -L.
1887
86fd16b6
TZ
18882013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1889
1890 * emacs-lisp/package.el (describe-package-1): Add package archive
1891 to shown fields.
1892
0449d6cd 18932013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1894
1895 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1896 Change default to "# encoding: %s" to differentiate it from the
1897 default Ruby encoding comment template.
1898
dc7e8c17 18992013-11-20 era eriksson <era+emacsbugs@iki.fi>
1900
1901 * ses.el (ses-mode): Doc fix. (Bug#14748)
1902
f0cfa5fe
LL
19032013-11-20 Leo Liu <sdl.web@gmail.com>
1904
1905 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1906
826dc7b6
DN
19072013-11-19 Dan Nicolaescu <dann@gnu.org>
1908
1909 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1910 when rebase or bisect are in progress.
1911
a6e3a5d5
XF
19122013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1913
1914 * filenotify.el (file-notify-add-watch): Doc fix.
1915
f130cb76
LL
19162013-11-19 Leo Liu <sdl.web@gmail.com>
1917
e0855d7d
LL
1918 * obsolete/rcompile.el: Mark obsolete.
1919
f130cb76 1920 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1921 (compilation-goto-locus, compilation-find-file):
1922 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1923 (Bug#13594)
1924
1925 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1926 new parameter no-display-ok. Return either a window or nil
1927 but never a non-window value.
f130cb76 1928
1f35d401
SM
19292013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1930
25158c76
SM
1931 * electric.el (electric-indent-mode-map): Remove.
1932 (electric-indent-mode): Change the global-map instead (bug#15915).
1933
1934 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1935 Use add-function.
1f35d401 1936
9bc67baa
SM
19372013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1938
986545b5
SM
1939 * emacs-lisp/nadvice.el (remove-function): Align with
1940 add-function's behavior.
1941
9bc67baa
SM
1942 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1943 (gdb--string-regexp): New constant.
1944 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1945 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1946 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1947 submatch 1.
1948 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1949 Adjust use accordingly.
1950 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1951
56cd894e
AS
19522013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1953
1954 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1955 interpolation curlies (Bug#15914).
1956
014690de
JB
19572013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1958
1959 * calc/calc.el (calc-context-sensitive-enter): New variable.
1960 (calc-enter): Use `calc-context-sensitive-enter'.
1961
7e26a6c3
TZ
19622013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1963
1964 * progmodes/cfengine.el: Version bump.
1965 (cfengine-cf-promises): New defcustom to locate cf-promises.
1966 (cfengine3-vartypes): Add new "data" type.
1967 (cfengine3--current-word): New function to get current name-like
1968 word or its bounds.
1969 (cfengine3--current-function): New function to look up a CFEngine
1970 function's definition.
1971 (cfengine3-format-function-docstring): New function.
1972 (cfengine3-make-syntax-cache): New function.
1973 (cfengine3-documentation-function): New function: ElDoc glue.
1974 (cfengine3-completion-function): New function: completion glue.
1975 (cfengine3-mode): Set `compile-command',
1976 `eldoc-documentation-function', and add to
1977 `completion-at-point-functions'.
1978
355204dd
MA
19792013-11-16 Michael Albinus <michael.albinus@gmx.de>
1980
1981 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1982 `tramp-current-connection'.
1983
43cebc23
DG
19842013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1985
1986 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1987 nil/self/true/false with "end of symbol".
1988
a3fed6ff
BB
19892013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1990
1991 * subr.el (version-regexp-alist): Fix a typo.
1992
e675b3e4
MA
19932013-11-15 Michael Albinus <michael.albinus@gmx.de>
1994
1995 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1996 "en_US.utf8" and "LC_CTYPE" to "".
1997 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1998 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1999
a1f03e89
LL
20002013-11-15 Leo Liu <sdl.web@gmail.com>
2001
2002 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2003
5d9d9451
SM
20042013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2005
58362662
CS
2006 * progmodes/gud.el (ctl-x-map):
2007 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2008 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2009
6c1bf086
BB
20102013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2011
0d5363c4
BB
2012 * subr.el (version-regexp-alist):
2013 Recognize hg, svn and darcs versions as snapshot versions.
2014
4e9fc48c
BB
2015 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2016 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2017 (ruby--encoding-comment-required-p): Extract from
2018 `ruby-mode-set-encoding'.
2019 (ruby-mode-set-encoding): Add the ability to always insert an
2020 utf-8 encoding comment. Fix and simplify coding comment update
2021 logic.
6c1bf086 2022
2f7e72f8
MA
20232013-11-14 Michael Albinus <michael.albinus@gmx.de>
2024
2025 * net/tramp-gvfs.el (top): Run init code only when
2026 `tramp-gvfs-enabled' is not nil.
2027 (tramp-gvfs-enabled): Check also :system bus.
2028
0f137a73
SM
20292013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 Sync with upstream verilog-mode revision 78e66ba.
2032 * progmodes/verilog-mode.el (verilog-end-of-defun)
2033 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2034 (verilog-get-end-of-defun): Remove unused argument.
2035 (verilog-comment-depth): Remove unused local `e'.
2036 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2037 Don't pass arg to verilog-get-end-of-defun.
2038
1c276bdd
GM
20392013-11-14 Glenn Morris <rgm@gnu.org>
2040
2041 * obsolete/assoc.el (aget): Prefix dynamic variable.
2042
2043 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2044
ff6ec81d
SM
20452013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * widget.el, hfy-cmap.el: Remove bogus package version number.
2048
75f777b6
GM
20492013-11-13 Glenn Morris <rgm@gnu.org>
2050
1d43dba1
GM
2051 * replace.el (replace-eval-replacement):
2052 Try to give more helpful error message. (Bug#15836)
2053
ff4b7bd5
GM
2054 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2055 (archive-7z-update): Avoid custom type mismatches.
2056
75f777b6
GM
2057 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2058
11151a06
MA
20592013-11-13 Michael Albinus <michael.albinus@gmx.de>
2060
e675b3e4 2061 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2062 address can be empty.
2063
2064 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2065 Accept nil SWITCHES.
2066 (tramp-gvfs-handle-write-region): Implement APPEND.
2067
7b08f97e
DG
20682013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2069
2070 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2071 binary "|" operator and closing block args delimiter.
2072 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2073 (ruby-smie--implicit-semi-p): Not after "|" operator.
2074 (ruby-smie--closing-pipe-p): New function.
2075 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2076 (ruby-smie-rules): Indent after "|".
2077
f201cf3a
GM
20782013-11-12 Glenn Morris <rgm@gnu.org>
2079
2080 * ps-print.el (ps-face-attribute-list):
2081 Handle anonymous faces. (Bug#15827)
2082
e6f759f9
MR
20832013-11-12 Martin Rudalics <rudalics@gmx.at>
2084
2085 * window.el (display-buffer-other-frame): Fix doc-string.
2086 (Bug#15868)
2087
ecda65d4
SM
20882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2091
7ce8fcc3
MA
20922013-11-11 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2095 (tramp-sh-handle-file-local-copy): Don't write a message when
2096 saving temporary files.
2097
2098 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2099 both directories are remote.
2100 (tramp-smb-handle-directory-files): Do not return double entries.
2101 Do not expand full file names.
2102 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2103 (tramp-smb-handle-write-region): Implement APPEND.
2104 (tramp-smb-get-stat-capability): Fix a stupid bug.
2105
7818df11
SM
21062013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2109
608c2085
NT
21102013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2111
2112 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2113 throwing error over malformed let/let* (bug#15814).
2114
122a7e46
SM
21152013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * iswitchb.el (iswitchb-mode): Mark obsolete.
2118
766284d9
GM
21192013-11-11 Glenn Morris <rgm@gnu.org>
2120
2121 * international/uni-bidi.el, international/uni-category.el:
2122 * international/uni-name.el, international/uni-numeric.el:
2123 Regenerate for Unicode 6.3.0.
2124
7072a4e9
MA
21252013-11-10 Michael Albinus <michael.albinus@gmx.de>
2126
2127 * net/tramp.el (tramp-methods):
2128 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2129 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2130
c9df215b
AS
21312013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2132
608c2085
NT
2133 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2134 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2135
fa47d796
DG
21362013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2137
2138 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2139 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2140 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2141 (ispell-complete-word): Call `ispell-lookup-words' with the value
2142 independent of `ispell-look-p'.
2143
1629a329
DG
21442013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2145
2146 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2147 Not after "||".
2148 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2149 their parent.
2150
ad16897c
SM
21512013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2154 (ruby-font-lock-keywords): Use backquote.
2155
ffa2df72
DG
21562013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2159 (ruby-smie--backward-token): Only consider full-string matches.
2160
5b97b4c0
JD
21612013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2162
2163 * faces.el (describe-face): Add distant-foreground.
2164
71731c03
BB
21652013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2166
4e9fc48c
BB
2167 * progmodes/ruby-mode.el: Improve encoding comment handling.
2168 (ruby-encoding-magic-comment-style): New option.
2169 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2170 (ruby--insert-coding-comment, ruby--detect-encoding):
2171 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2172 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2173 to control the style of the auto-inserted encoding comment.
71731c03 2174
da3b328d
DG
21752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2176
ad16897c
SM
2177 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2178 Use `smie-backward-sexp' with token argument.
da3b328d 2179
1606c2d3
MA
21802013-11-08 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2183 Remove instrumentation code.
2184
b0f4c320
GM
21852013-11-08 Glenn Morris <rgm@gnu.org>
2186
2187 * progmodes/autoconf.el (autoconf-mode):
2188 Tweak comment-start-skip. (Bug#15822)
2189
43668fb1
SM
21902013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2193 at bobp (bug#15826).
2194 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2195
daddb3fd
DH
21962013-11-08 Darren Hoo <darren.hoo@gmail.com>
2197
2198 * man.el (Man-start-calling): New macro, extracted from
2199 Man-getpage-in-background.
2200 (Man-getpage-in-background): Use it.
2201 (Man-update-manpage): New command.
2202 (Man-mode-map): Bind it.
2203
1f923923
DG
22042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2205
2206 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2207 of "and", "or", "&&" and "||".
2208 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2209 argument. Prohibit opening curly brace because it could only be a
2210 block opener in that position.
daddb3fd
DH
2211 (ruby-smie--forward-token, ruby-smie--backward-token):
2212 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2213 arguments.
2214 (ruby-smie--indent-to-stmt): New function, seeks the end of
2215 previous statement or beginning of buffer.
2216 (ruby-smie-rules): Use it.
2217 (ruby-smie-rules): Check if there's a ":" before a curly block
2218 opener candidate; if there is, it's a hash.
2219
3220d527
SM
22202013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2223 (cl--block-wrapper): Fix last accidental change.
2224
1eb1f9e0
MA
22252013-11-07 Michael Albinus <michael.albinus@gmx.de>
2226
2227 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2228 Instrument, in order to hunt failure on hydra.
2229
e6e4db3c
NT
22302013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2231
2232 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2233 malformed bindings form (bug#15814).
2234
b420ccfc
DG
22352013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2236
2237 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2238 "." compared to " @ ". This incidentally fixes some indentation
2239 examples with "do".
e6e4db3c 2240 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2241 (ruby-smie-grammar): New tokens: "and" and "or".
2242 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2243 Exclude "and" and "or". Remove "do" in order to work around token
2244 priorities.
2245 (ruby-smie-rules): Add all infix tokens. Handle the case of
2246 beginning-of-buffer.
b420ccfc 2247
6b4ac03e
GM
22482013-11-06 Glenn Morris <rgm@gnu.org>
2249
2250 * Makefile.in (setwins_almost, setwins_for_subdirs):
2251 Avoid accidental matches.
2252
5ca114d1
SM
22532013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * menu-bar.el (popup-menu): Use key-binding.
2256
f72552bd
EZ
22572013-11-06 Eli Zaretskii <eliz@gnu.org>
2258
2259 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2260 menus, support also the menus produced by minor modes.
2261 (Bug#15817)
2262
5d5c701e
LL
22632013-11-06 Leo Liu <sdl.web@gmail.com>
2264
2265 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2266 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2267
0a8b75e2
GM
22682013-11-06 Glenn Morris <rgm@gnu.org>
2269
2270 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2271 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2272 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2273
a35287ea
SM
22742013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2275
feca4e2d
SM
2276 * electric.el (electric-indent-just-newline): New command.
2277 (electric-indent-mode-map): New keymap.
2278 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2279 Re-add :group which weren't redundant.
2280
a35287ea
SM
2281 * electric.el (electric-indent-local-mode): New minor mode.
2282 (electric-indent-functions-without-reindent): New var.
2283 (electric-indent-post-self-insert-function): Use it.
2284 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2285
375761b2
EZ
22862013-11-05 Eli Zaretskii <eliz@gnu.org>
2287
9a6ad735
EZ
2288 * international/quail.el (quail-help): Be more explicit about the
2289 meaning of the labels shown on the keys. (Bug#15800)
2290
375761b2
EZ
2291 * startup.el (normal-top-level): Load the subdirs.el files before
2292 setting the locale environment. (Bug#15805)
2293
520a6e4a
SM
22942013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2295
0acfafef
SM
2296 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2297 via arguments so as to get the right ones (bug#15418).
2298
520a6e4a
SM
2299 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2300
15826261
MA
23012013-11-05 Michael Albinus <michael.albinus@gmx.de>
2302
2303 Fix problems found while writing a test suite.
2304
2305 * net/tramp-compat.el (tramp-compat-load): New defun.
2306 * net/tramp.el (tramp-handle-load): Use it.
2307
2308 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2309 "(numberp ok-if-already-exists)" correctly.
2310
d35f31a4
XF
23112013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2312
2313 * international/characters.el (glyphless-char-display-control):
2314 Add usage note.
2315
ae93bc74
BB
23162013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2317
520a6e4a
SM
2318 * progmodes/python.el (python-mode):
2319 * progmodes/scheme.el (scheme-mode):
2320 * progmodes/prolog.el (prolog-mode):
2321 * progmodes/ruby-mode.el (ruby-mode):
2322 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2323 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2324
0ade65b5
SM
23252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2326
a0d5f7a4
SM
2327 * rect.el (rectangle--highlight-for-redisplay):
2328 * emacs-lisp/smie.el (smie--next-indent-change):
2329 Use buffer-chars-modified-tick.
2330
c93f3f5c
SM
2331 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2332
0ade65b5
SM
2333 * electric.el (electric-indent-post-self-insert-function):
2334 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2335
ef9dd188
HE
23362013-11-04 Helmut Eller <eller.helmut@gmail.com>
2337
2338 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2339
306e7308
NT
23402013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2341
2342 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2343 (bug#15786).
2344
e5afbcac
SM
23452013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2346
1d01ad41
SM
2347 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2348
e5afbcac
SM
2349 * progmodes/python.el: Fix up last change.
2350 (python-shell--save-temp-file): New function.
2351 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2352 `string' comes from the current buffer.
2353 (python-shell-send-string-no-output): Remove `msg' arg.
2354 (python--use-fake-loc): New var.
2355 (python-shell-buffer-substring): Obey it. Try to compensate for the
2356 extra coding line added by python-shell--save-temp-file.
2357 (python-shell-send-region): Use python-shell--save-temp-file and
2358 python-shell-send-file directly. Add `nomain' argument.
2359 (python-shell-send-buffer): Use python-shell-send-region.
2360 (python-electric-pair-string-delimiter): New function.
2361 (python-mode): Use it.
2362
d0065ff1
EZ
23632013-11-04 Eli Zaretskii <eliz@gnu.org>
2364
2365 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2366 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2367 environment and decoding all of the default-directory's to here
2368 from command-line.
2369 (command-line): Decode also argv[0].
2370
2371 * loadup.el: Error out if default-directory is a multibyte string
2372 when we are dumping.
2373
2374 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2375
7397c587
TZ
23762013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2377
2378 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2379 (package-menu--print-info, package-menu--archive-predicate):
2380 Add Archive column to package list.
7397c587 2381
b27cc9fc
MA
23822013-11-04 Michael Albinus <michael.albinus@gmx.de>
2383
2384 Fix problems found while writing a test suite.
2385
2386 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2387 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2388 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2389 to nil when running original file name handler. Otherwise,
2390 there are problems with constructs like "$$FOO".
2391
2392 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2393 for `localname'.
2394
d8c4f18a
BB
23952013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2396
7b530552
BB
2397 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2398
2399 * subr.el (version<, version<=, version=):
2400 Update docstrings with information for snapshot versions.
2401
d8c4f18a
BB
2402 * helpers.el: New library for misc helper functions.
2403 (hash-table-keys): New function returning a list of hash keys.
2404 (hash-table-values): New function returning a list of hash values.
2405
dca01b09
DG
24062013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2409 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2410
0a749fa0
MN
24112013-11-04 Michal Nazarewicz <mina86@mina86.com>
2412
2413 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2414 checking whether point is after a 1-letter word.
2415
24162013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2417
2418 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2419 Don't infloop when expanding region over `multiline' syntax-type that
2420 begins a line (bug#15778).
2421
4aca7145
SM
24222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2425 Make it into a proper minor mode.
2426 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2427 (rectangle-mark-mode-map): New keymap.
2428 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2429
a0833f62
GM
24302013-11-04 Glenn Morris <rgm@gnu.org>
2431
2432 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2433
e61845c1
SM
24342013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2437 (ruby-smie-rules): Use smie-rule-parent instead.
2438
2439 * emacs-lisp/smie.el (smie-rule-parent): Always call
2440 smie-indent-virtual rather than only for hanging tokens.
2441 (smie--next-indent-change): New helper command.
2442
62942f89
GM
24432013-11-03 Glenn Morris <rgm@gnu.org>
2444
2445 * Makefile.in (abs_srcdir): Remove.
2446 (emacs): Unset EMACSLOADPATH.
2447
b0b9e592
GM
24482013-11-02 Glenn Morris <rgm@gnu.org>
2449
18ba6a33 2450 * Makefile.in (EMACS): Use a relative filename.
8061810d 2451 (abs_top_builddir): Remove.
18ba6a33
GM
2452 (custom-deps, finder-data, autoloads): Use --chdir.
2453
6a8b929e
GM
2454 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2455
c617f3d0
GM
2456 Use relative filenames in TAGS files.
2457 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2458 (lisptagsfiles4, TAGS): Use relative file names.
2459 (TAGS-LISP): Remove.
2460 (maintainer-clean): No more TAGS-LISP file.
2461
b0b9e592
GM
2462 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2463 (lisptagsfiles4): Use absolute filenames again.
2464 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2465 Remove all *loaddefs files, not just the first. Remove esh-groups.
2466 (maintainer-clean): Delete TAGS, TAGS-LISP.
2467
d1c0ea6a
BB
24682013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2469
e61845c1
SM
2470 * emacs-lisp/package.el (package-version-join):
2471 Recognize snapshot versions.
d1c0ea6a 2472
684d71c6
BB
24732013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2474
2475 * subr.el (version-regexp-alist): Add support for snapshot versions.
2476
3d42b968
DG
24772013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2478
e61845c1
SM
2479 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2480 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2481 skip over our direct parent if it's an assignment token..
2482 (ruby-smie-rules): Use it.
2483
7ffd3721
DG
24842013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2485
8449dd1f 2486 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2487 unconditionally. Remove now unnecessary forward declarations.
2488 Remove XEmacs-specific setup.
2489 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2490 (ruby-font-lock-syntactic-keywords)
2491 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2492 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2493 (ruby-here-doc-end-syntax): Remove.
2494 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2495 defined as function.
2496
a3996a2e
BB
24972013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2498
2499 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2500
6f9260e8
BB
25012013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2502
2503 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2504 table and abbrev table, `define-derived-mode' does that for us
2505 anyway.
2506
6014de84
GM
25072013-11-01 Glenn Morris <rgm@gnu.org>
2508
2509 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2510 files is atomic for some time, so no parallel compilation issues).
2511
3c334c14
JD
25122013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2513
2514 * faces.el (face-x-resources): Add :distant-foreground.
2515 (region): Use :distant-foreground for gtk and ns.
2516
9bc236c8
TH
25172013-11-01 Tassilo Horn <tsdh@gnu.org>
2518
5246583b 2519 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2520 BibTeX.
2521 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2522 (reftex-locate-bibliography-files): Us it.
2523
d14c81ee
CB
25242013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2525
0e7690de
CB
2526 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2527 allow comments in pbm files.
2528
d14c81ee
CB
2529 * term/w32-win.el (dynamic-library-alist): Support newer versions
2530 of libjpeg starting with v7: look only for the DLL from the
2531 version against which Emacs was built.
ac1bf374 2532 Support versions of libpng beyond 1.4.x.
019c8218 2533 Support libtiff v4.x.
d14c81ee 2534
983d0df5
BB
25352013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2536
2537 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2538 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2539 Add property :safe.
2540 (ruby-deep-arglist): Add property :type.
2541
47f58d85
GM
25422013-10-31 Glenn Morris <rgm@gnu.org>
2543
2544 * Makefile.in (custom-deps, finder-data): No need to setq the target
2545 variables, we are in the right directory and the defaults work fine.
2546
4f85b479
GM
25472013-10-30 Glenn Morris <rgm@gnu.org>
2548
ca7dd4cd
GM
2549 * Makefile.in (autoloads): Do not use abs_lisp.
2550
4f85b479
GM
2551 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2552 `newline' does not respect `standard-output', so use `princ'.
2553
cf59e41c
AA
25542013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2555
2556 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2557 * buff-menu.el (Buffer-menu--unmark): New function.
2558 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2559
74cf04fb
GM
25602013-10-30 Glenn Morris <rgm@gnu.org>
2561
b040b60e
GM
2562 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2563
f53d3815
GM
2564 * emacs-lisp/package.el (lm-homepage): Declare.
2565
5413d873
GM
2566 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2567 Fix doc typos.
2568
cecedb36
GM
2569 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2570
74cf04fb
GM
2571 * Makefile.in (finder-data, autoloads, update-subdirs)
2572 (compile-main, compile-clean, compile-always, bootstrap-clean):
2573 Check return value of cd.
2574 (compile-calc): Remove.
2575
195ee2f0
SM
25762013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2577
ae4002ce
SM
2578 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2579
2580 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2581 (byte-compile-and-folded): New function.
2582 (=, <, >, <=, >=): Use it.
2583
2584 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2585 (path-separator, null-device, buffer-file-coding-system)
2586 (lpr-headers-switches): Check system-type before modifying them.
2587 (find-buffer-file-type-coding-system): Mark obsolete.
2588 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2589 find-file-not-found-set-buffer-file-coding-system.
2590 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2591 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2592 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2593 (w32-direct-print-region-helper, w32-direct-print-region-function)
2594 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2595 * startup.el (normal-top-level-add-subdirs-to-load-path):
2596 * ps-print.el (ps-print-region-function):
2597 * lpr.el (print-region-function): Use new name.
2598
53b39e89
SM
2599 * subr.el (custom-declare-variable-early): Remove function.
2600 (custom-declare-variable-list): Remove var.
2601 (error, user-error): Remove `while' loop.
2602 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2603 (user-emacs-directory-warning, locate-user-emacs-file):
2604 Move to files.el.
2605 * simple.el (read-quoted-char-radix, read-quoted-char):
2606 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2607 Move from subr.el.
2608 * custom.el (custom-declare-variable-list): Don't process
2609 custom-declare-variable-list.
2610
195ee2f0
SM
2611 * progmodes/python.el (python-shell-get-buffer): New function.
2612 (python-shell-get-process): Use it.
2613 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2614 Python which encoding was used. Don't split-string since we only care
2615 about the first line. Return the temp-file, if applicable.
2616 (python-shell-send-region): Tell compile.el how to turn locations in
2617 the temp-file into locations in the source buffer.
2618
7e3561ee
SM
26192013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2620
4c9797cb
SM
2621 * subr.el (undefined): Add missing behavior from the C code for
2622 unbound keys.
2623
3472b6c6
SM
2624 * rect.el: Use lexical-binding. Add new rectangular region support.
2625 (rectangle-mark): New command.
2626 (rectangle--region): New var.
2627 (deactivate-mark-hook): Reset rectangle--region.
2628 (rectangle--extract-region, rectangle--insert-for-yank)
2629 (rectangle--highlight-for-redisplay)
2630 (rectangle--unhighlight-for-redisplay): New functions.
2631 (region-extract-function, redisplay-unhighlight-region-function)
2632 (redisplay-highlight-region-function): Use them to handle
2633 rectangular region.
2634 * simple.el (region-extract-function): New var.
2635 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2636 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2637 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2638 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2639 (redisplay-unhighlight-region-function)
2640 (redisplay-highlight-region-function): New vars.
2641 (redisplay--update-region-highlight): New function.
2642 (pre-redisplay-function): Use it.
2643 (exchange-point-and-mark): Don't deactivate the mark before
2644 reactivate-it anyway.
2645 * comint.el (comint-kill-region): Remove yank-handler argument.
2646 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2647 (delete-char): Remove property, since it's now part of their
2648 default behavior.
2649 (self-insert-iso): Remove property since this command doesn't exist.
2650
7e3561ee
SM
2651 * emacs-lisp/package.el (package--download-one-archive)
2652 (describe-package-1): Don't query the user about final newline.
2653
b9bef71f
DC
26542013-10-29 Daniel Colascione <dancol@dancol.org>
2655
2656 * net/tramp.el (tramp-methods): Document new functionality.
2657 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2658 tramp-hostname-checker if method provides one instead of scanning
2659 argument list for "%h" to decide hostname acceptability.
2660
4efc33f0
MA
26612013-10-28 Michael Albinus <michael.albinus@gmx.de>
2662
2663 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2664 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2665 Handle COPY-CONTENTS. (Bug#15737)
2666
ed42a877
DU
26672013-10-28 Daiki Ueno <ueno@gnu.org>
2668
2669 * epa-file.el
7e3561ee
SM
2670 (epa-file-cache-passphrase-for-symmetric-encryption):
2671 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2672
18c9f8a2
XF
26732013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2674
7a4bc7be
XF
2675 * image.el (defimage):
2676 (image-load-path): Doc fixes.
18c9f8a2 2677
b1e8e010
AM
26782013-10-27 Alan Mackenzie <acm@muc.de>
2679
2680 Indent statements in macros following "##" correctly.
7e3561ee
SM
2681 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2682 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2683
73d40d1e 26842013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2685
2686 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2687
c8c605ac
DG
26882013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2691 after `=' is probably a new expression.
2692
ca7e59d4
RS
26932013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2694
2695 * man.el (man-imenu-title): New option.
2696 (Man-mode-map): Add menu. (Bug#15722)
2697 (Man-mode): Add imenu to menu.
2698
bae91342
DG
26992013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2700
2701 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2702 specific in what the first arg can be: a non-keyword word,
2703 string/regexp/percent literal opener, opening paren, or unary
2704 operator followed directly by word.
2705
eb89dc14
SM
27062013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2709 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2710 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2711 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2712 Remove vars, they do not apply any more.
2713 (prolog-mode-abbrev-table): Remove redundant declaration.
2714 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2715 (prolog-use-smie): Remove.
2716 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2717 supported by prolog-electric-if-then-else-flag.
2718 (prolog-mode-variables, prolog-menu): Use setq-local.
2719 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2720 Remove binding to `Backspace' since this key doesn't exist anyway.
2721 Remove bindings for electric self-inserting keys.
2722 (prog-mode): Assume it's defined.
2723 (prolog-post-self-insert): New function.
2724 (prolog-mode): Use it.
2725 (prolog-indent-line, prolog-indent-level)
2726 (prolog-find-indent-of-matching-paren)
2727 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2728 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2729 (prolog-goto-next-paren, prolog-in-string-or-comment)
2730 (prolog-tokenize, prolog-inside-mline-comment)
2731 (prolog-find-start-of-mline-comment): Remove functions.
2732 (prolog-find-unmatched-paren, prolog-clause-end)
2733 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2734 (prolog-electric--if-then-else): Rename from
2735 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2736 (prolog-tokenize-searchkey): Remove const.
2737 (prolog-clause-info): Use forward-sexp.
2738 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2739 (prolog-electric-if-then-else): Remove commands.
2740 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2741 for use in post-self-insert-hook.
2742 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2743 for use in post-self-insert-hook.
2744 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2745 for use in post-self-insert-hook.
2746 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2747 adapt it for use in post-self-insert-hook.
2748
3dab0a83
MA
27492013-10-25 Michael Albinus <michael.albinus@gmx.de>
2750
2751 * emacs-lisp/ert.el (ert-run-tests-interactively):
2752 Use `completing-read'. (Bug#9756)
2753
fbfd0e1d
EZ
27542013-10-25 Eli Zaretskii <eliz@gnu.org>
2755
2756 * simple.el (line-move): Call line-move-1 instead of
2757 line-move-visual when the current window hscroll is zero, but
2758 temporary-goal-column indicates we will need to hscroll as result
2759 of the movement. (Bug#15712)
2760
963ce636
DG
27612013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2762
2763 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2764 capitalization. Use :visible instead of :active.
2765 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2766 commands that are used with SMIE.
2767 (ruby-do-end-to-brace): Insert space after `{'.
2768
a0be396a
JA
27692013-10-25 John Anthony <john@jo.hnanthony.com>
2770
f73754c9
JA
2771 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2772
2773 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2774
f5bf77df
GM
27752013-10-25 Glenn Morris <rgm@gnu.org>
2776
2777 * vc/vc.el (vc-print-log): Don't use a working revision unless
2778 one was explicitly specified. (Bug#15322)
2779
37241f62
SM
27802013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * subr.el (add-to-list): Preserve return value in compiler-macro
2783 (bug#15692).
2784
6408a65d
RS
27852013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2786
2787 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2788 result. Ask user to retry using '-all' flag. (Bug#15701)
2789
71e3276b
SM
27902013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * emacs-lisp/smie.el: New smie-config system.
2793 (smie-config): New defcustom.
2794 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2795 (smie-config-guess, smie-config-save): New commands.
2796 (smie-config--mode-local, smie-config--buffer-local)
2797 (smie-config--trace, smie-config--modefuns): New vars.
2798 (smie-config--advice, smie-config--mode-hook)
2799 (smie-config--setter, smie-config-local, smie-config--get-trace)
2800 (smie-config--guess-value, smie-config--guess): New functions.
2801 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2802 text properties. Treat "string fence" syntax like string syntax.
2803
2804 * progmodes/sh-script.el (sh-use-smie): Change default.
2805 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2806 (sh-var-value): Simplify by CSE.
2807 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2808 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2809 is used.
2810 (sh-guess-basic-offset): Use cl-incf.
2811 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2812
60db713e
HE
28132013-10-24 Helmut Eller <eller.helmut@gmail.com>
2814
2815 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2816 (bug#15699).
2817
8b251df6
GM
28182013-10-24 Glenn Morris <rgm@gnu.org>
2819
2820 * Makefile.in (abs_top_srcdir): Remove.
2821 (update-subdirs): Use relative path to update-subdirs.
2822
6be0e22b
EZ
28232013-10-24 Eli Zaretskii <eliz@gnu.org>
2824
2825 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2826 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2827 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2828 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2829
50b5b857
MA
28302013-10-24 Michael Albinus <michael.albinus@gmx.de>
2831
2832 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2833 (ert-test-skipped): New error.
2834 (ert-skip, ert-stats-skipped): New defuns.
2835 (ert--skip-unless): New macro.
2836 (ert-test-skipped): New struct.
2837 (ert--run-test-debugger, ert-test-result-type-p)
2838 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2839 (ert--stats-set-test-and-result, ert-char-for-test-result)
2840 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2841 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2842 Handle skipped tests. (Bug#9803)
50b5b857 2843
6f317c2f
GM
28442013-10-24 Glenn Morris <rgm@gnu.org>
2845
e43817c1
GM
2846 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2847
6f317c2f
GM
2848 * Makefile.in (abs_top_srcdir): New, set by configure.
2849 (update-subdirs): Correct build-aux location.
2850
369bbf71
DG
28512013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2852
8297b2cf
DG
2853 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2854 value, whether we could auto-deduce `backend', or not.
2855
369bbf71
DG
2856 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2857 with parameters" example. Simplify the "is it block or is it
2858 hash" check, but also make it more thorough.
2859
d5f1282f
MF
28602013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2861
2862 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2863
bc4aaa31
SM
28642013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2865
03d44565
SM
2866 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2867 { if it is hanging.
2868
bc4aaa31
SM
2869 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2870 :before ";".
2871
f493ff19
JB
28722013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2873
2874 * progmodes/compile.el (compilation-directory-matcher)
2875 (compilation-page-delimiter):
2876 Support GNU Make-4.0 directory quoting. (Bug#15678)
2877
c744a3b9
LL
28782013-10-23 Leo Liu <sdl.web@gmail.com>
2879
2880 * ido.el (ido-tidy): Handle read-only text.
2881
b8e3b0a9
GM
28822013-10-23 Glenn Morris <rgm@gnu.org>
2883
2884 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2885 (emacs, compile, compile-always):
2886 Quote entities that might contain whitespace.
2887 (custom-deps, finder-data, autoloads): Use abs_lisp.
2888 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2889 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2890 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2891
ee4282cd
DG
28922013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2893
bc4aaa31
SM
2894 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2895 Use `following-char'.
7790a270 2896
ee4282cd 28972013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2898
2899 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2900 * progmodes/ruby-mode.el (ruby-smie-rules):
2901 Remove corresponding workaround. Fix indentation rule of ";" so it
2902 also applies when ";" is the parent.
2903
d40a46d7
XF
29042013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2905
2906 * frame.el (display-screens, display-pixel-height)
2907 (display-pixel-width, display-mm-width, display-backing-store)
2908 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2909 (display-visual-class, display-monitor-attributes-list):
2910 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2911
a0f143c9
MG
29122013-10-22 Michael Gauland <mikelygee@amuri.net>
2913
2914 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2915 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2916
18cacc39
DG
29172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2918
2919 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2920 TODO. Add "." after " @ ".
2921 (ruby-smie--at-dot-call): New function. Checks if point at method
2922 call with explicit target.
2923 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2924 to the method name tokens when it precedes them.
2925 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2926 (ruby-smie-rules): Add rule for indentation before and after "."
2927 token.
2928
df74c4be
SM
29292013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2930
c6dab55f
SM
2931 * textmodes/remember.el (remember-diary-extract-entries):
2932 Avoid add-to-list.
2933
df74c4be
SM
2934 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2935 an instruction.
2936
8c1ae481
DG
29372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2938
e9dc713d
JB
2939 * progmodes/ruby-mode.el (ruby-smie-grammar):
2940 Add (almost) all infix operators.
cfef16c0
DG
2941 (ruby-smie--implicit-semi-p): Add new operator chars.
2942
8c1ae481
DG
2943 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2944 `smie-down-list'.
2945 (ruby-smie--args-separator-p): Check that there's no newline
2946 between method call and its arguments.
2947
87756ca9
AM
29482013-10-20 Alan Mackenzie <acm@muc.de>
2949
2950 Allow comma separated lists after Java "implements".
2951
df74c4be
SM
2952 * progmodes/cc-engine.el (c-backward-over-enum-header):
2953 Parse commas.
87756ca9
AM
2954 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2955 from a "disallowed" list in enum fontification.
2956
c25f8957
JB
29572013-10-20 Johan Bockgård <bojohan@gnu.org>
2958
df74c4be 2959 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2960
c25f8957
JB
2961 * progmodes/verilog-mode.el (verilog-mode): Don't set
2962 comment-indent-function globally.
2963
aca5fcdc
JD
29642013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2965
5f161884
JD
2966 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2967 Move Info menu item creation to ns-win.el.
2968
2969 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2970 in menu bar.
2971
aca5fcdc
JD
2972 * menu-bar.el: Move GNUStep specific menus...
2973
2974 * term/ns-win.el (ns-initialize-window-system): ... to here.
2975
914b7f98
SM
29762013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * simple.el (newline): Only run post-self-insert-hook when
2979 called interactively.
2980
846ffe77
JB
29812013-10-19 Johan Bockgård <bojohan@gnu.org>
2982
2983 * icomplete.el (icomplete-with-completion-tables): Add :version.
2984
033f22dd
AM
29852013-10-19 Alan Mackenzie <acm@muc.de>
2986
2987 Fix fontification bugs with constructors and const.
2988
2989 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2990 CASE 2) Remove the check for the absence of a suffix construct
2991 after a function declaration with only types (no identifiers) in
2992 the parentheses. Also, accept a function declaration with just a
2993 type inside the parentheses, if this type can be positively
2994 recognised as such, or if a prefix keyword like "explicit" nails
2995 down the construct as a declaration.
2996
58ce0cfc
EZ
29972013-10-19 Eli Zaretskii <eliz@gnu.org>
2998
2999 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3000 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3001 the problem whereby selecting a menu item that leads to a
3002 minibuffer prompt moves the cursor out of the minibuffer window,
3003 making it hard to type at the prompt. Suggested by Stefan Monnier
3004 <monnier@iro.umontreal.ca>.
3005
50e28e7d
JD
30062013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3007
3008 * menu-bar.el: Don't make Services menu.
3009
7deed4bf
RS
30102013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3011
3012 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3013 (ffap-alist): Use ffap-c++-mode for c++-mode.
3014 (ffap-c++-path): New variable.
3015 (ffap-c++-mode): New function.
3016
7bcb455b
JVJ
30172013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3018
3019 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3020
f0ff1cd5
MA
30212013-10-18 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3024 introduced on 2013-09-08, which results in an infinite loop
3025 requesting a password.
3026
d64da4b7
GM
30272013-10-18 Glenn Morris <rgm@gnu.org>
3028
3029 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3030
ea89ff08
WS
30312013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3032
3033 Sync with upstream verilog-mode revision 1a6ecec7.
3034 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3035 (verilog-mode-release-date): Remove.
3036 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3037 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3038 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3039 (verilog-auto-tieoff-ignore-regexp)
3040 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3041 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3042 (verilog-signals-with, verilog-dir-cache-preserving)
3043 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3044 Doc fixes.
3045 (verilog-case-fold): New option, to control case folding in
3046 regexp searches, bug597.
3047 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3048 (verilog-string-match-fold, verilog-in-paren-count)
3049 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3050 (verilog-at-close-struct-p): New functions.
3051 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3052 (verilog-forward-sexp, verilog-set-auto-endcomments):
3053 (verilog-leap-to-case-head): Handle "unique0" case.
3054 (verilog-in-constraint-re): New constant.
3055 (verilog-keywords, verilog-type-font-keywords):
3056 Add some SystemVerilog 1800-2012 keywords.
3057 (verilog-label-be): Remove unimplemented argument, bug669.
3058 (verilog-batch-execute-func): When batch expanding clear
3059 create-lockfiles to prevent spurious user locks when a file ends
3060 up not changing.
3061 (verilog-calculate-indent, verilog-calc-1)
3062 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3063 (verilog-do-indent): Fix indentation of nested constraints
3064 and structures.
3065 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3066 (verilog-auto-inst-param): Use verilog-string-match-fold.
3067 (verilog-read-inst-module-matcher):
3068 Fix AUTOINST on gate primitives with #1.
3069 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3070 Reads all user-defined typed variables.
3071 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3072 (verilog-signals-matching-regexp)
3073 (verilog-signals-not-matching-regexp, verilog-auto):
3074 Respect verilog-case-fold.
3075 (verilog-diff-report): Fix line count.
3076 (verilog-auto-assign-modport): Remove unused local `modi'.
3077 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3078 better handle multidimensional arrays.
3079 Fix packed array ports misadding bit index in AUTOINST, bug637.
3080 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3081 to not double-declare existing outputs and inputs, respectively.
3082 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3083 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3084 (verilog-sk-uvm-component): New skeleton.
3085 (verilog-submit-bug-report): Add verilog-case-fold,
3086 remove verilog-mode-release-date.
3087
ef566920
BR
30882013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3089
3090 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3091 as before.
3092
29df8a0b
RT
30932013-10-18 Reuben Thomas <rrt@sc3d.org>
3094
e0eb0550 3095 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3096 remember buffers (bug#13566).
3097
04a19a79
DC
30982013-10-18 Daniel Colascione <dancol@dancol.org>
3099
3100 When evaluating forms in ielm, direct standard output to ielm
3101 buffer. Add new ielm-return-for-effect command. Remove trailing
3102 whitespace throughout.
3103
3104 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3105 (ielm-return-for-effect): New command.
3106 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3107 (ielm-eval-input): Accept optional `for-effect' parameter.
3108 Bind `standard-output' to stream we create using
04a19a79
DC
3109 `ielm-standard-output-impl'. Suppress printing result when
3110 `for-effect'.
3111 (ielm-standard-output-impl): New function.
3112 (inferior-emacs-lisp-mode): Explain new features in documentation.
3113
4c1f03ef
MA
31142013-10-17 Michael Albinus <michael.albinus@gmx.de>
3115
3116 Code cleanup.
3117
3118 * net/tramp.el (tramp-debug-message): Do not check for connection
3119 buffer.
3120 (tramp-message): Use "vector" connection property.
3121
3122 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3123 (tramp-equal-remote, tramp-eshell-directory-change)
3124 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3125 (tramp-adb-handle-rename-file)
3126 * net/tramp-cmds.el (tramp-list-remote-buffers)
3127 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3128 * net/tramp-compat.el (tramp-compat-process-running-p)
3129 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3130 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3131 (tramp-gvfs-handle-rename-file)
3132 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3133 (tramp-set-file-uid-gid)
3134 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3135 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3136 of `file-remote-p'.
3137
3138 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3139 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3140 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3141 (tramp-gw-open-network-stream): Suppress unrelated traces.
3142
3143 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3144 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3146 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3147 connection property.
3148
3149 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3150 persistency file.
4c1f03ef
MA
3151
3152 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3153 Refactor common code. Improve debug message.
3154 (tramp-maybe-open-connection)
3155 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3156 connection buffer too early.
3157
3158 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3159 from `tramp-smb-actions-with-acl'.
3160 (tramp-smb-actions-set-acl): New defconst.
3161 (tramp-smb-handle-copy-directory)
3162 (tramp-smb-action-get-acl): New defun, renamed from
3163 `tramp-smb-action-with-acl'.
3164 (tramp-smb-action-set-acl): New defun.
3165 (tramp-smb-handle-set-file-acl): Rewrite.
3166
642eb8b6
GM
31672013-10-17 Glenn Morris <rgm@gnu.org>
3168
3169 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3170
85527ff3
SM
31712013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3172
921c1d62
SM
3173 * skeleton.el (skeleton-newline): Remove.
3174 (skeleton-internal-1): Use (insert "\n") instead.
3175
e333fb10
SM
3176 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3177 let-bindings.
3178
85527ff3
SM
3179 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3180 forward-sexp-function while we redo its job (bug#15613).
3181
c8722a97
JB
31822013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3183
3184 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3185 represented by lists.
3186
7a550bbb
GM
31872013-10-16 Glenn Morris <rgm@gnu.org>
3188
3189 * tmm.el (tmm--history): New dynamic variable.
3190 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3191
f19da8ad
MA
31922013-10-16 Michael Albinus <michael.albinus@gmx.de>
3193
3194 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3195 (tramp-smb-errors): Add error messages.
3196 (tramp-smb-actions-with-acl): New defconst.
3197 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3198 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3199 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3200 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3201 (tramp-smb-get-stat-capability): Fix tests.
3202
a24b9961
DK
32032013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3204
3205 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3206 (bug#15580).
3207
62ad85e6
GM
32082013-10-16 Glenn Morris <rgm@gnu.org>
3209
0283d6b0
GM
3210 * ansi-color.el (ansi-color-drop-regexp):
3211 Add 1J, 1K, 2K. (Bug#15617)
3212
012e2f9f
GM
3213 * files.el (hack-local-variables--warned-lexical): New.
3214 (hack-local-variables):
3215 Warn about misplaced lexical-binding. (Bug#15616)
3216
62ad85e6
GM
3217 * net/eww.el (eww-render): Always set eww-current-url,
3218 and update header line. (Bug#15622)
3219 (eww-display-html): ... Rather than just doing it here.
3220
6456c0ea
EZ
32212013-10-15 Eli Zaretskii <eliz@gnu.org>
3222
3223 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3224 menu navigations commands.
3225
c2de5588
DK
32262013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3227
3228 * progmodes/subword.el (subword-capitalize): Be careful when
3229 the search for [[:alpha:]] fails (bug#15580).
3230
ccd4a783
EZ
32312013-10-14 Eli Zaretskii <eliz@gnu.org>
3232
3233 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3234 to commands that scroll the menu.
3235
1eda1d8d
DG
32362013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3237
c2de5588
DK
3238 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3239 Handle methods ending with `?' and `!'.
1eda1d8d 3240
e70181b8
AM
32412013-10-14 Akinori MUSHA <knu@iDaemons.org>
3242
3243 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3244 `japanese-cp932' to `cp932' to fix the problem where saving a
3245 source file written in Shift_JIS twice would end up having
3246 `coding: japanese-cp932' which Ruby could not recognize.
3247 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3248 in `ruby-encoding-map'.
3249 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3250 doesn't need to be explicitly declared in magic comment.
3251 (ruby-encoding-map): Add type declaration for better customize UI.
3252
9148ee92
GM
32532013-10-13 Glenn Morris <rgm@gnu.org>
3254
a5d38e34
GM
3255 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3256 Occur buffers are read-only. http://bugs.debian.org/720775
3257
9148ee92
GM
3258 * emacs-lisp/authors.el (authors-fixed-entries):
3259 Comment out old alpha stuff.
3260
a9ba094b
DG
32612013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3264 to `after-save-hook' instead of `before-save-hook'.
3265 (ruby-mode-set-encoding): Use the value of coding system used to
3266 write the file. Call `basic-save-buffer-1' after modifying the
3267 buffer.
3268
7a068717
AM
32692013-10-13 Alan Mackenzie <acm@muc.de>
3270
3271 Fix indentation/fontification of Java enum with
3272 "implements"/generic.
3273
c2de5588
DK
3274 * progmodes/cc-engine.el (c-backward-over-enum-header):
3275 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3276 (c-inside-bracelist-p): Uses new function above.
3277 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3278 function above.
3279 (c-font-lock-enum-tail): Uses new function above.
3280
85b64f02
KH
32812013-10-13 Kenichi Handa <handa@gnu.org>
3282
3283 * international/mule-cmds.el (select-safe-coding-system): Remove a
3284 superfluous condition in chekcing whether a coding system is safe
3285 or not.
3286
fc7f501b
OK
32872013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3288
3289 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3290
fdcb2049
AP
32912013-10-13 Andreas Politz <politza@hochschule-trier.de>
3292
3293 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3294
8c106d17
GM
32952013-10-13 Glenn Morris <rgm@gnu.org>
3296
feab892d
GM
3297 * menu-bar.el (menu-bar-update-buffers):
3298 Unify Buffers menu prompt string. (Bug#15576)
3299
b22d0686
GM
3300 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3301
8c106d17
GM
3302 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3303 Add some entries.
3304 (authors-fixed-entries): Use accented form of name.
3305
1b12c797
SM
33062013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3307
650fa7bf 3308 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3309 method calls (bug#15594).
650fa7bf
SM
3310 (ruby-smie--args-separator-p): New function.
3311 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3312 recognize paren-free method calls.
3313
1b12c797
SM
3314 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3315 internals of universal-argument.
3316
029619c8
EZ
33172013-10-11 Eli Zaretskii <eliz@gnu.org>
3318
3319 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3320 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3321 dropped menu on second mouse click on the menu bar.
029619c8 3322
dd070019
SM
33232013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3326 (explicit-shell-file-name): Declare.
3327 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3328 (sh-completion-at-point-function): New function.
3329 (sh-mode): Use it.
3330 (sh-smie--keyword-p): Remove unused argument.
3331 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3332 vars.
3333 (sh-set-shell): Always setup SMIE, even if we use the
3334 old indentation code.
3335
0922b826
DG
33362013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3337
b68e2926
DG
3338 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3339 cases of ? and =.
3340 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3341 predicate would return nil are almost non-existent.
3342 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3343
0922b826
DG
3344 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3345 cache also after commands that modify the buffer but don't move
3346 point.
3347
ee041f2d
SM
33482013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * env.el (substitute-env-in-file-name): New function.
3351 (substitute-env-vars): Extend the meaning of the optional arg.
3352
a5dab159
EZ
33532013-10-10 Eli Zaretskii <eliz@gnu.org>
3354
3355 * term/w32-win.el (dynamic-library-alist): Define separate lists
3356 of GIF DLLs for versions before and after 5.0.0 of giflib.
3357 (Bug#15531)
3358
0449d6cd 33592013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3360
3361 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3362 not locked, use last revision and current source as
3363 defaults. (Bug#15569)
3364
2f6e161e
MY
33652013-10-10 Masatake YAMATO <yamato@redhat.com>
3366
3367 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3368 menu-bar is hidden.
3369
6c8413fc
MR
33702013-10-10 Martin Rudalics <rudalics@gmx.at>
3371
3372 * window.el (pop-to-buffer-same-window): Fix doc-string.
3373 (Bug#15492)
3374
20832de0
SM
33752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3378
c6e8ae77
AC
33792013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3380
3381 * calendar/icalendar.el (icalendar-import-file):
3382 Fix interactive spec. (Bug#15482)
3383
9db13baf
GM
33842013-10-10 Glenn Morris <rgm@gnu.org>
3385
9271e90e
GM
3386 * desktop.el (desktop-save): Default to saving in .emacs.d,
3387 since PWD is no longer in desktop-path by default. (Bug#15319)
3388
9db13baf
GM
3389 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3390 now that text mode has a menu with the same entry.
3391 (menu-bar-text-mode-auto-fill): Remove now unused func.
3392 * textmodes/text-mode.el (text-mode-map):
3393 Use auto-fill help text from menu-bar.el.
3394
a0be396a 33952013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3396
3397 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3398
2edcd3c7
JL
33992013-10-09 Juri Linkov <juri@jurta.org>
3400
3401 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3402 instead of this-command-keys. Add universal-argument-more and
3403 universal-argument-minus to the list of prefix commands. (Bug#15568)
3404
574411d0
GM
34052013-10-09 Glenn Morris <rgm@gnu.org>
3406
14afa541
GM
3407 * vc/vc-svn.el (vc-svn-create-repo):
3408 Expand paths in file://... url. (Bug#15446)
3409
574411d0
GM
3410 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3411 Add some entries.
3412 (authors): Remove unused local variables.
3413
79804536
SM
34142013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * profiler.el: Create a more coherent calltree from partial backtraces.
3417 (profiler-format): Hide the tail with `invisible' so that C-s can still
3418 find the hidden elements.
3419 (profiler-calltree-depth): Don't recurse so enthusiastically.
3420 (profiler-function-equal): New hash-table-test.
3421 (profiler-calltree-build-unified): New function.
3422 (profiler-calltree-build): Use it.
3423 (profiler-report-make-name-part): Indent the calltree less.
3424 (profiler-report-mode): Add visibility specs for profiler-format.
3425 (profiler-report-expand-entry, profiler-report-toggle-entry):
3426 Expand the whole subtree when provided with a prefix arg.
3427
238150c8
DG
34282013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3429
3430 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3431 iuwu-mod token.
3432 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3433 hanging iuwu-mod token.
3434 (ruby-smie--forward-token): Do not include a dot after a token in
3435 that token.
3436 (ruby-smie--backward-token): Likewise.
3437
b0949cc4
JL
34382013-10-08 Juri Linkov <juri@jurta.org>
3439
3440 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3441 to isearch-other-control-char.
3442 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3443 and isearch-post-command-hook to post-command-hook.
3444 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3445 and isearch-post-command-hook from post-command-hook.
3446 (isearch-unread-key-sequence)
3447 (isearch-reread-key-sequence-naturally)
3448 (isearch-lookup-scroll-key, isearch-other-control-char)
3449 (isearch-other-meta-char): Remove functions.
3450 (isearch-pre-command-hook, isearch-post-command-hook):
3451 New functions based on isearch-other-meta-char rewritten
3452 relying on the new behavior of overriding-terminal-local-map
3453 that does not replace the local keymaps any more. (Bug#15200)
3454
4ed77415
EZ
34552013-10-08 Eli Zaretskii <eliz@gnu.org>
3456
3457 Support menus on text-mode terminals.
3458 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3459 functionality.
3460
3461 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3462
c2de5588
DK
3463 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3464 Move here from mouse.el.
4ed77415
EZ
3465 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3466 and arrow keys.
3467 (tty-menu-navigation-map): New map for TTY menu navigation.
3468
3469 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3470
3471 * frame.el (display-mouse-p): Report text-mode mouse as available
3472 on w32.
3473 (display-popup-menus-p): Report availability if mouse is
3474 available; don't condition on window-system.
3475
3476 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3477 (tty-menu-selected-face): New faces.
3478
b7d5bd82
TL
34792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3480
06286513
SM
3481 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3482 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3483 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3484 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3485 New constants.
3486 (lisp-mode-variables): New `elisp' argument.
3487 (emacs-lisp-mode): Use it.
3488 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3489 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3490
b7d5bd82
TL
3491 * indent.el: Use lexical-binding.
3492 (indent-region): Add progress reporter.
3493 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3494 last step.
3495 (indent--next-tab-stop): New function to implement this behavior.
3496 (tab-to-tab-stop, move-to-tab-stop): Use it.
3497
34982013-10-08 Teemu Likonen <tlikonen@iki.fi>
3499
3500 * indent.el (indent-rigidly--current-indentation): New function.
3501 (indent-rigidly-map): New var.
3502 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3503
5ea75d23
BG
35042013-10-08 Bastien Guerry <bzg@gnu.org>
3505
3506 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3507
cc5da1ec
SM
35082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3509
8ffa1a0b
SM
3510 * progmodes/perl-mode.el: Use lexical-binding.
3511 Remove redundant :group args.
3512 (perl-nochange): Change default to be closer to other major modes's
3513 standard behavior.
3514 (perl-indent-line): Don't consider text on current line as a
3515 valid beginning of function from which to indent.
3516
f2223371
SM
3517 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3518 with more than one argument (bug#15538).
3519
44256060
SM
3520 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3521
cc5da1ec
SM
3522 * vc/pcvs.el: Use lexical-binding.
3523 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3524 environment of `eval'.
3525 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3526 than a list of expressions. Adjust callers.
3527 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3528
0ea1599d
DG
35292013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3530
3531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3532 case of the dot in a chained method call being on the following line.
0ea1599d 3533
da3e5ebb
SM
35342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3535
2abb4e65
SM
3536 * electric.el (electric-indent-inhibit): New var.
3537 (electric-indent-post-self-insert-function): Use it.
3538 * progmodes/python.el (python-mode): Set it.
3539
d2e0e795
SM
3540 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3541 open braces.
3542
3543 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3544
bdc6b4c8
SM
3545 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3546 (css-mode): Use electric-indent-chars.
3547
da3e5ebb
SM
3548 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3549 (font-lock-beg, font-lock-end): Move before first use.
3550 (nxml-mode): Use syntax-propertize-function.
3551 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3552 (nxml-extend-after-change-region): Remove.
3553 * nxml/xmltok.el: Use lexical-binding.
3554 (xmltok-save): Use `declare'.
3555 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3556 * nxml/nxml-util.el: Use lexical-binding.
3557 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3558 Use `declare'.
3559 * nxml/nxml-ns.el: Use lexical-binding.
3560 (nxml-ns-save): Use `declare'.
3561 (nxml-ns-prefixes-for): Avoid add-to-list.
3562 * nxml/rng-match.el: Use lexical-binding.
3563 (rng--ipattern): Use cl-defstruct.
3564 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3565 (rng-cons-group-after, rng-subst-group-after)
3566 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3567 Use closures instead of `(lambda...).
3568
f8f91d5d
MA
35692013-10-07 Michael Albinus <michael.albinus@gmx.de>
3570
3571 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3572 of BEG and END.
3573
da3e5ebb
SM
3574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3575 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3576 (tramp-gvfs-handle-insert-file-contents): Remove function.
3577
da3e5ebb
SM
3578 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3579 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3580
3581 * net/trampver.el: Update release number.
3582
7ccae3b1
SM
35832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3584
55ca2c0d
SM
3585 * progmodes/compile.el (compilation-parse-errors):
3586 Use compilation--put-prop.
3587 (compilation--ensure-parse): Check compilation-multiline.
3588
731fc3ae
SM
3589 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3590
da3e5ebb
SM
3591 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3592 lexical-binding.
a5833280 3593
2e7ba2c2
SM
3594 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3595
7ccae3b1
SM
3596 * progmodes/ruby-mode.el: Fix recently added tests.
3597 (ruby-smie-grammar): Add - and +.
3598 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3599 (ruby-smie--backward-id): New functions.
3600 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3601 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3602 any more.
3603
85698d63
LL
36042013-10-07 Leo Liu <sdl.web@gmail.com>
3605
3606 * register.el (register-preview-delay)
3607 (register-preview-functions): New variables.
3608 (register-read-with-preview, register-preview)
3609 (register-describe-oneline): New functions.
3610 (point-to-register, window-configuration-to-register)
3611 (frame-configuration-to-register, jump-to-register)
3612 (number-to-register, view-register, insert-register)
3613 (copy-to-register, append-to-register, prepend-to-register)
3614 (copy-rectangle-to-register): Use register-read-with-preview to
3615 read register. (Bug#15525)
3616
3986af6c
DS
36172013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3618
3619 * net/network-stream.el (network-stream-open-starttls): Don't add
3620 --insecure if it's already present, because that gnutls-cli
3621 rejects getting that parameter twice.
3622
5cd9cda9
DG
36232013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3624
3625 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3626 keyword, too.
3627
da9ea6d9
DG
36282013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3629
3630 * newcomment.el (comment-use-global-state): Change default value
3631 to t, mark obsolete (Bug#15251).
3632 (comment-beginning): In addition to `comment-to-syntax', check the
3633 value of `comment-use-global-state'.
3634
34d1a133
SM
36352013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3638 (ruby-comment-column): Follow the global default, by default.
3639 (ruby-smie-grammar): Add assignment syntax.
3640 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3641 open-paren, a comma, or a \.
3642 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3643 and line continuations.
3644 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3645 followed by implicit semi-colons. Add rule for string concatenation
3646 and for indentation at BOB.
3647 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3648
3649 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3650 calling next-sexp, since next-token may have skipped chars which
3651 next-sexp doesn't know should be skipped!
3652
6f6ab820
LL
36532013-10-05 Leo Liu <sdl.web@gmail.com>
3654
34d1a133
SM
3655 * progmodes/octave.el (octave-send-region):
3656 Call compilation-forget-errors.
6f6ab820 3657
34ca0f4c
XF
36582013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3659
3660 * vc/vc-svn.el (vc-svn-find-admin-dir):
3661 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3662 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3663 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3664 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3665
a27c1b72
SM
36662013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3669
258ab3bc
SM
36702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * subr.el (read-passwd): Hide chars even when called within a context
3673 where after-change-functions is disabled (bug#15501).
3674 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3675 until we removed ourself from overriding-terminal-local-map.
3676
939fb29c
LL
36772013-10-04 Leo Liu <sdl.web@gmail.com>
3678
258ab3bc
SM
3679 * progmodes/octave.el (inferior-octave-mode):
3680 Call compilation-forget-errors.
939fb29c 3681
63bd7f35
XF
36822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3683
3684 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3685
9e6229fa
MA
36862013-10-04 Michael Albinus <michael.albinus@gmx.de>
3687
3688 * net/secrets.el (secrets-create-collection): Add optional
3689 argument ALIAS. Use proper Label keyword. Append ALIAS as
3690 dbus-call-method argument. (Bug#15516)
3691
1dab32a3
LL
36922013-10-04 Leo Liu <sdl.web@gmail.com>
3693
3694 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3695 (inferior-octave-compilation-font-lock-keywords): New variables.
3696 (compilation-error-regexp-alist)
3697 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3698 (inferior-octave-mode): Use compilation-shell-minor-mode.
3699
6cad7ba3
JS
37002013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3701
3702 * minibuffer.el (completion--replace): Be careful that `end' might be
3703 a marker.
3704
acbadd00
DU
37052013-10-03 Daiki Ueno <ueno@gnu.org>
3706
3707 Add support for package signature checking.
3708 * emacs-lisp/package.el (url-http-file-exists-p)
3709 (epg-make-context, epg-context-set-home-directory)
3710 (epg-verify-string, epg-context-result-for)
3711 (epg-signature-status, epg-signature-to-string)
3712 (epg-check-configuration, epg-configuration)
3713 (epg-import-keys-from-file): Declare.
3714 (package-check-signature): New user option.
3715 (package-unsigned-archives): New user option.
3716 (package-desc): Add `signed' field.
3717 (package-load-descriptor): Set `signed' field if .signed file exists.
3718 (package--archive-file-exists-p): New function.
3719 (package--check-signature): New function.
3720 (package-install-from-archive): Check package signature.
3721 (package--download-one-archive): Check archive signature.
3722 (package-delete): Remove .signed file.
3723 (package-import-keyring): New command.
3724 (package-refresh-contents): Import default keyring.
3725 (package-desc-status): Add "unsigned" status.
3726 (describe-package-1, package-menu--print-info)
3727 (package-menu-mark-delete, package-menu--find-upgrades)
3728 (package-menu--status-predicate): Support "unsigned" status.
3729
adf2aa61
SM
37302013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3733 the new compilation scheme using the new byte-codes.
3734
3735 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3736 (byte-pophandler): New byte codes.
3737 (byte-goto-ops): Adjust accordingly.
3738 (byte-compile--use-old-handlers): New var.
3739 (byte-compile-catch): Use new byte codes depending on
3740 byte-compile--use-old-handlers.
3741 (byte-compile-condition-case--old): Rename from
3742 byte-compile-condition-case.
3743 (byte-compile-condition-case--new): New function.
3744 (byte-compile-condition-case): New function that dispatches depending
3745 on byte-compile--use-old-handlers.
3746 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3747 when we can.
3748
3749 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3750 Optimize under `condition-case' and `catch' if
3751 byte-compile--use-old-handlers is nil.
3752 (disassemble-offset): Handle new bytecodes.
3753
328a8179
SM
37542013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * subr.el (error): Use `declare'.
3757 (decode-char, encode-char): Use advertised-calling-convention instead
3758 of the docstring to discourage use of the `restriction' arg.
3759
15a1e936
DU
37602013-10-03 Daiki Ueno <ueno@gnu.org>
3761
3762 * epg.el (epg-verify-file): Add a comment saying that it does not
3763 notify verification error as a return value nor a signal.
3764 (epg-verify-string): Ditto.
3765
376f862a
KR
37662013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3767
3768 * progmodes/compile.el (compilation-start): Try globbing the arg to
3769 `cd' (bug#15417).
3770
a2f93a5f
MA
37712013-10-02 Michael Albinus <michael.albinus@gmx.de>
3772
3773 Sync with Tramp 2.2.8.
3774
3775 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3776 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3777 * net/trampver.el: Update release number.
3778
0daa0804
JD
37792013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3780
3781 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3782 and default-process-coding-system for darwin only.
3783
abd1ae34
SM
37842013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3787
be4e325d
MH
37882013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3789
3790 * vc/vc-git.el (vc-git-grep): Disable pager.
3791
e9155c4a
DG
37922013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3793
494e898b
DG
3794 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3795 Use :url instead of :homepage, as per
3796 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3797
e9155c4a
DG
3798 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3799 non-nil, use `syntax-ppss' (Bug#15251).
3800
481a8e0f
RS
38012013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3802
be4e325d
MH
3803 * progmodes/octave.el (inferior-octave-startup-file):
3804 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3805
056453c6
DG
38062013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3807
be4e325d
MH
3808 * emacs-lisp/package.el (package-desc-from-define):
3809 Accept additional arguments as plist, convert them to an alist and store
3810 them in the `extras' slot.
056453c6
DG
3811 (package-generate-description-file): Convert extras alist back to
3812 plist and append to the `define-package' form arguments.
3813 (package--alist-to-plist): New function.
3814 (package--ac-desc): Add `extras' slot.
3815 (package--add-to-archive-contents): Check if the archive-contents
3816 vector is long enough, and if it is, pass its `extras' slot value
3817 to `package-desc-create'.
3818 (package-buffer-info): Call `lm-homepage', pass the returned value
3819 to `package-desc-from-define'.
3820 (describe-package-1): Render the homepage button (Bug#13291).
3821
be4e325d
MH
3822 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3823 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3824
832966e5
JD
38252013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3826
3827 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3828 and default-process-coding-system to utf-8-unix (Bug#15402).
3829
6cfe977d
XF
38302013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3831
3832 * subr.el (looking-back): Do not recommend using looking-back.
3833
38de11bd
AM
38342013-09-28 Alan Mackenzie <acm@muc.de>
3835
3836 Fix indentation/fontification of Java enum with "implements".
3837
3838 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3839 regexp which matches "implements", etc., in Java.
3840 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3841 specifier clauses coming after "enum".
3842 * progmodes/cc-fonts.el (c-font-lock-declarations)
3843 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3844 after "enum".
3845
1610938f
JD
38462013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3847
3848 * faces.el (region): Change ns_selection_color to
3849 ns_selection_fg_color, add ns_selection_bg_color.
3850
e090f499
LL
38512013-09-28 Leo Liu <sdl.web@gmail.com>
3852
4d2e94d1
LL
3853 * progmodes/octave.el (inferior-octave-completion-table)
3854 (inferior-octave-completion-at-point): Minor tweaks.
3855
e090f499
LL
3856 * textmodes/ispell.el (ispell-lookup-words): Rename from
3857 lookup-words. (Bug#15460)
3858 (lookup-words): Obsolete.
3859 (ispell-complete-word, ispell-command-loop): All uses changed.
3860
7e138a62
RS
38612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3862
3863 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3864 (octave-mode-menu): Add octave-send-buffer.
3865 (octave-send-buffer): New function.
3866
5af5ed08
RS
38672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3868
3869 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3870 octave-lookfor.
3871 (octave-mode-menu): Add octave-lookfor.
3872 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3873 octave-lookfor.
3874 (octave-lookfor): New function.
3875
3b7b2692
SM
38762013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/cl-macs.el:
3879 (cl--loop-destr-temps): Remove.
3880 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3881 its convention.
3882 (cl--loop-set-iterator-function): New function.
3883 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3884 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3885 Bind `it' with `let' instead of substituting it with `cl-subst'.
3886 (cl--unused-var-p): New function.
3887 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3888 Eliminate some unused variable warnings (bug#15326).
3889
529fb53f
TH
38902013-09-27 Tassilo Horn <tsdh@gnu.org>
3891
3892 * doc-view.el (doc-view-scale-reset): Rename from
3893 `doc-view-reset-zoom-level'.
3894 (doc-view-scale-adjust): New command.
3895 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3896 `doc-view-scale-adjust'.
3897
0550c95a
TH
38982013-09-26 Tassilo Horn <tsdh@gnu.org>
3899
3900 * doc-view.el (doc-view-reset-zoom-level): New command.
3901 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3902 zoom commands (bug#15466).
3903
6950f152
KH
39042013-09-26 Kenichi Handa <handa@gnu.org>
3905
3906 * international/quail.el (quail-help): Make it not a command.
3907
39587580
LL
39082013-09-26 Leo Liu <sdl.web@gmail.com>
3909
3910 * minibuffer.el (completion-all-sorted-completions): Make args
3911 optional as they are.
3912
00578659
DC
39132013-09-25 Daniel Colascione <dancol@dancol.org>
3914
3915 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3916 specs are and that they're not evaluated.
3917
0c173878
SS
39182013-09-24 Sam Steingold <sds@gnu.org>
3919
3920 * midnight.el (clean-buffer-list-kill-regexps)
3921 (clean-buffer-list-kill-buffer-names): Update for the new Man
3922 buffer naming which includes the object name.
3923
84998447
SM
39242013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3927 (eshell-parse-command, eshell-parse-pipeline): Use it since
3928 eshell-separate-commands requires a dynamic scoped var.
3929 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3930
33215353
LL
39312013-09-23 Leo Liu <sdl.web@gmail.com>
3932
3933 * autoinsert.el (auto-insert-alist): Make the value of
3934 lexical-binding match its file setting.
3935
57b16162
JB
39362013-09-23 Juanma Barranquero <lekktu@gmail.com>
3937
c8af4e67
JB
3938 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3939
57b16162
JB
3940 * autoarg.el (autoarg-kp-digit-argument):
3941 * electric.el (Electric-command-loop):
3942 * kmacro.el (kmacro-step-edit-insert):
3943 Do not set universal-argument-num-events.
3944
7186ba60
LL
39452013-09-22 Leo Liu <sdl.web@gmail.com>
3946
3947 * files.el (interpreter-mode-alist): Add octave.
3948
ece15004
AM
39492013-09-21 Alan Mackenzie <acm@muc.de>
3950
3951 C++: fontify identifier in declaration following "public:" correctly.
3952 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3953 to match "public", etc.
3954 (c-decl-prefix-re): Add ":" into the C++ value.
3955 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3956 bit. Add a check for a ":" preceded by "public", etc.
3957
75d83e22
EZ
39582013-09-21 Eli Zaretskii <eliz@gnu.org>
3959
3960 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3961 recognized by GDB 7.5 and later.
3962
d052d3bd
XF
39632013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3964
3965 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3966
31dca772
R
39672013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * subr.el (internal--call-interactively): New const.
3970 (called-interactively-p): Use it (bug#3984).
3971
98ccf24e
XF
39722013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3973
3974 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3975 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3976 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3977
c39cc7d1
SM
39782013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3981 (eshell-ls-orig-insert-directory): Remove.
3982 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3983 (eshell-ls-use-in-dired): Use advice-add/remove.
3984 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3985 Add `orig-fun' arg for use in :around advice.
3986 Make it check (redundantly) eshell-ls-use-in-dired.
3987
9a0289a2
GM
39882013-09-19 Glenn Morris <rgm@gnu.org>
3989
a2c501b8
GM
3990 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3991
c440407a
GM
3992 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3993
9a0289a2
GM
3994 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3995
85e05915
MA
39962013-09-19 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3999 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4000 (tramp-get-remote-python): New defuns.
4001 (tramp-get-remote-uid-with-perl)
4002 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4003 contributed by yary <not.com@gmail.com> (tiny change).
4004 (tramp-get-remote-uid-with-python)
4005 (tramp-get-remote-gid-with-python): New defuns. Python code
4006 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4007 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4008
ce503312
GM
40092013-09-19 Glenn Morris <rgm@gnu.org>
4010
f7544773
GM
4011 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4012
72fd2877
GM
4013 * eshell/em-unix.el (eshell-remove-entries):
4014 Rename argument to avoid name-clash with global `top-level'.
4015
336b5a56
GM
4016 * eshell/esh-proc.el (eshell-kill-process-function):
4017 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4018 (eshell-reset-after-proc): Remove unused arg `proc'.
4019
57a3a53d
GM
4020 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4021 (directory-files-and-attributes): Mark unused arg.
4022
3261d4af
GM
4023 * eshell/em-unix.el (eshell-remove-entries):
4024 Remove unused arg `path'. Update callers.
4025
8e51b5d0
GM
4026 * eshell/em-hist.el (eshell-hist-parse-arguments):
4027 Remove unused arg `silent'. Update callers.
4028
ce503312
GM
4029 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4030 Fix (f)boundp mix-up.
4031
4032 * eshell/em-smart.el (eshell-smart-scroll-window)
4033 (eshell-disable-after-change):
336b5a56 4034 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4035
ee3ce8a7
AM
40362013-09-18 Alan Mackenzie <acm@muc.de>
4037
4038 Fix fontification of type when followed by "const".
4039 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4040 "known" types from fontification.
4041
ec9177ba
GM
40422013-09-18 Glenn Morris <rgm@gnu.org>
4043
7bb3e768
GM
4044 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4045 (chart-face-list): Drop Emacsen without display-color-p.
4046
5148da15
GM
4047 * net/eww.el (libxml-parse-html-region): Declare.
4048 (eww-display-html): Explicit error if no libxml2 support.
4049
2f68e157
GM
4050 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4051
9019d095
GM
4052 * image.el (image-type-from-buffer, image-multi-frame-p):
4053 Remove --without-x warning/error.
67645389 4054
5f30349b 4055 * mouse.el (mouse-yank-primary):
45069b2e 4056 * term.el (term-mouse-paste):
5f30349b
GM
4057 Reorder to silence --without-x compilation.
4058
cd8edbbe
GM
4059 * mpc.el (doc-view-mode): Silence --without-x compilation.
4060
8a78544e
GM
4061 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4062 Silence --without-x compilation.
4063
12679bfd
GM
4064 * progmodes/gud.el (gud-find-file, gud-mode):
4065 Silence --without-x compilation.
4066 (tooltip-mode): Declare.
30810a05 4067
f0047cb9
GM
4068 * wdired.el (dired-backup-overwrite): Remove declaration.
4069 (wdired-mode-map): Add doc string.
4070
e740f9d2
GM
4071 * custom.el (x-get-resource): Declare.
4072
92d77c89
GM
4073 * eshell/em-glob.el (ange-cache):
4074 * eshell/em-unix.el (ange-cache): Declare.
4075
76e69577
GM
4076 * faces.el (x-display-list, x-open-connection, x-get-resource):
4077 Declare.
7e58af4b
GM
4078
4079 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4080 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4081 Declare.
76e69577 4082
4bd4c0af 4083 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4084
ffb82dbd
GM
4085 * net/gnutls.el (gnutls-log-level): Declare.
4086
986ed135
GM
4087 * net/shr.el (image-size, image-animate): Declare.
4088
e740f9d2
GM
4089 * simple.el (font-info): Declare.
4090
d2f3e9f8
GM
4091 * subr.el (x-popup-dialog): Declare.
4092
047a1a4c
GM
4093 * term/common-win.el (x-select-enable-primary)
4094 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4095 Declare.
4096
f4a1d572
GM
4097 * term/ns-win.el (x-handle-args): Declare.
4098
e843de77
GM
4099 * term/x-win.el (x-select-enable-clipboard): Declare.
4100
5fa89513
GM
4101 * term/w32-win.el (create-default-fontset): Declare.
4102
38702b5b
GM
4103 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4104 Declare.
4105
e740f9d2
GM
4106 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4107 (fit-frame-to-buffer): Explicit error if --without-x.
4108 (mouse-autoselect-window-select): Silence compiler.
4109
49a053fc
GM
4110 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4111
4112 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4113 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4114 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4115 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4116 Remove unused local variables.
4117
4118 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4119
ec9177ba
GM
4120 * textmodes/two-column.el: Make 2C-split work for --without-x.
4121 (scroll-bar-columns): Autoload.
4122 (top-level): Require fringe when compiling.
4123
9f25cb77
LL
41242013-09-18 Leo Liu <sdl.web@gmail.com>
4125
4126 * subr.el (add-hook): Robustify to handle closure as well.
4127
2b42da98
GM
41282013-09-17 Glenn Morris <rgm@gnu.org>
4129
4130 * simple.el (messages-buffer-mode-map): Unbind "g".
4131
e8b66a6a
SM
41322013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4133
9c0ad4f7
SM
4134 * help-mode.el (help-mode-finish): Use derived-mode-p.
4135 Remove obsolete highlighting.
4136
7a806dfb
SM
4137 * play/life.el (life-mode): Use define-derived-mode. Derive from
4138 special-mode.
4139 (life): Let-bind inhibit-read-only.
4140 (life-setup): Avoid `setq'. Use `life-mode'.
4141
96dbf5a8
SM
4142 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4143 which should not be needed any more.
4144 (package-menu-refresh, package-menu-describe-package): Use user-error.
4145
e8b66a6a
SM
4146 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4147 (eshell-post-rewrite-command-hook): Make obsolete.
4148 (eshell-parse-command): Simplify.
4149 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4150 (eshell--cmd): Declare.
4151 (eshell-parse-pipeline): Remove unused var `final-p'.
4152 Pass a dynvar to eshell-post-rewrite-command-hook.
4153 Implement the new eshell-post-rewrite-command-function.
4154 (eshell-invoke-directly): Remove unused arg `input'.
4155 * eshell/esh-io.el (eshell-io-initialize):
4156 Use eshell-post-rewrite-command-function (bug#15399).
4157 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4158 adjust to new calling convention.
4159 (eshell-create-handles): Rename args to avoid clashing with dynvar
4160 `standard-output'.
4161
90582f05
GM
41622013-09-17 Glenn Morris <rgm@gnu.org>
4163
4164 * simple.el (messages-buffer-mode): New major mode.
4165 (messages-buffer): New function.
4166 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4167 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4168 (ert-run-test): Use `messages-buffer' function.
90582f05 4169 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4170 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4171 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4172
39eb0cb5 41732013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4174
4175 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4176
1d42e5b6 4177 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4178
70568a90
SM
41792013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4180
504a0381
SM
4181 * icomplete.el (icomplete-in-buffer): New var.
4182 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4183 vars and replace them with functions.
4184 (icomplete-minibuffer-setup): Adjust accordingly.
4185 (icomplete--completion-table, icomplete--completion-predicate)
4186 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4187 New functions.
4188 (icomplete-forward-completions, icomplete-backward-completions)
4189 (icomplete-simple-completing-p, icomplete-exhibit)
4190 (icomplete-completions): Use them.
4191 (icomplete--in-region-buffer): New var.
4192 (icomplete--in-region-setup): New function.
4193 (icomplete-mode): Use it.
4194
70568a90
SM
4195 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4196 (bug#15379).
4197 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4198 return args and options.
4199 (eshell-eval-using-options): Use the new return value of
4200 eshell--do-opts to set the options's vars in their scope.
4201 (eshell--set-option): Rename from eshell-set-option.
4202 Add arg `opt-vals'.
4203 (eshell--process-option): Rename from eshell-process-option.
4204 Add arg `opt-vals'.
4205 (eshell--process-args): Use an `opt-vals' alist to store the options's
4206 values during their processing and return them additionally to the
4207 remaining args.
4208
578c21bc
DG
42092013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4210
4211 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4212 continuation character an operator, as far as indentation is
4213 concerned (Bug#15369).
4214
c089653d
MR
42152013-09-15 Martin Rudalics <rudalics@gmx.at>
4216
4217 * window.el (window--state-put-2): Don't process buffer state
4218 when buffer doesn't exist any more (Bug#15382).
4219
1e53bb4b
GM
42202013-09-15 Glenn Morris <rgm@gnu.org>
4221
30753242
GM
4222 * eshell/em-unix.el (eshell/rm):
4223 Make -f ignore missing files. (Bug#15373)
4224
1e53bb4b
GM
4225 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4226 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4227 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4228
0d8863b3
GM
42292013-09-14 Glenn Morris <rgm@gnu.org>
4230
4231 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4232
d3fc6549
GM
42332013-09-13 Glenn Morris <rgm@gnu.org>
4234
4235 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4236 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4237
fcd42c11
DA
42382013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4239
4240 * frame.el (x-focus-frame): Mark as declared in frame.c.
4241
7830899f
SM
42422013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * ls-lisp.el: Use advice-add.
4245 (original-insert-directory): Remove.
4246 (ls-lisp--insert-directory): Rename from insert-directory; add
4247 `orig-fun' argument.
4248 (insert-directory): Advise.
4249
84387cd2
EZ
42502013-09-13 Eli Zaretskii <eliz@gnu.org>
4251
4252 * term.el (term-emulate-terminal): Decode the command string
4253 before passing it to term-command-hook. (Bug#15337)
4254
35ffc6ba
GM
42552013-09-13 Glenn Morris <rgm@gnu.org>
4256
5c3f9bcc
GM
4257 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4258
2ada368a
GM
4259 * eshell/esh-ext.el (eshell-search-path): Declare.
4260
fcef2e13
GM
4261 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4262 Otherwise an error occurs if eshell-dirs module not loaded.
4263
35ffc6ba
GM
4264 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4265
35c3d36e
MA
42662013-09-13 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4269 `tramp-check-proper-host'. Check for a valid method name.
4270
4271 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4272 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4273 * net/tramp-sh.el (tramp-maybe-open-connection):
4274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4275
4276 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4277 also for hash values.
4278
ae5e4c48
SM
42792013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4280
379add74
SM
4281 * term/ns-win.el (parameters): Don't declare as dynamic.
4282 (before-make-frame-hook): Don't add ineffective function.
4283
ae5e4c48
SM
4284 * eshell/*.el: Use lexical-binding (bug#15231).
4285
b5623270
KH
42862013-09-12 Kenichi Handa <handa@gnu.org>
4287
ae5e4c48 4288 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4289
30213927
GM
42902013-09-12 Glenn Morris <rgm@gnu.org>
4291
be94d713 4292 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4293 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4294
44915370
GM
4295 * subr.el (do-after-load-evaluation): Also give compiler warnings
4296 when obsolete files are used (except by obsolete files).
4297
a6ae021f
GM
4298 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4299 in the status output, assume `filename' is the first. (Bug#15322)
4300
40e64f0c
GM
4301 * vc/vc.el (vc-deduce-fileset): Doc fix.
4302
16d9f896
GM
4303 * calc/calc-help.el (Info-goto-node):
4304 * progmodes/cperl-mode.el (Info-find-node):
4305 * vc/ediff.el (Info-goto-node): Update declarations.
4306
dea01c6e
GM
4307 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4308
759880bf 4309 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4310 (vc-bzr-pull): Require vc-dispatcher.
4311 * vc/vc-git.el (vc-compilation-mode): Declare.
4312 (vc-git-pull): Require vc-dispatcher.
4313
08d66420
GM
4314 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4315
30b626e9
GM
4316 * progmodes/octave.el (help-button-action): Declare.
4317
8c05cb10
GM
4318 * shell.el (shell-directory-tracker): Output error as a message
4319 rather than just returning it as a string.
4320 (shell-process-pushd): Remove useless use of message.
4321
30213927
GM
4322 * dframe.el (dframe-timer-fn):
4323 * files.el (dir-locals-read-from-file):
4324 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4325 (mpc-format):
4326 * reveal.el (reveal-post-command):
4327 * saveplace.el (load-save-place-alist-from-file):
4328 * shell.el (shell-resync-dirs):
4329 * w32-common-fns.el (x-get-selection-value):
4330 * emacs-lisp/copyright.el (copyright-find-copyright):
4331 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4332 * emulation/tpu-edt.el (tpu-copy-keyfile):
4333 * play/bubbles.el (bubbles--mark-neighbourhood):
4334 * progmodes/executable.el
4335 (executable-make-buffer-file-executable-if-script-p):
4336 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4337
d3b049e6
SM
43382013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4339
170266d0
SM
4340 Cleanup Eshell to rely less on dynamic scoping.
4341 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4342 last-value, and ext-command here. Bind `args' closer to `body'.
4343 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4344 (eshell--args): Declare new dynamic var.
4345 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4346 last-value, and ext-command. Pass `args' to `body'.
4347 (eshell-process-args): Bind eshell--args.
4348 (eshell-set-option): Use eshell--args.
4349 * eshell/eshell.el (eshell): Use derived-mode-p.
4350 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4351 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4352 (eshell-glob-function): Declare.
4353 * eshell/esh-util.el: Require cl-lib.
4354 (eshell-read-hosts-file): Avoid add-to-list.
4355 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4356 `err'.
4357 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4358 Declare.
4359 (eshell/diff): Remove unused var `err'.
4360 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4361 `killflag'.
4362 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4363 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4364 first use.
4365 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4366 Move declaration before first use.
4367 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4368 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4369 rely on cl-return.
4370
56834f3b
GM
43712013-09-12 Glenn Morris <rgm@gnu.org>
4372
4373 * term/ns-win.el (global-map): Remove binding for ispell-next,
4374 deleted 1999-05-29. (Bug#15357)
4375
5c91a2b8
GM
43762013-09-11 Glenn Morris <rgm@gnu.org>
4377
da712f22
GM
4378 * echistory.el (electric-command-history): Remove call to deleted func.
4379
512e4cdc
GM
4380 * play/landmark.el (landmark-mode): Fix typos.
4381
d3506ca5
GM
4382 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4383 Check cvs-sort-ignore-file is bound.
4384
5c91a2b8
GM
4385 * savehist.el: No need for cl when compiling on Emacs.
4386
feeff482
SM
43872013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4388
656bd483
SM
4389 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4390 (bug#15338).
d3b049e6
SM
4391 (eshell-self-insert-command, eshell-send-invisible):
4392 Remove unused argument.
656bd483
SM
4393 (eshell-handle-control-codes): Remove unused var `orig'.
4394 Avoid delete-backward-char.
4395
feeff482
SM
4396 * files.el (set-auto-mode): Simplify a bit further.
4397
2a08047a
GM
43982013-09-11 Glenn Morris <rgm@gnu.org>
4399
4400 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4401 (set-auto-mode): Don't regexp-quote elements.
4402 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4403 * progmodes/cc-mode.el (interpreter-mode-alist):
4404 * progmodes/ruby-mode.el (interpreter-mode-alist):
4405 Revert previous change.
4406
34675540
SM
44072013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4408
1b3b87df
SM
4409 * play/snake.el (snake-mode):
4410 * play/mpuz.el (mpuz-mode):
4411 * play/landmark.el (lm-mode):
4412 * play/blackbox.el (blackbox-mode):
4413 * play/5x5.el (5x5-mode):
4414 * obsolete/options.el (Edit-options-mode):
4415 * net/quickurl.el (quickurl-list-mode):
4416 * net/newst-treeview.el (newsticker-treeview-mode):
4417 * mail/rmailsum.el (rmail-summary-mode):
4418 * mail/mspools.el (mspools-mode):
4419 * locate.el (locate-mode):
4420 * ibuffer.el (ibuffer-mode):
4421 * emulation/ws-mode.el (wordstar-mode):
4422 * emacs-lisp/debug.el (debugger-mode):
4423 * array.el (array-mode):
4424 * net/eudc.el (eudc-mode): Use define-derived-mode.
4425 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4426 Move initialization into declaration.
4427 (mairix-searches-mode): Use define-derived-mode.
4428 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4429 (eudc-edit-hotlist): Use dolist.
4430 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4431 (Man-mode): Use define-derived-mode.
4432 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4433 (Info-edit-mode): Use define-derived-mode.
4434 (Info-cease-edit): Use Info-mode.
4435 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4436 into declaration.
4437 (eshell-mode): Use define-derived-mode.
4438 * chistory.el (command-history-mode-map): Rename from
4439 command-history-map.
4440 (command-history-mode): Use define-derived-mode.
da712f22 4441 (Command-history-setup): Remove function.
1b3b87df
SM
4442 * calc/calc.el (calc-trail-mode-map): New var.
4443 (calc-trail-mode): Use define-derived-mode.
4444 (calc-trail-buffer): Set calc-main-buffer manually.
4445 * bookmark.el (bookmark-insert-annotation): New function.
4446 (bookmark-edit-annotation): Use it.
4447 (bookmark-edit-annotation-mode): Make it a proper major mode.
4448 (bookmark-send-edited-annotation): Use derived-mode-p.
4449 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4450 closer to its ideal place. Use \' to match EOS.
4451
34675540
SM
4452 * profiler.el (profiler-calltree-find): Use function-equal.
4453
6a5c15d9
GM
44542013-09-10 Glenn Morris <rgm@gnu.org>
4455
1af4c220
GM
4456 * files.el (interpreter-mode-alist): Convert to regexps.
4457 (set-auto-mode): Adapt for this. (Bug#15306)
4458 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4459 Comment out unused variable.
4460 * progmodes/cc-mode.el (interpreter-mode-alist):
4461 * progmodes/python.el (interpreter-mode-alist):
4462 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4463 * progmodes/sh-script.el (sh-set-shell):
4464 No longer use interpreter-mode-alist to get list of shells.
4465
6a5c15d9
GM
4466 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4467
8c27f5ff
SM
44682013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4469
02ef6c1a 4470 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4471 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4472 Bind switch-frame explicitly. Replace universal-argument-minus with
4473 a conditional binding.
4474 (universal-argument-num-events, saved-overriding-map): Remove.
4475 (restore-overriding-map): Remove.
4476 (universal-argument--mode): Rename from save&set-overriding-map,
4477 and rewrite.
4478 (universal-argument, universal-argument-more, negative-argument)
4479 (digit-argument): Adjust accordingly.
4480 (universal-argument-minus): Remove.
4481 (universal-argument-other-key): Remove.
4482
8c27f5ff
SM
4483 * subr.el (with-demoted-errors): Add `format' argument.
4484
6480194c
MA
44852013-09-10 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4488 `tramp-cleanup-connection'.
4489
4490 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4491 parameters KEEP-DEBUG and KEEP-PASSWORD.
4492
4493 * net/tramp.el (tramp-file-name-handler):
4494 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4495 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4496 (tramp-maybe-open-connection):
8c27f5ff
SM
4497 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4498 Use `tramp-cleanup-connection'.
6480194c 4499
8c27f5ff
SM
4500 * net/tramp-sh.el (tramp-maybe-open-connection):
4501 Catch 'uname-changed inside the progress reporter.
6480194c 4502
e5e916d8
GM
45032013-09-10 Glenn Morris <rgm@gnu.org>
4504
9a2c9b47
GM
4505 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4506
e5e916d8
GM
4507 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4508 returns "alternate access method" in mode (eg "-rw-r--r--.").
4509
144e38fe
GM
45102013-09-08 Glenn Morris <rgm@gnu.org>
4511
4512 * saveplace.el (load-save-place-alist-from-file):
4513 Demote errors. (Bug#15305)
4514
af9ff9e8
MA
45152013-09-08 Michael Albinus <michael.albinus@gmx.de>
4516
4517 Improve compatibility with older Emacsen, and XEmacs.
4518
4519 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4520 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4521 (with-tramp-progress-reporter): Do not let-bind `result'.
4522 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4523 (tramp-handle-make-auto-save-file-name): New function, moved from
4524 tramp-sh.el.
4525
4526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4527 for `make-auto-save-file-name'.
8c27f5ff
SM
4528 (tramp-adb--gnu-switches-to-ash):
4529 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4530
4531 * net/tramp-cache.el (tramp-cache-print): Call
4532 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4533
4534 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4535 bound. It isn't for XEmacs.
4536
8c27f5ff
SM
4537 * net/tramp-compat.el (tramp-compat-copy-file):
4538 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4539 (tramp-compat-replace-regexp-in-string): New defun.
4540
4541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4542 for `make-auto-save-file-name'.
4543 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4544 `copy-file'.
4545 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4546 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4547 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4548
8c27f5ff
SM
4549 * net/tramp-gw.el (tramp-gw-open-network-stream):
4550 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4551
8c27f5ff
SM
4552 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4553 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4554 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4555 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4556 (tramp-sh-file-inotifywait-process-filter):
4557 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4558 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4559
4560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4561 for `make-auto-save-file-name'.
8c27f5ff
SM
4562 (tramp-smb-handle-copy-directory):
4563 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4564 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4565 (tramp-smb-handle-copy-file): Improve error message.
4566 (tramp-smb-handle-rename-file): Rename directly only in case
4567 `newname' does not exist yet. This is a restriction of smbclient.
4568 (tramp-smb-maybe-open-connection): Rerun the function only when
4569 `auth-sources' is non-nil.
4570
0ca754d0
KH
45712013-09-08 Kenichi Handa <handa@gnu.org>
4572
e0eb0550 4573 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4574 more characters.
4575
e8dd0787
AM
45762013-09-07 Alan Mackenzie <acm@muc.de>
4577
4578 Correctly fontify Java class constructors.
4579 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4580 in Java Mode.
4581 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4583 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4584 "typeless" declaration there.
4585
f2f248e7
RW
45862013-09-07 Roland Winkler <winkler@gnu.org>
4587
4588 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4589 field subtitle for entry type book.
4590
67982e2b
SM
45912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * minibuffer.el: Make minibuffer-complete call completion-in-region
4594 rather than other way around.
4595 (completion--some, completion-pcm--find-all-completions):
4596 Don't delay signals when debugging.
4597 (minibuffer-completion-contents): Beware fields within the
4598 minibuffer contents.
4599 (completion-all-sorted-completions): Use defvar-local.
4600 (completion--do-completion, completion--cache-all-sorted-completions)
4601 (completion-all-sorted-completions, minibuffer-force-complete):
4602 Add args `beg' and `end'.
4603 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4604 (minibuffer-complete): Use completion-in-region.
4605 (completion-complete-and-exit): New fun, extracted from
4606 minibuffer-complete-and-exit.
4607 (minibuffer-complete-and-exit): Use it.
4608 (completion--complete-and-exit): Rename from
4609 minibuffer--complete-and-exit.
4610 (completion-in-region--single-word): New function, extracted from
4611 minibuffer-complete-word.
4612 (minibuffer-complete-word): Use it.
4613 (display-completion-list): Make `common-substring' argument obsolete.
4614 (completion--in-region): Call completion--in-region-1 instead of
4615 minibuffer-complete.
4616 (completion-help-at-point): Pass boundaries to
4617 minibuffer-completion-help as args rather than via an overlay.
4618 (completion-pcm--string->pattern): Use `any-delim'.
4619 (completion-pcm--optimize-pattern): New function.
4620 (completion-pcm--pattern->regex): Handle `any-delim'.
4621 * icomplete.el (icomplete-forward-completions)
4622 (icomplete-backward-completions, icomplete-completions):
4623 Adjust calls to completion-all-sorted-completions and
4624 completion--cache-all-sorted-completions.
4625 (icomplete-with-completion-tables): Default to t.
4626 * emacs-lisp/crm.el (crm--current-element): Rename from
4627 crm--select-current-element. Don't put an overlay but return the
4628 boundaries instead.
4629 (crm--completion-command): Take two new args to bind to the boundaries.
4630 (crm-completion-help): Adjust accordingly.
4631 (crm-complete): Use completion-in-region.
4632 (crm-complete-word): Use completion-in-region--single-word.
4633 (crm-complete-and-exit): Use completion-complete-and-exit.
4634
e17d94a5
SM
46352013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4638 than dynamically.
4639
96727100
JL
46402013-09-06 Juri Linkov <juri@jurta.org>
4641
4642 * info.el (Info-display-images-node): When image file doesn't exist
4643 display text version of the image if it's provided in the Info file.
4644 Otherwise, display the location of missing image from SRC attribute.
4645 Add help-echo text property from ALT attribute. (Bug#15279)
4646
86cf7329
SM
46472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4650 (edit-abbrevs-mode): Use define-derived-mode.
4651
4652 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4653 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4654 that it's defined.
4655 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4656 Use define-derived-mode.
4657
4658 * epg.el (epg-start-encrypt): Minor CSE simplification.
4659
816244a2
WX
46602013-09-06 William Xu <william.xwl@gmail.com>
4661
4662 * arc-mode.el: Add support for 7za (bug#15264).
4663 (archive-7z-program): New var.
4664 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4665 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4666 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4667
1486fa31
MA
46682013-09-06 Michael Albinus <michael.albinus@gmx.de>
4669
4670 Remove URL syntax.
4671
4672 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4673 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4674 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4675 (tramp-postfix-host-format, tramp-file-name-regexp)
4676 (tramp-completion-file-name-regexp)
4677 (tramp-completion-dissect-file-name)
4678 (tramp-handle-substitute-in-file-name): Remove 'url case.
4679 (tramp-file-name-regexp-url)
4680 (tramp-completion-file-name-regexp-url): Remove constants.
4681
39785324
GM
46822013-09-06 Glenn Morris <rgm@gnu.org>
4683
4684 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4685
1f896cb7
DG
46862013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4689 keywords" below "here-doc beginnings" (Bug#15270).
4690
c0458e0b
SM
46912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * subr.el (pop): Use `car-safe'.
4694 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4695 to detect unused `pop' return value.
4696
4697 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4698 var `block-regexp'.
4699 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4700 (python-fill-string): Remove unused var `marker'.
4701 (python-skeleton-add-menu-items): Remove unused var `items'.
4702
4703 * international/mule-cmds.el: Require CL.
4704 (find-coding-systems-for-charsets): Avoid add-to-list.
4705 (sanitize-coding-system-list): New function, extracted from
4706 select-safe-coding-system-interactively.
4707 (select-safe-coding-system-interactively): Use it.
4708 (read-input-method-name): Accept symbols for `default'.
4709
4710 * emacs-lisp/advice.el (defadvice): Add indent rule.
4711
6c42fc3e
DH
47122013-09-05 Daniel Hackney <dan@haxney.org>
4713
4714 * dired-x.el:
4715 * net/ange-ftp.el:
4716 * net/browse-url.el:
4717 * net/dbus.el:
4718 * net/eudc.el:
4719 * net/eudcb-ldap.el:
4720 * net/eww.el:
4721 * net/imap.el:
4722 * printing.el:
4723 * vc/ediff-diff.el:
4724 * vc/ediff-init.el:
4725 * vc/ediff-merg.el:
4726 * vc/ediff-mult.el:
4727 * vc/ediff-util.el:
4728 * vc/ediff-wind.el:
4729 * vc/ediff.el:
4730 * vc/emerge.el:
4731 * vc/pcvs.el:
4732 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4733 byte compiler. Remove some unused let-bound variables.
4734
4c528aab
SM
47352013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4738 a "ref-cell", since it gets better optimized (bug#14883).
4739
bd15c390
GM
47402013-09-05 Glenn Morris <rgm@gnu.org>
4741
4742 * progmodes/cc-awk.el (c-forward-sws): Declare.
4743
1c3ac2e5
GM
47442013-09-04 Glenn Morris <rgm@gnu.org>
4745
4746 * generic-x.el [rul-generic-mode]: Require cc-mode.
4747 (c++-mode-syntax-table): Declare.
4748 (rul-generic-mode-syntax-table): Init in the defvar.
4749
52b1cc79
SM
47502013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4751
c828af56
SM
4752 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4753 (vc-do-command, vc-set-async-update):
4754 * vc/vc-mtn.el (vc-mtn-dir-status):
4755 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4756 (vc-hg-pull, vc-hg-merge-branch):
4757 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4758 (vc-git-merge-branch):
4759 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4760 (vc-cvs-dir-status-files):
4761 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4762 (vc-bzr-dir-status-files):
4763 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4764 * vc/vc-annotate.el: Use lexical-binding.
4765 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4766 (vc-sentinel-movepoint): Declare.
4767 (vc-annotate): Don't use `goto-line'.
4768 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4769 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4770 (vc-sentinel-movepoint): Declare.
4771 * vc/vc-svn.el: Use lexical-binding.
4772 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4773 * vc/vc-sccs.el:
4774 * vc/vc-rcs.el: Use lexical-binding.
4775
abae272c
SM
4776 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4777 `deleted'. Don't drop errors silently.
4778
52b1cc79
SM
4779 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4780
63191d9f
XF
47812013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4782
4783 * vc/vc.el (vc-ignore): Rewrite.
4784 (vc-default-ignore): New function.
4785 (vc-default-ignore-completion-table): Use find-ignore-file.
4786
4787 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4788 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4789 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4790 Remove. Most code moved to vc.el.
4791
9d3f707c
SM
47922013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4793
abae272c 4794 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4795 * net/tramp-smb.el (tramp-smb-get-file-entries):
4796 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4797 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4798
fde38d49
SM
4799 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4800 Update call to it.
4801 (eww-change-select): Remove unused var `properties'.
4802 (eww-make-unique-file-name): Remove unused var `base'.
4803
4804 * finder.el (finder-compile-keywords): Don't mess with windows.
4805
84032db7
SM
4806 * calculator.el (calculator-funcall): Fix typo in last change.
4807
724f5e41
SM
4808 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4809
14b511d4
SM
4810 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4811 <pkg>-autoloads.el file stop us.
4812
9d3f707c 4813 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4814 warnings, and factor out common code.
9d3f707c 4815
88527bc0
DG
48162013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4817
4818 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4819 two-character operators and whether the character preceding them
4820 changes their meaning (Bug#15208).
4821
96edb677
FEG
48222013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4823
4824 Format code sent to Python shell for robustness.
9d3f707c
SM
4825 * progmodes/python.el (python-shell-buffer-substring):
4826 New function.
96edb677
FEG
4827 (python-shell-send-region, python-shell-send-buffer): Use it.
4828
95beaef3
MA
48292013-09-02 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4832 * net/tramp.el (tramp-user-error): ... here.
4833 (tramp-find-method, tramp-check-proper-host)
4834 (tramp-dissect-file-name, tramp-debug-message)
4835 (tramp-handle-shell-command):
4836 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4838
4839 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4840
f167c27b
MR
48412013-09-02 Martin Rudalics <rudalics@gmx.at>
4842
4843 * avoid.el (mouse-avoidance-point-position)
4844 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4845 returns nil.
4846
cd16c5f1
FEG
48472013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4848
4849 * progmodes/python.el (python-shell-completion-get-completions):
4850 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4851 (python-nav-if-name-main): New command.
cd16c5f1 4852
e73c3a0d
GM
48532013-09-01 Glenn Morris <rgm@gnu.org>
4854
f8ccce03
GM
4855 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4856 Avoid leading space in $wins. Otherwise the sed command used by
4857 eg compile-main ends up containing "/*.el". (Bug#15170)
4858
e73c3a0d
GM
4859 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4860
415f808e
GM
48612013-08-30 Glenn Morris <rgm@gnu.org>
4862
4863 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4864 Fix is-this-a-directory logic. (Bug#15220)
4865
f069bba8
SM
48662013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4867
112798c1
SM
4868 * textmodes/css-mode.el: Use SMIE.
4869 (css-smie-grammar): New var.
4870 (css-smie--forward-token, css-smie--backward-token)
4871 (css-smie-rules): New functions.
4872 (css-mode): Use them.
4873 (css-navigation-syntax-table): Remove var.
4874 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4875 (css-indent-calculate, css-indent-line): Remove functions.
4876
4877 Misc changes to reduce use of `(lambda...); and other cleanups.
4878 * cus-edit.el: Use lexical-binding.
4879 (customize-push-and-save, customize-apropos)
4880 (custom-buffer-create-internal): Use closures.
4881 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4882 * progmodes/ada-xref.el: Use setq.
4883 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4884 * dframe.el: Use lexical-binding.
4885 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4886 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4887 * descr-text.el: Use lexical-binding.
4888 (describe-text-widget, describe-text-sexp, describe-property-list):
4889 Use closures.
4890 * comint.el (comint-history-isearch-push-state): Use a closure.
4891 * calculator.el: Use lexical-binding.
4892 (calculator-number-to-string): Make it work with lexical-binding.
4893 (calculator-funcall): Same and use cl-letf.
4894
2da4c3ab
SM
4895 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4896 (lisp--company-doc-string, lisp--company-location): New functions.
4897 (lisp-completion-at-point): Use them to improve Company support.
4898
f069bba8
SM
4899 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4900 params of lambda expressions.
4901 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4902 (ruby-smie--opening-pipe-p): New function.
4903 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4904 symbols and matched |...| for formal params.
4905 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4906 from being treated as hanging. Handle "rescue".
4907
6758b6a8
GM
49082013-08-29 Glenn Morris <rgm@gnu.org>
4909
4910 * progmodes/cc-engine.el (c-pull-open-brace):
4911 Move definition before use.
4912
e8dfd197
SM
49132013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4916 are immutable. Don't use `unsafe' any more.
4917 (cl--defsubst-expand): Don't substitute at the same time as keeping
4918 a residual unused let-binding. Don't use `unsafe' any more.
4919
cc585c96
GM
49202013-08-29 Glenn Morris <rgm@gnu.org>
4921
ba579ea6
GM
4922 * calendar/cal-china.el (calendar-chinese-year-cache):
4923 Recenter on 2015.
4924
8201a87e
GM
4925 * nxml/nxml-util.el (nxml-debug-clear-inside):
4926 Use cl-loop rather than loop.
4927
6ee877c7
GM
4928 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4929
cc585c96
GM
4930 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4931
27be8d39
GM
49322013-08-28 Glenn Morris <rgm@gnu.org>
4933
397440a1
GM
4934 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4935
2bb762d4
GM
4936 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4937
27be8d39
GM
4938 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4939
2d69b99e
SM
49402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4941
f663baa7
SM
4942 * simple.el (repeat-complex-command--called-interactively-skip):
4943 New function.
4944 (repeat-complex-command): Use it (bug#14136).
4945
dd4f8b74
SM
4946 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4947 (c-define-abbrev-table): Add `doc' argument.
4948 (c-mode-abbrev-table, c++-mode-abbrev-table)
4949 (objc-mode-abbrev-table, java-mode-abbrev-table)
4950 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4951 (awk-mode-abbrev-table): Use it.
4952 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4953 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4954 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4955 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4956 Move initialization into the declaration; and remove any
4957 autoload cookie.
4958
b58969f7
SM
4959 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4960 and dynamic let binding.
4961
4021d6a6
SM
4962 * vc/smerge-mode.el: Remove redundant :group args.
4963
2d69b99e
SM
4964 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4965 to load-path.
4966
274919fd
JL
49672013-08-28 Juri Linkov <juri@jurta.org>
4968
4969 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4970 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4971 (isearch-other-meta-char): Handle an undefined shifted printing
4972 character by downshifting it. (Bug#15200)
4973
121f8c95
JL
49742013-08-28 Juri Linkov <juri@jurta.org>
4975
4976 * isearch.el (isearch-search): Change regexp error message for
4977 non-regexp searches. (Bug#15166)
4978
50b13cde
PE
49792013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4980
4981 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4982 for portability to hosts where /bin/sh has problems.
4983
95888bca
SM
49842013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4987
bbe558f1
JL
49882013-08-27 Juri Linkov <juri@jurta.org>
4989
4990 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4991 in the keyboard macro. (Bug#15126)
4992
26f98a7d
JL
49932013-08-27 Juri Linkov <juri@jurta.org>
4994
4995 * isearch.el (isearch-quote-char): Comment out converting unibyte
4996 to multibyte, thus syncing with its `quoted-insert' counterpart.
4997 (Bug#15166)
4998
7c97d35e
MR
49992013-08-27 Martin Rudalics <rudalics@gmx.at>
5000
5001 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5002 argument in call of get-largest-window (Bug#15185).
5003 Reported by Stephen Leake.
7c97d35e 5004
a0b5606e 50052013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5006
5007 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5008
9e89d835
SM
50092013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5012 from a matcher-function unless there's no more matches (bug#15161).
5013
78fc2530
MA
50142013-08-26 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * minibuffer.el: Revert change from 2013-08-20.
5017
5018 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5019 with text property `tramp-default', if appropriate.
5020 (tramp-check-proper-host): New defun.
5021 (tramp-dissect-file-name): Do not check hostname. Revert change
5022 of 2013-03-18.
5023 (tramp-backtrace): Make VEC-OR-PROC optional.
5024
5025 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5026 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5027 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5028 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5029 Apply `tramp-check-proper-host'.
78fc2530 5030
edca97cd
TH
50312013-08-26 Tassilo Horn <tsdh@gnu.org>
5032
5033 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5034 lambda expression in order to have `describe-variable' display it.
5035
df54bcbd
MA
50362013-08-26 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5039 BUF can be optional. (Bug#15186)
5040
eed99101
XF
50412013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5042
5043 * progmodes/flymake.el (flymake-get-real-file-name-function):
5044 Fix broken customization. (Bug#15184)
5045
b5eb9035
AM
50462013-08-25 Alan Mackenzie <acm@muc.de>
5047
8a51e842
AM
5048 Improve indentation of bracelists defined by macros (without "=").
5049
5050 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5051 expansion begins with "{", regard it as bracelist when it doesn't
5052 contain a ";".
5053
869455d4
AM
5054 Parse C++ inher-intro when there's a template split over 2 lines.
5055
5056 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5057 rigorously the search for "class" etc. followed by ":".
5058
5059 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5060 random languages a regexp which never matches rather than nil.
5061
b5eb9035
AM
5062 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5063
5064 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5065 (c-awk-regexp-one-line-possibly-open-char-list-re)
5066 (c-awk-one-line-possibly-open-regexp-re)
5067 (c-awk-one-line-non-syn-ws*-re): Remove.
5068 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5069 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5070 (c-awk-space*-unclosed-regexp-/-re): New constants.
5071 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5072 aren't regexp delimiters.
5073
5074 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5075 handling for a rare situation in AWK Mode involving unterminated
5076 strings/regexps.
5077
61611d54
GM
50782013-08-23 Glenn Morris <rgm@gnu.org>
5079
2d85dc34
GM
5080 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5081
cb8d2612
GM
5082 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5083
bb35f42f
GM
5084 * files.el (create-file-buffer): If the result would begin with
5085 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5086
b9808e77
SM
50872013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5088
e3a66363
SM
5089 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5090 text-properties (bug#15155).
5091
b9808e77
SM
5092 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5093 exist any more.
5094 (calc-keypad-redraw): Remove unused var `pad'.
5095 (calc-keypad-press): Remove unused var `menu'.
5096
7fd5f65e
MR
50972013-08-23 Martin Rudalics <rudalics@gmx.at>
5098
b9808e77
SM
5099 * window.el (display-buffer-pop-up-frame):
5100 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5101 use it as the new frame's buffer (Bug#15133).
5102
8352b530
SM
51032013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * calendar/timeclock.el: Minor cleanups.
5106 (timeclock-ask-before-exiting, timeclock-use-display-time):
5107 Use `symbol'.
5108 (timeclock-modeline-display): Define as alias before the
5109 actual definition.
5110 (timeclock-mode-line-display): Use define-minor-mode.
5111 (timeclock-day-list-template): Make it a function, add an argument.
5112 (timeclock-day-list-required, timeclock-day-list-length)
5113 (timeclock-day-list-debt, timeclock-day-list-span)
5114 (timeclock-day-list-break): Adjust calls accordingly.
5115
9f7b1925
SM
51162013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5119 Use read--expression so that completion works again.
5120
6e50e983
SS
51212013-08-21 Sam Steingold <sds@gnu.org>
5122
5123 Add rudimentary inferior shell interaction
5124 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5125 (sh-set-shell): Reset it.
9f7b1925
SM
5126 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5127 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5128
dbb0d350
SM
51292013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * align.el: Use lexical-binding.
5132 (align-region): Simplify accordingly.
5133
c88586a9
MA
51342013-08-20 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5137
5138 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5139 `non-essential' up.
5140
f95527c8
MA
51412013-08-17 Michael Albinus <michael.albinus@gmx.de>
5142
5143 * net/tramp.el:
5144 * net/tramp-adb.el:
5145 * net/tramp-cmds.el:
5146 * net/tramp-ftp.el:
5147 * net/tramp-gvfs.el:
5148 * net/tramp-gw.el:
5149 * net/tramp-sh.el: Don't wrap external variable declarations by
5150 `eval-when-compile'.
5151
4b5fe4ee
LMI
51522013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5153
5154 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5155 now that Emacs supports ImageMagick animations.
5156
13c366c9
MA
51572013-08-16 Michael Albinus <michael.albinus@gmx.de>
5158
5159 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5160 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5161
3dfc5cd6
MR
51622013-08-16 Martin Rudalics <rudalics@gmx.at>
5163
5164 * window.el (mouse-autoselect-window-select): Do autoselect when
5165 mouse pointer is on margin.
5166
4bbb4381
WP
51672013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5168
5169 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5170
3a2ddc2d
GM
51712013-08-16 Glenn Morris <rgm@gnu.org>
5172
e8bedf5a
GM
5173 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5174 Handle "Remote Directory" response of some clients. (Bug#15058)
5175
58c4682f
GM
5176 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5177 Tweak warning. (Bug#14926)
5178
57953f49
GM
5179 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5180 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5181
3a2ddc2d
GM
5182 * image-mode.el (image-mode-map): Add menu items to reverse,
5183 increase, decrease, reset animation speed.
5184 (image--set-speed, image-increase-speed, image-decrease-speed)
5185 (image-reverse-speed, image-reset-speed): New functions.
5186 (image-mode-map): Add bindings for speed commands.
5187
5188 * image.el (image-animate-get-speed, image-animate-set-speed):
5189 New functions.
5190 (image-animate-timeout): Respect image :speed property.
5191
10fa0ed3
SM
51922013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5195 previous line (bug#15101).
5196 (debugger-eval-expression, debugger-record-expression):
5197 Use read--expression (bug#15102).
5198
5d89d9d2
MA
51992013-08-15 Michael Albinus <michael.albinus@gmx.de>
5200
5201 Remove byte compiler warnings, visible when compiling with
5202 `byte-compile-force-lexical-warnings' set to t.
5203
5204 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5205 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5206 (tramp-handle-unhandled-file-name-directory)
5207 (tramp-handle-file-notify-add-watch, tramp-action-login)
5208 (tramp-action-succeed, tramp-action-permission-denied)
5209 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5210 arguments with "_".
5211
5212 * net/tramp-adb.el (tramp-adb-parse-device-names)
5213 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5214 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5215 (tramp-adb-handle-file-truename): Remove unused arguments.
5216
5217 * net/tramp-cache.el (tramp-flush-directory-property)
5218 (tramp-flush-connection-property, tramp-list-connections)
5219 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5220
10fa0ed3
SM
5221 * net/tramp-compat.el (tramp-compat-make-temp-file):
5222 Rename FILENAME to F.
5d89d9d2
MA
5223
5224 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5225 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5226 (tramp-zeroconf-parse-workstation-device-names)
5227 (tramp-zeroconf-parse-webdav-device-names)
5228 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5229
5230 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5231 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5232
5233 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5234 arguments.
5235 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5236 (tramp-sh-handle-insert-file-contents-literally)
5237 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5238 with "_".
5239 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5240 Remove unused variables.
5241
5242 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5243 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5244 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5245
5246 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5247 Make them a defconst.
5248 (tramp-uuencode-region): Remove unused variable.
5249
62f33bae
JB
52502013-08-14 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * frameset.el (frameset--prop-setter): New function.
5253 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5254 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5255 parameter was already set in FILTERED. Doc fix.
5256 (frameset--record-minibuffer-relationships): Allow saving a
5257 minibufferless frame without its corresponding minibuffer frame.
5258 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5259 frame, if the frame id matches.
5260 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5261 frames before orphaned ones.
5262 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5263
c660a885
MR
52642013-08-14 Martin Rudalics <rudalics@gmx.at>
5265
5266 * window.el (window-make-atom): Don't overwrite parameter
5267 already present.
5268 (display-buffer-in-atom-window): Handle special case where we
5269 split an already atomic window.
5270 (window--major-non-side-window, display-buffer-in-side-window)
5271 (window--side-check): Ignore minibuffer window when walking
5272 window tree.
5273 (window-deletable-p): Return 'frame only if no other frame uses
5274 our minibuffer window.
5275 (record-window-buffer): Run buffer-list-update-hook.
5276 (split-window): Make sure window--check-frame won't destroy an
5277 existing atomic window in case the new window gets nested
5278 inside.
5279 (display-buffer-at-bottom): Ignore minibuffer window when
5280 walking window tree. Don't split a side window.
5281 (pop-to-buffer): Don't set-buffer here, the select-window call
5282 should do that.
5283 (mouse-autoselect-window-select): Autoselect only if we are in the
5284 text portion of the window.
5285
8259030d
LMI
52862013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5287
21c58ae2
LMI
5288 * net/shr.el (shr-parse-image-data): New function to grab both the
5289 data itself and the Content-Type.
5290 (shr-put-image): Use it.
5291
5292 * net/eww.el (eww-display-image): Ditto.
5293
8259030d
LMI
5294 * image.el (image-content-type-suffixes): New variable.
5295
ad756449
FEG
52962013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5297
5298 * progmodes/python.el (python-imenu--build-tree)
5299 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5300
f73f4ce6
XF
53012013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5302
5303 * simple.el (backward-word): Mention the optional argument.
5304
1f585e65
SM
53052013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * frameset.el (frameset--make): Rename constructor from make-frameset.
5308 (frameset-p, frameset-valid-p): Don't autoload.
5309 (frameset-valid-p): Use normal accessors.
5310
af1c6c84
GM
53112013-08-13 Glenn Morris <rgm@gnu.org>
5312
55e47f95
GM
5313 * progmodes/compile.el (compile-command): Tweak example in doc.
5314 * obsolete/scribe.el (scribe-mode):
5315 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5316
f0024d8c
GM
5317 * mail/feedmail.el (feedmail-confirm-outgoing)
5318 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5319
5320 * cus-start.el (truncate-partial-width-windows): Fix type.
5321
5322 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5323
af1c6c84
GM
5324 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5325
5514cc4c
SM
53262013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emacs-lisp/timer.el (timer--time-setter): New function.
5329 (timer--time): Use it as gv-setter.
5330
5331 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5332 setter is not a symbol.
5333
7997a2f1
GJ
53342013-08-12 Grégoire Jadi <daimrod@gmail.com>
5335
5336 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5337 if sending fails. This makes debugging easier.
5338
01f1a9ab
JB
53392013-08-12 Juanma Barranquero <lekktu@gmail.com>
5340
5341 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5342 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5343 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5344
594a4307
EZ
53452013-08-12 Eli Zaretskii <eliz@gnu.org>
5346
5347 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5348
7a22490f 53492013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5350
5351 * format.el (format-annotate-function):
5352 Handle read-only text properties in the source. (Bug#14887)
5353
3e41a054
LMI
53542013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5355
5514cc4c
SM
5356 * net/eww.el (eww-display-html): Ignore coding system errors.
5357 One web site uses "utf-8lias" as the coding system.
3e41a054 5358
7ec326db
JB
53592013-08-11 Juanma Barranquero <lekktu@gmail.com>
5360
5361 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5362
5660113b
JB
53632013-08-10 Juanma Barranquero <lekktu@gmail.com>
5364
9a4ebc74
JB
5365 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5366 (tutorial--detailed-help): Remove unused local variables.
5367 (tutorial--save-tutorial-to): Use ignore-errors.
5368 (help-with-tutorial): Use looking-at-p.
5369
5370 * view.el (view-buffer-other-window, view-buffer-other-frame):
5371 Mark unused arguments.
5372
5373 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5374 (woman-select-symbol-fonts, woman, woman-find-file)
5375 (woman-insert-file-contents, woman-non-underline-faces):
5376 Use string-match-p.
5377 (woman1-unquote): Move declaration.
5378
5379 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5380 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5381 argument. Remove unused local variable.
5382 (xml-parse-elem-type): Use string-match-p.
5383 (xml-substitute-numeric-entities): Use ignore-errors.
5384
45fdb482
JB
5385 * calculator.el (calculator): Mark unused argument.
5386 (calculator-paste, calculator-quit, calculator-integer-p):
5387 Use ignore-errors.
5388 (calculator-string-to-number, calculator-decimal, calculator-exp)
5389 (calculator-op-or-exp): Use string-match-p.
5390
5391 * dired.el (dired-buffer-more-recently-used-p): Declare.
5392 (dired-insert-set-properties, dired-insert-old-subdirs):
5393 Use ignore-errors.
5394
5395 * dired-aux.el (dired-compress): Use ignore-errors.
5396 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5397 (dired-do-async-shell-command, dired-do-shell-command)
5398 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5399 (dired-insert-subdir-validate): Use string-match-p.
5400 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5401 (dired-add-entry): Use string-match-p, looking-at-p.
5402 (dired-insert-subdir-newpos): Remove unused local variable.
5403
5404 * filenotify.el (file-notify-callback): Remove unused local variable.
5405
5406 * filesets.el (filesets-error): Mark unused argument.
5407 (filesets-which-command-p, filesets-filter-dir-names)
5408 (filesets-directory-files, filesets-get-external-viewer)
5409 (filesets-ingroup-get-data): Use string-match-p.
5410
5411 * find-file.el (ff-other-file-name, ff-other-file-name)
5412 (ff-find-the-other-file, ff-cc-hh-converter):
5413 Remove unused local variables.
5414 (ff-get-file-name): Use string-match-p.
5415 (ff-all-dirs-under): Use ignore-errors.
5416
5417 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5418 (follow-select-if-visible): Remove unused local variable.
5419
5420 * forms.el (read-file-filter): Move declaration.
5421 (forms--make-format, forms--make-parser, forms-insert-record):
5422 Quote function with #'.
5423 (forms--update): Use string-match-p. Quote function with #'.
5424
5425 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5426 (help-make-xrefs): Use looking-at-p.
5427 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5428
5429 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5430 (ibuffer-confirm-operation-on): Use string-match-p.
5431
5432 * msb.el (msb-item-handler, msb-dired-item-handler):
5433 Mark unused arguments.
5434
5435 * ses.el (ses-decode-cell-symbol)
5436 (ses-kill-override): Remove unused local variable.
5437 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5438 (ses-load): Use ignore-errors, looking-at-p.
5439 (ses-jump-safe): Use ignore-errors.
5440 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5441
5442 * tabify.el (untabify, tabify): Mark unused arguments.
5443
5444 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5445 Mark unused argument.
5446 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5447 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5448
c880af52
JB
5449 * emacs-lisp/timer.el (timer--time): Define setter with
5450 gv-define-setter to avoid deprecation warning.
5451
5660113b 5452 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5453 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5454 (cmpl-statistics-block): Remove (body was commented out).
5455 All callers changed.
5456 (add-completions-from-buffer, load-completions-from-file):
5457 Remove unused variables.
5458
156aab80
JB
54592013-08-09 Juanma Barranquero <lekktu@gmail.com>
5460
5c5dee78
JB
5461 * filecache.el (file-cache-delete-file-list):
5462 Print message only when told so.
5463 (file-cache-files-matching): Use #' in mapconcat argument.
5464
156aab80
JB
5465 * ffap.el (ffap-url-at-point): Fix reference to variable
5466 thing-at-point-default-mail-uri-scheme.
5467
ad9dcd70
SM
54682013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5469
54bd972f
SM
5470 * subr.el (define-error): New function.
5471 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5472 error-file-not-found and define with define-error.
5473 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5474 and define with define-error.
5475 * userlock.el (file-locked, file-supersession):
5476 * simple.el (mark-inactive):
5477 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5478 * progmodes/ada-mode.el (ada-mode-errors):
5479 * play/life.el (life-extinct):
5480 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5481 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5482 * nxml/rng-util.el (rng-error):
5483 * nxml/rng-uri.el (rng-uri-error):
5484 * nxml/rng-match.el (rng-compile-error):
5485 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5486 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5487 * nxml/nxml-rap.el (nxml-scan-error):
5488 * nxml/nxml-outln.el (nxml-outline-error):
5489 * net/soap-client.el (soap-error):
5490 * net/gnutls.el (gnutls-error):
5491 * net/ange-ftp.el (ftp-error):
5492 * mpc.el (mpc-proc-error):
5493 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5494 (json-number-format, json-string-escape, json-string-format)
5495 (json-key-format, json-object-format):
5496 * jka-compr.el (compression-error):
5497 * international/quail.el (quail-error):
5498 * international/kkc.el (kkc-error):
5499 * emacs-lisp/ert.el (ert-test-failed):
5500 * calc/calc.el (calc-error, inexact-result, math-overflow)
5501 (math-underflow):
5502 * bookmark.el (bookmark-error-no-filename):
5503 * epg.el (epg-error): Define with define-error.
5504
0ea9e53a
SM
5505 * time.el (display-time-event-handler)
5506 (display-time-next-load-average): Don't call sit-for since it seems
5507 unnecessary (bug#15045).
5508
b0429158
SM
5509 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5510 Use #' instead of ' to quote functions.
5511 (checkdoc-output-mode): Use setq-local.
5512 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5513 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5514 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5515 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5516 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5517 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5518 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5519 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5520
ad9dcd70
SM
5521 * ido.el (ido-completion-help): Fix up compiler warning.
5522
77187e6f
JB
55232013-08-09 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * frameset.el (frameset-p): Add autoload cookie.
5526 (frameset--jump-to-register): New function, based on code moved from
5527 register.el.
5528 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5529
5530 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5531 (frameset-restore, frameset-save, frameset-session-filter-alist):
5532 Remove declarations.
5533 (register-alist): Doc fix.
5534 (frameset-to-register): Move to frameset.el.
5535 (jump-to-register, describe-register-1): Remove frameset-specific code.
5536
9d3aa82c
JB
55372013-08-08 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * allout-widgets.el (allout-widgets-pre-command-business)
5540 (allout-widgets-post-command-business)
5541 (allout-widgets-after-change-handler)
5542 (allout-decorate-item-and-context, allout-set-boundary-marker)
5543 (allout-body-modification-handler)
5544 (allout-graphics-modification-handler): Mark ignored arguments.
5545 (allout-widgets-post-command-business)
5546 (allout-widgets-exposure-change-processor)
5547 (allout-widgets-exposure-undo-processor)
5548 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5549 (allout-parse-item-at-point, allout-decorate-item-guides)
5550 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5551 * allout.el (epa-passphrase-callback-function): Declare.
5552 (allout-overlay-insert-in-front-handler)
5553 (allout-overlay-interior-modification-handler)
5554 (allout-isearch-end-handler, allout-chart-siblings)
5555 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5556 (allout-yank-processing, allout-process-exposed)
5557 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5558 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5559 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5560 (lisp-indent-defform): Mark ignored arguments.
5561 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5562 (calculate-lisp-indent): Remove unused variables.
5563 * international/characters.el (indian-2-column, arabic-2-column)
5564 (tibetan): Mark ignored arguments.
5565 (use-cjk-char-width-table): Mark ignored arguments.
5566 Remove unused variables.
5567 * international/fontset.el (build-default-fontset-data)
5568 (x-compose-font-name, create-fontset-from-fontset-spec):
5569 Mark ignored arguments.
5570 (fontset-plain-name): Remove unused variables.
5571 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5572 (keyboard-coding-system): Mark ignored arguments.
5573 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5574 * help.el (resize-temp-buffer-window):
5575 * window.el (display-buffer-in-major-side-window)
5576 (display-buffer-in-side-window, display-buffer-in-previous-window):
5577 Remove unused variables.
5578 * isearch.el (isearch-forward-symbol):
5579 * version.el (emacs-bzr-version-bzr):
5580 * international/mule-cmds.el (current-language-environment):
5581 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5582 (x-handle-display):
5583 * term/pc-win.el (x-list-fonts, x-display-planes)
5584 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5585 (x-server-version, x-display-screens, x-display-mm-height)
5586 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5587 (x-selection-owner-p, x-own-selection-internal)
5588 (x-disown-selection-internal, x-get-selection-internal)
5589 (msdos-initialize-window-system):
5590 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5591 * term/x-win.el (x-handle-no-bitmap-icon):
5592 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5593 (vc-default-find-file-hook, vc-default-extra-menu):
5594 Mark ignored arguments.
5595
0ca3f70e
SM
55962013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5599 break-condition in the context of the debugged code (bug#12685).
5600
74c5d24c
CS
56012013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5602
5603 * comint.el:
5604 Do not use an overlay to highlight the last prompt. (Bug#14744)
5605 (comint-mode): Make comint-last-prompt buffer local.
5606 (comint-last-prompt): New variable.
5607 (comint-last-prompt-overlay): Remove. Superseded by
5608 comint-last-prompt.
0ca3f70e
SM
5609 (comint-snapshot-last-prompt, comint-output-filter):
5610 Use comint-last-prompt.
74c5d24c 5611
c03c02ee
JB
56122013-08-08 Juanma Barranquero <lekktu@gmail.com>
5613
a3738d20 5614 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5615 (frameset-save): Check validity of the resulting frameset.
5616
04263d23
XF
56172013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5618
5619 * ido.el (ido-record-command): Add doc string.
5620
76c5e5ab
JB
56212013-08-08 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * frameset.el (frameset): Do not disable creation of the default
5624 frameset-p predicate. Doc fix.
5625 (frameset-valid-p): New function, copied from the old predicate-p.
5626 Add additional checks.
5627 (frameset-restore): Check with frameset-valid-p.
5628 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5629 (frameset-name, frameset-description, frameset-properties)
5630 (frameset-states): Add docstring.
f9dbf1cb
JB
5631 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5632 (frameset-filter-alist): Doc fixes.
76c5e5ab 5633
bd0c3c0b
JB
56342013-08-08 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5637
c735544c
SM
56382013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5641 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5642 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5643 (byte-compile-normal-call): Remove obsolescence check.
5644
2805a651
JB
56452013-08-08 Juanma Barranquero <lekktu@gmail.com>
5646
3677ffeb
JB
5647 * frameset.el (frameset-restore): Doc fix.
5648
2805a651
JB
5649 * register.el (frameset-frame-id, frameset-frame-with-id)
5650 (frameset-p, frameset-restore, frameset-save): Declare.
5651 (register-alist): Document framesets.
5652 (frameset-session-filter-alist): Declare.
5653 (frameset-to-register): New function.
5654 (jump-to-register): Implement jumping to framesets. Doc fix.
5655 (describe-register-1): Describe framesets.
5656
5657 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5658
a912c016
JB
56592013-08-07 Juanma Barranquero <lekktu@gmail.com>
5660
5661 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5662 Use lexical-binding.
5663
5664 * frameset.el (frameset): Use type vector, not list (incompatible
5665 change). Do not declare a new constructor, use the default one.
5666 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5667 `name' and `description', respectively, and add read-only slot
5668 `timestamp'. Doc fixes.
5669 (frameset-copy, frameset-persistent-filter-alist)
5670 (frameset-filter-alist, frameset-switch-to-gui-p)
5671 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5672 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5673 (frameset-filter-iconified, frameset-keep-original-display-p):
5674 Doc fixes.
5675 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5676 Rename from frameset-filter-(save|restore)-param. All callers changed.
5677 Doc fix.
5678 (frameset-p): Adapt to change to vector and be more thorough.
5679 Change arg name to OBJECT. Doc fix.
5680 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5681 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5682 All callers changed.
5683 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5684 All callers changed.
5685 (frameset--record-minibuffer-relationships): Rename from
5686 frameset--process-minibuffer-frames. All callers changed.
5687 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5688 Use new default constructor (again). Doc fix.
5689 (frameset--find-frame-if): Rename from `frameset--find-frame.
5690 All callers changed.
5691 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5692 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5693 Doc fix.
5694 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5695 PARAMETERS and WINDOW-STATE, respectively.
5696 (frameset-restore): Add new keyword argument PREDICATE.
5697 Reset frameset--target-display to nil. Doc fix.
5698
bb41480a
SM
56992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5700
f001e98e
SM
5701 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5702 (bat-mode): Use it.
5703 (bat-mode-syntax-table): Mark \n as end-of-comment.
5704 (bat-font-lock-keywords): Remove comment rule.
5705
7679edb1
SM
5706 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5707 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5708
bb41480a
SM
5709 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5710 (byte-compile-callargs-warn): Use `push'.
5711 (byte-compile-arglist-warn): Ignore higher-order "calls".
5712 (byte-compile-file-form-autoload): Use `pcase'.
5713 (byte-compile-function-form): If quoting a symbol, check that it exists.
5714
cdc1ebb9
EZ
57152013-08-07 Eli Zaretskii <eliz@gnu.org>
5716
5717 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5718 and add a few popular commands found in batch files.
5719 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5720 (dos-mode): Doc fixes.
5721
312b1740
SM
57222013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5725 (dos-mode): Use setq-local. Add space after "rem".
5726 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5727 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5728
400a3178
AM
57292013-08-07 Arni Magnusson <arnima@hafro.is>
5730
5731 * progmodes/dos.el: New file.
5732 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5733 dos-mode.
5734
3b5c03d3
GM
57352013-08-06 Glenn Morris <rgm@gnu.org>
5736
5737 * calendar/calendar.el: Add new faces, and day-header-array.
5738 (calendar-weekday-header, calendar-weekend-header)
5739 (calendar-month-header): New faces.
5740 (calendar-day-header-construct): New function.
5741 (calendar-day-header-width): Also :set calendar-day-header-array.
5742 (calendar-american-month-header, calendar-european-month-header)
5743 (calendar-iso-month-header): Use calendar- faces.
5744 (calendar-generate-month):
5745 Use calendar-day-header-array for day headers; apply faces to them.
5746 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5747 (calendar-abbrev-construct): Add optional maxlen argument.
5748 (calendar-day-name-array): Doc fix.
5749 (calendar-day-name-array, calendar-abbrev-length)
5750 (calendar-day-abbrev-array):
5751 Also :set calendar-day-header-array, and maybe redraw.
5752 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5753 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5754 (calendar-day-name): Add option to use header array.
5755
ec6a2d7a
LMI
57562013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5757
5758 * net/shr.el (shr-render-td): Remove debugging.
5759 (shr-render-td): Make width computation consistent by defaulting
5760 all zero-width columns to 10 characters. This may not be optimal,
5761 but it's at least consistent.
2122cb6d
LMI
5762 (shr-make-table-1): Redo last change to fix the real problem in
5763 colspan handling.
ec6a2d7a 5764
ed4fd9c5
DA
57652013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5766
0ca3f70e
SM
5767 * files.el (cache-long-line-scans):
5768 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5769
64e22afe
JB
57702013-08-06 Juanma Barranquero <lekktu@gmail.com>
5771
024b38fc
JB
5772 * frameset.el (frameset, frameset-filter-alist)
5773 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5774 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5775 (frameset-compute-pos): Rename from frameset--compute-pos,
5776 and add docstring.
5777 (frameset-move-onscreen): Use frameset-compute-pos.
5778 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5779
64e22afe
JB
5780 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5781 Fix typos in docstrings.
5782
c8c2aca8
DA
57832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5784
5785 * frame.el (get-other-frame): Tiny cleanup.
5786
1d237bba
JB
57872013-08-06 Juanma Barranquero <lekktu@gmail.com>
5788
8951efef
JB
5789 * vc/vc.el (vc-default-ignore-completion-table):
5790 Silence byte-compiler warning.
5791
307764cc
JB
5792 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5793 slot , which can indeed be nil.
5794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5795 Move entry for `left' from persistent to live filter alist.
5796 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5797 Doc fixes.
5798 (frameset-filter-params): When restoring a frame, copy items added to
5799 `filtered', to avoid unwittingly modifying the original parameters.
5800 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5801 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5802
1d237bba
JB
5803 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5804 to use looking-at-p instead of looking-at. (Bug#15028)
5805
dc6c0eda
SM
58062013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 Revert introduction of isearch-filter-predicates (bug#14714).
5809 Rely on add-function instead.
5810 * isearch.el (isearch-filter-predicates): Rename it back to
5811 isearch-filter-predicate.
5812 (isearch-message-prefix): Use advice-function-mapc and advice
5813 properties to get the isearch-message-prefix.
5814 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5815 instead of run-hook-with-args-until-failure.
5816 (isearch-filter-visible): Not obsolete any more.
5817 * loadup.el: Preload nadvice.
5818 * replace.el (perform-replace): Revert to funcall
5819 instead of run-hook-with-args-until-failure.
5820 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5821 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5822 dired-isearch-filenames-toggle; make it into a proper minor mode.
5823 Use add/remove-function.
5824 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5825 Call the minor-mode rather than add/remove-hook.
5826 (dired-isearch-filter-filenames):
5827 Remove isearch-message-prefix property.
5828 * info.el (Info--search-loop): New function, extracted from Info-search.
5829 Funcall isearch-filter-predicate instead of
5830 run-hook-with-args-until-failure isearch-filter-predicates.
5831 (Info-search): Use it.
5832 (Info-mode): Use isearch-filter-predicate instead of
5833 isearch-filter-predicates.
5834
290d5b58
DA
58352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5836
5837 Do not call to `selected-window' where it is assumed by default.
5838 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5839 `window-hscroll', `window-width', `window-height', `window-buffer',
5840 `window-frame', `window-start', `window-point', `next-window'
5841 and `window-display-table'.
5842 * abbrev.el (abbrev--default-expand):
5843 * bs.el (bs--show-with-configuration):
5844 * buff-menu.el (Buffer-menu-mouse-select):
5845 * calc/calc.el (calc):
5846 * calendar/calendar.el (calendar-generate-window):
5847 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5848 (diary-make-entry):
5849 * comint.el (send-invisible, comint-dynamic-complete-filename)
5850 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5851 * completion.el (complete):
5852 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5853 * disp-table.el (describe-current-display-table):
5854 * doc-view.el (doc-view-insert-image):
5855 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5856 * ehelp.el (with-electric-help):
5857 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5858 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5859 * emacs-lisp/helper.el (Helper-help-scroller):
5860 * emulation/cua-base.el (cua--post-command-handler-1):
5861 * eshell/esh-mode.el (eshell-output-filter):
5862 * ffap.el (ffap-gnus-wrapper):
5863 * help-macro.el (make-help-screen):
5864 * hilit-chg.el (highlight-compare-buffers):
5865 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5866 * hl-line.el (global-hl-line-highlight):
5867 * icomplete.el (icomplete-simple-completing-p):
5868 * isearch.el (isearch-done):
5869 * jit-lock.el (jit-lock-stealth-fontify):
5870 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5871 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5872 * mpc.el (mpc-tagbrowser, mpc):
5873 * net/rcirc.el (rcirc-any-buffer):
5874 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5875 * play/landmark.el (landmark-max-width, landmark-max-height):
5876 * play/zone.el (zone):
5877 * progmodes/compile.el (compilation-goto-locus):
5878 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5879 * progmodes/etags.el (find-tag-other-window):
5880 * progmodes/fortran.el (fortran-column-ruler):
5881 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5882 * progmodes/verilog-mode.el (verilog-point-text):
5883 * reposition.el (reposition-window):
5884 * rot13.el (toggle-rot13-mode):
5885 * server.el (server-switch-buffer):
5886 * shell.el (shell-dynamic-complete-command)
5887 (shell-dynamic-complete-environment-variable):
5888 * simple.el (insert-buffer, set-selective-display)
5889 (delete-completion-window):
5890 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5891 (speedbar-recenter):
5892 * startup.el (fancy-splash-head):
5893 * textmodes/ispell.el (ispell-command-loop):
5894 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5895 * tutorial.el (help-with-tutorial):
5896 * vc/add-log.el (add-change-log-entry):
5897 * vc/compare-w.el (compare-windows):
5898 * vc/ediff-help.el (ediff-indent-help-message):
5899 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5900 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5901 (ediff-setup-control-frame):
5902 * vc/emerge.el (emerge-position-region):
5903 * vc/pcvs-util.el (cvs-bury-buffer):
5904 * window.el (walk-windows, mouse-autoselect-window-select):
5905 * winner.el (winner-set-conf, winner-undo): Related users changed.
5906
38276e01
JB
59072013-08-05 Juanma Barranquero <lekktu@gmail.com>
5908
5909 * frameset.el (frameset--set-id): Doc fix.
5910 (frameset-frame-id, frameset-frame-id-equal-p)
5911 (frameset-locate-frame-id): New functions.
5912 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5913 (frameset-restore): Use them.
5914
12b4c0ea
DA
59152013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5916
5917 Do not call to `selected-frame' where it is assumed by default.
5918 Affected functions are `raise-frame', `redraw-frame',
5919 `frame-first-window', `frame-terminal' and `delete-frame'.
5920 * calendar/appt.el (appt-disp-window):
5921 * epg.el (epg-wait-for-completion):
5922 * follow.el (follow-delete-other-windows-and-split)
5923 (follow-avoid-tail-recenter):
5924 * international/mule.el (set-terminal-coding-system):
5925 * mail/rmail.el (rmail-mail-return):
5926 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5927 * progmodes/f90.el (f90-add-imenu-menu):
5928 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5929 * server.el (server-switch-buffer):
5930 * simple.el (delete-completion-window):
5931 * talk.el (talk):
5932 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5933 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5934 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5935 * vc/ediff.el (ediff-documentation): Related users changed.
5936 * frame.el (selected-terminal): Remove the leftover.
5937
17f25e76
GM
59382013-08-05 Glenn Morris <rgm@gnu.org>
5939
5940 * calendar/calendar.el (calendar-generate-month):
5941 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5942 (calendar-generate-month, calendar-font-lock-keywords):
5943 Fix for calendar-day-header-width > length of any day name.
17f25e76 5944
063233c3
JB
59452013-08-05 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * desktop.el (desktop-clear): Use new name of sort predicate.
5948
5949 * frameset.el (frameset): Add docstring. Move :version property to its
5950 own `version' slot.
5951 (frameset-copy): Rename from copy-frameset.
5952 (frameset-p): Check more thoroughly.
5953 (frameset-prop): Do not check for :version, which is no longer a prop.
5954 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5955 Use new :never value instead of t.
5956 (frameset-filter-alist): Expand and clarify docstring.
5957 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5958 (frameset-filter-minibuffer, frameset-filter-save-param)
5959 (frameset-filter-restore-param, frameset-filter-iconified):
5960 Add pointer to docstring of frameset-filter-alist.
5961 (frameset-filter-params): Rename filter values to be more meaningful:
5962 :never instead of t, and reverse the meanings of :save and :restore.
5963 (frameset--process-minibuffer-frames): Clarify error message.
5964 (frameset-save): Avoid unnecessary and confusing call to framep.
5965 Use new BOA constructor for framesets.
5966 (frameset--reuse-list): Doc fix.
5967 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5968 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5969 (frameset-minibufferless-first-p): Doc fix.
5970 Rename from frameset-sort-frames-for-deletion.
5971 (frameset-restore): Doc fixes. Use new function names.
5972 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5973
d5671a82
JB
59742013-08-04 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * desktop.el (desktop-restore-forces-onscreen)
5977 (desktop-restore-reuses-frames): Document :keyword constant values.
5978 (desktop-filter-parameters-alist): Remove, now identical to
5979 frameset-filter-alist.
5980 (desktop--filter-tty*): Remove, moved to frameset.el.
5981 (desktop-save-frameset, desktop-restore-frameset):
5982 Do not pass :filters argument.
5983
5984 * frameset.el (frameset-live-filter-alist)
5985 (frameset-persistent-filter-alist): New variables.
5986 (frameset-filter-alist): Use them. Add autoload cookie.
5987 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5988 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5989 `frameset--id' (it's supposed to be internal to frameset.el).
5990 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5991 (frameset--initial-params): New function.
5992 (frameset--get-frame): Use it. Doc fix.
5993 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5994 Accept :all, not 'all.
5995 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5996 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5997 with fbound symbols. Fix frame id matching, and remove matching ids if
5998 the frame being restored is deleted. Obey :delete.
5999
671d5c16
SM
60002013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * subr.el (macrop): New function.
6003 (text-clone--maintaining): New var.
6004 (text-clone--maintain): Rename from text-clone-maintain. Use it
6005 instead of inhibit-modification-hooks.
6006
6007 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6008 a proxy, so as handle autoloads and redefinitions of the target.
6009 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6010
6011 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6012 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6013 (pcase--mutually-exclusive-p): New function.
6014 (pcase--split-consp): Use it.
6015 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6016 mutually exclusive with the current predicate.
6017
6018 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6019 (edebug-macrop): Remove. Use `macrop' instead.
6020 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6021 (ad-macro-p):
6022 * eshell/esh-cmd.el (eshell-macrop):
6023 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6024
1d44e9dc
SM
60252013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6028 (advice-mapc): New function, using it.
6029 (advice-function-member-p): New function.
6030 (advice--normalize): Store the cdr in advice--saved-rewrite since
6031 that's the part that will be changed.
6032 (advice--symbol-function): New function.
6033 (advice-remove): Handle removal before the function is defined.
6034 Adjust to new advice--saved-rewrite.
6035 (advice-member-p): Use advice-function-member-p and
6036 advice--symbol-function.
6037
5414a283
JB
60382013-08-04 Juanma Barranquero <lekktu@gmail.com>
6039
51d30f2c
JB
6040 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6041 (frameset-filter-minibuffer): Doc fix.
6042 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6043 (frameset--set-id, frameset--process-minibuffer-frames)
6044 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6045 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6046
5414a283
JB
6047 * desktop.el (desktop-clear): Only delete frames when called
6048 interactively and desktop-restore-frames is non-nil. Doc fix.
6049 (desktop-read): Set desktop-saved-frameset to nil.
6050
ab419665
XF
60512013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6052
6053 * vc/vc.el (vc-ignore): Rewrite.
6054 (vc-default-ignore-completion-table):
6055 (vc--read-lines):
6056 (vc--add-line, vc--remove-regexp): New functions.
6057
6058 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6059 (vc-svn-ignore-completion-table): New function.
6060
6061 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6062 (vc-hg-ignore-completion-table):
6063 (vc-hg-find-ignore-file): New functions.
6064
6065 * vc/vc-git.el (vc-git-ignore): Rewrite.
6066 (vc-git-ignore-completion-table):
6067 (vc-git-find-ignore-file): New functions.
6068
6069 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6070
6071 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6072 (vc-bzr-ignore-completion-table):
6073 (vc-bzr-find-ignore-file): New functions.
6074
2613dea2
JB
60752013-08-03 Juanma Barranquero <lekktu@gmail.com>
6076
6077 * frameset.el (frameset-prop): New function and setter.
6078 (frameset-save): Do not modify frame list passed by the caller.
6079
9c959872
SM
60802013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6081
6082 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6083
a104f656
SM
60842013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6085
70122acf
SM
6086 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6087 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6088
a104f656
SM
6089 * custom.el (custom-initialize-default, custom-initialize-set)
6090 (custom-initialize-reset, custom-initialize-changed): Affect the
6091 toplevel-default-value (bug#6275, bug#14586).
6092 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6093 for bug#6275.
6094
f078d570
JB
60952013-08-02 Juanma Barranquero <lekktu@gmail.com>
6096
185e3b5a
JB
6097 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6098 Add cl-def* expressions.
6099
f078d570
JB
6100 * frameset.el (frameset-filter-params): Fix order of arguments.
6101
9421876d
JB
61022013-08-02 Juanma Barranquero <lekktu@gmail.com>
6103
6104 Move code related to saving frames to frameset.el.
6105 * desktop.el: Require frameset.
6106 (desktop-restore-frames): Doc fix.
6107 (desktop-restore-reuses-frames): Rename from
6108 desktop-restoring-reuses-frames.
6109 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6110 (desktop-clear): Clear frames too.
6111 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6112 (desktop--filter-tty*, desktop-save, desktop-read):
6113 Use frameset functions.
6114 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6115 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6116 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6117 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6118 (desktop--process-minibuffer-frames, desktop-save-frames)
6119 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6120 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6121 (desktop--sort-states, desktop-restoring-frames-p)
6122 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6123 (desktop-restoring-frameset-p, desktop-restore-frameset)
6124 (desktop--check-dont-save, desktop-save-frameset): New functions.
6125 (desktop--app-id): New constant.
6126 (desktop-first-buffer, desktop-buffer-ok-count)
6127 (desktop-buffer-fail-count): Move before first use.
6128 * frameset.el: New file.
6129
76dc5996
SM
61302013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * files.el: Use lexical-binding.
6133 (dir-locals-read-from-file): Remove unused `err' variable.
6134 (hack-dir-local-variables--warned-coding): New var.
6135 (hack-dir-local-variables): Use it to avoid repeated warnings.
6136 (make-backup-file-name--default-function): New function.
6137 (make-backup-file-name-function): Use it as default.
6138 (buffer-stale--default-function): New function.
6139 (buffer-stale-function): Use it as default.
6140 (revert-buffer-insert-file-contents--default-function): New function.
6141 (revert-buffer-insert-file-contents-function): Use it as default.
6142 (insert-directory): Avoid add-to-list.
6143
6144 * autorevert.el (auto-revert-handler): Simplify.
6145 Use buffer-stale--default-function.
6146
06d36e2b
TH
61472013-08-01 Tassilo Horn <tsdh@gnu.org>
6148
5f648ab4
TH
6149 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6150
06d36e2b
TH
6151 * whitespace.el (whitespace-ensure-local-variables): New function.
6152 (whitespace-cleanup-region): Call it.
6153 (whitespace-turn-on): Call it.
6154
a43dc424
MA
61552013-08-01 Michael Albinus <michael.albinus@gmx.de>
6156
6157 Complete file name handlers.
6158
6159 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6160 (tramp-handle-verify-visited-file-modtime)
6161 (tramp-handle-file-notify-rm-watch): New functions.
6162 (tramp-call-process): Do not bind `default-directory'.
6163
44e18199
JB
6164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6165 Order alphabetically.
a43dc424
MA
6166 [access-file, add-name-to-file, dired-call-process]:
6167 [dired-compress-file, file-acl, file-notify-rm-watch]:
6168 [file-ownership-preserved-p, file-selinux-context]:
6169 [make-directory-internal, make-symbolic-link, set-file-acl]:
6170 [set-file-selinux-context, set-visited-file-modtime]:
6171 [verify-visited-file-modtime]: Add handler.
6172 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6173
6174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6175 [file-notify-add-watch, file-notify-rm-watch]:
6176 [set-file-times, set-visited-file-modtime]:
6177 [verify-visited-file-modtime]: Add handler.
6178 (with-tramp-gvfs-error-message)
6179 (tramp-gvfs-handle-set-visited-file-modtime)
6180 (tramp-gvfs-fuse-file-name): Remove.
6181 (tramp-gvfs-handle-file-notify-add-watch)
6182 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6183 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6184
44e18199
JB
6185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6186 Order alphabetically.
a43dc424
MA
6187 [file-notify-rm-watch ]: Use default Tramp handler.
6188 [executable-find]: Remove private handler.
6189 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6190 `default-directory'.
6191 (tramp-sh-handle-executable-find)
6192 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6193 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6194 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6195 Do not use `format' in `tramp-message'.
6196
6197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6198 [file-notify-rm-watch, set-visited-file-modtime]:
6199 [verify-visited-file-modtime]: Add handler.
6200 (tramp-smb-call-winexe): Do not bind `default-directory'.
6201
7188b515
XF
62022013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6203
6204 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6205
2412ee1a
DG
62062013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6207
6208 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6209 use it.
6210 (log-view-diff-changeset): Same.
6211 (log-view-diff-common): Call backend command `previous-revision'
6212 to find out the previous revision, in both cases. Swap the
6213 variables `to' and `fr', so that `fr' usually refers to the
6214 earlier revision (Bug#14989).
6215
5002a754
KRC
62162013-07-31 Kan-Ru Chen <kanru@kanru.info>
6217
6218 * ibuf-ext.el (ibuffer-filter-by-filename):
6219 Make it work with dired buffers too.
6220
44e18199 62212013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6222
6223 * emacs-lisp/re-builder.el (reb-color-display-p):
6224 * files.el (save-buffers-kill-terminal):
6225 * net/browse-url.el (browse-url):
6226 * server.el (server-save-buffers-kill-terminal):
6227 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6228 Prefer nil to selected-frame for the first arg of frame-parameter.
6229
aeca3fbb
XF
62302013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6231
6232 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6233
158bc55c
SB
62342013-07-30 Stephen Berman <stephen.berman@gmx.net>
6235
6236 * minibuffer.el (completion--twq-all): Try and preserve each
6237 completion's case choice (bug#14907).
6238
d50fceab
LMI
62392013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6240
ac38e731
LMI
6241 * net/network-stream.el (open-network-stream): Mention the new
6242 :nogreeting parameter.
6243 (network-stream-open-starttls): Use the :nogreeting parameter
6244 (bug#14938).
6245
1211de50
LMI
6246 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6247
997798bf
LMI
6248 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6249 more natural than popping.
6250
d50fceab 6251 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6252 (shr-urlify): Highlight under mouse.
d50fceab 6253
5c09de04
XF
62542013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6255
207d1d04
XF
6256 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6257
6258 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6259
5c09de04
XF
6260 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6261 buffer for output.
6262
3cd51eaa
XF
6263 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6264 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6265
44e18199 6266 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6267 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6268
6269 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6270
6271 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6272 buffer for output.
6273
35a89bdd
EZ
62742013-07-29 Eli Zaretskii <eliz@gnu.org>
6275
6276 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6277 initial frame is minibuffer-less. (Bug#14841)
6278
78822e94
MA
62792013-07-29 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6282 option.
6283
6284 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6285 (tramp-maybe-open-connection): Use it.
6286
9503c190
JB
62872013-07-28 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6290 minimal set of parameters passed when creating a frame, because
6291 the minibuffer status of a frame cannot be changed later.
6292
d5a845b4
SB
62932013-07-28 Stephen Berman <stephen.berman@gmx.net>
6294
6295 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6296 replace-regexp-in-string and inadvertent omissions in previous change.
6297 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6298 name of filtered items buffer.
d5a845b4 6299
ddeffb17
JB
63002013-07-28 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * desktop.el: Optionally force offscreen frames back onscreen.
6303 (desktop-restoring-reuses-frames): New option.
6304 (desktop--compute-pos, desktop--move-onscreen): New functions.
6305 (desktop--make-frame): Use desktop--move-onscreen.
6306
f5950f7a
AM
63072013-07-27 Alan Mackenzie <acm@muc.de>
6308
6309 Fontify a Java generic method as a function.
6310 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6311 value to t.
6312
ae43b66a
SB
63132013-07-27 Stephen Berman <stephen.berman@gmx.net>
6314
6315 * calendar/todo-mode.el: Add command to rename todo files.
6316 (todo-rename-file): New command.
6317 (todo-key-bindings-t): Add key binding for it. Change the
6318 bindings of todo-filter-regexp-items(-multifile) to use `x'
6319 instead of `r', since the latter is better suited to the new
6320 renaming command.
6321
5ab78d3d
AM
63222013-07-27 Alan Mackenzie <acm@muc.de>
6323
6324 Make Java try-with-resources statement parse properly.
6325 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6326 (c-block-stmt-1-2-key): New language constants/variables.
6327 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6328 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6329 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6330 with c-block-stmt-1-2-key.
5ab78d3d 6331
d85c4d50
JB
63322013-07-27 Juanma Barranquero <lekktu@gmail.com>
6333
6334 * desktop.el (desktop--make-frame): Apply most frame parameters after
6335 creating the frame to force (partially or totally) offscreen frames to
6336 be restored as such.
6337
e4c467f9
XF
63382013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6339
6340 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6341 (Bug#14948)
e4c467f9 6342
7ced0d04
SM
63432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6346 `base' arg of backtrace-frame.
6347
fec92060
EZ
63482013-07-26 Eli Zaretskii <eliz@gnu.org>
6349
6350 * simple.el (list-processes): Doc fix.
6351
d58d31fb
JB
63522013-07-26 Juanma Barranquero <lekktu@gmail.com>
6353
6354 * desktop.el (desktop--select-frame):
d85c4d50 6355 Try harder to reuse existing frames.
d58d31fb 6356
53ff3e77
SM
63572013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6360 (edebug-eval): Use backtrace-eval.
6361 (edebug--display, edebug--recursive-edit): Don't let-bind the
6362 edebug-outer-* vars that keep track of variables we locally let-bind.
6363 (edebug-outside-excursion): Don't restore outside values of locally
6364 let-bound vars.
6365 (edebug--display): Use user-error.
6366 (cl-lexical-debug, cl-debug-env): Remove.
6367
045f7a53
JB
63682013-07-26 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6371 are restored to be sure that they are visible before deleting any
6372 remaining ones.
6373
59070b32
MM
63742013-07-26 Matthias Meulien <orontee@gmail.com>
6375
742a3501
XF
6376 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6377 vc-print-root-log. (Bug#14948)
59070b32 6378
b1fb3596
RS
63792013-07-26 Richard Stallman <rms@gnu.org>
6380
6381 Add aliases for encrypting mail.
6382 * epa.el (epa-mail-aliases): New option.
6383 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6384 Bind inhibit-read-only so read-only text doesn't ruin everything.
6385 (epa-mail-default-recipients): New subroutine broken out.
6386 Handle epa-mail-aliases.
6387
56ea7291
SM
63882013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 Add support for lexical variables to the debugger's `e' command.
6391 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6392 vars, except for debugger-outer-match-data.
6393 (debugger-frame-number): Move check for "on a function call" from
6394 callers into it. Add `skip-base' argument.
6395 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6396 (debugger-env-macro): Only reset the state stored in non-variables,
6397 i.e. current-buffer and match-data.
6398 (debugger-eval-expression): Rewrite using backtrace-eval.
6399 * subr.el (internal--called-interactively-p--get-frame): Remove.
6400 (called-interactively-p):
6401 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6402 `base' arg of backtrace-frame instead.
6403
15ac32d5
GM
64042013-07-26 Glenn Morris <rgm@gnu.org>
6405
8358a09d
GM
6406 * align.el (align-regexp): Doc fix. (Bug#14857)
6407 (align-region): Explicit error if subexpression missing/does not match.
6408
15ac32d5
GM
6409 * simple.el (global-visual-line-mode):
6410 Do not duplicate the mode lighter. (Bug#14858)
6411
f47ad11b
MR
64122013-07-25 Martin Rudalics <rudalics@gmx.at>
6413
6414 * window.el (display-buffer): In display-buffer bind
6415 split-window-keep-point to t, bug#14829.
6416
02530987
JB
64172013-07-25 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6420 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6421 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6422 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6423 Change accordingly.
f63ebeb5
JB
6424 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6425 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6426
6ccb9cab 64272013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6428
6ccb9cab 6429 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6430
cb3a56d2
JB
64312013-07-25 Juanma Barranquero <lekktu@gmail.com>
6432
6433 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6434 parameter to modify-frame-parameters if the value has not changed;
6435 this is a workaround for bug#14949.
6436 (desktop--make-frame): On cl-delete-if call, check parameter name,
6437 not full parameter.
6438
7aa7fff0
XF
64392013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6440
6441 * vc/vc.el (vc-ignore): New function.
6442
6443 * vc/vc-svn.el (vc-svn-ignore): New function.
6444
6445 * vc/vc-hg.el (vc-hg-ignore): New function.
6446
6447 * vc/vc-git.el (vc-git-ignore): New function.
6448
6449 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6450 (vc-dir-ignore): New function.
6451
6452 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6453 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6454
6455 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6456
6457 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6458
889acc5c
JB
64592013-07-24 Juanma Barranquero <lekktu@gmail.com>
6460
6461 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6462 (desktop-restore-frames): Warn when deleting an existing frame failed.
6463
86c40970
GM
64642013-07-24 Glenn Morris <rgm@gnu.org>
6465
6466 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6467
d5d3c58a
MA
64682013-07-24 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * filenotify.el (file-notify-supported-p):
6471 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6472 Remove functions.
6473
6474 * autorevert.el (auto-revert-use-notify):
6475 (auto-revert-notify-add-watch):
6476 * net/tramp.el (tramp-file-name-for-operation):
6477 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6479 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6480 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6481 Remove `file-notify-supported-p' entry.
6482
d100084b
GM
64832013-07-24 Glenn Morris <rgm@gnu.org>
6484
6485 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6486 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6487
ac93e56b
SM
64882013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6489
249eea30
SM
6490 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6491 checked with memq (bug#14935).
6492
ac93e56b
SM
6493 * files.el (revert-buffer-function): Use a non-nil default.
6494 (revert-buffer-preserve-modes): Declare var to
6495 provide access to the `preserve-modes' argument.
6496 (revert-buffer): Let-bind it.
6497 (revert-buffer--default): New function, extracted from revert-buffer.
6498
2cdeb903
SM
64992013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * lpr.el: Signal print errors more prominently.
6502 (print-region-function): Don't default to nil.
6503 (lpr-print-region): New function, extracted from print-region-1.
6504 Check lpr's return value and signal an error in case of problem.
6505 (print-region-1): Use it.
6506 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6507 versions instead.
6508 (ps-printer-name): Default to nil.
6509 (ps-printer-name-option): Default to lpr-printer-switch.
6510 (ps-print-region-function): Don't default to nil.
6511 (ps-postscript-code-directory): Simplify default.
6512 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6513 (ps-string-list, ps-eval-switch, ps-flatten-list)
6514 (ps-flatten-list-1): Remove.
6515 (ps-multibyte-buffer): Avoid setq.
6516 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6517 (print-region-function, ps-print-region-function): Don't set them here.
6518
73600831
XF
65192013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6520
0e55c076
XF
6521 * ido.el (ido-fractionp):
6522 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6523 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6524 (ido-max-directory-size, ido-max-dir-file-cache)
6525 (ido-decorations): Doc fix.
6526
73600831
XF
6527 * ansi-color.el: Fix old URL.
6528
3d012865
MM
65292013-07-23 Michael R. Mauger <michael@mauger.com>
6530
e903c210 6531 * progmodes/sql.el: Version 3.3
3d012865
MM
6532 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6533 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6534 (sql-interactive-remove-continuation-prompt): Rewrite, use
6535 functions above. Fix continuation prompt and complete output line
6536 handling.
6537 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6538 redirected output buffer.
6539 (sql-mode): Restore deleted code (Bug#13591).
6540
da77a2e2
JB
65412013-07-23 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6544
80ff0c71
MA
65452013-07-23 Michael Albinus <michael.albinus@gmx.de>
6546
6547 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6548
6549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6551 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6552
b61d71e4
JB
65532013-07-23 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * desktop.el (desktop-clear): Simplify; remove useless checks
6556 against invalid buffer names.
6557 (desktop-list*): Use cl-list*.
6558 (desktop-buffer-info, desktop-create-buffer): Simplify.
6559
c3512092
LL
65602013-07-23 Leo Liu <sdl.web@gmail.com>
6561
6562 * bookmark.el (bookmark-make-record): Restore NAME as a default
6563 value. (Bug#14933)
6564
0ac26976
SM
65652013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6566
7d22ce18
SM
6567 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6568 extracted from autoload--insert-text.
6569 (autoload--insert-text): Remove.
6570 (autoload--print-cookie-text): New function, extracted from
6571 autoload--insert-cookie-text.
6572 (autoload--insert-cookie-text): Remove.
6573 (autoload-generate-file-autoloads): Adjust calls accordingly.
6574
9b2607e8
SM
6575 * winner.el (winner-hook-installed-p): Remove.
6576 (winner-mode): Simplify accordingly.
6577
c43a8618
SM
6578 * subr.el (add-to-list): Fix compiler-macro when `append' is
6579 not constant. Don't use `cl-member' for the base case.
6580
0ac26976
SM
6581 * progmodes/subword.el: Fix boundary case (bug#13758).
6582 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6583 own group.
6584 (subword-backward-regexp): Make it a constant.
6585 (subword-forward-internal): Don't treat a trailing capital as the
6586 beginning of a word.
6587
6874724a
AR
65882013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6589
6590 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6591 global value of tabulated-list-revert-hook (bug#14930).
6592
70f1b5e8
JB
65932013-07-22 Juanma Barranquero <lekktu@gmail.com>
6594
a1c80d9d
JB
6595 * desktop.el: Require 'cl-lib.
6596 (desktop-before-saving-frames-functions): New hook.
6597 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6598 for frames being saved. Rename from desktop--save-minibuffer-frames.
6599 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6600 Do not save frames with non-nil `desktop-dont-save' parameter.
6601 Filter out deleted frames.
a1c80d9d
JB
6602 (desktop--find-frame): Use cl-find-if.
6603 (desktop--select-frame): Use cl-(first|second|third) to access values
6604 of desktop-mini.
6605 (desktop--make-frame): Use cl-delete-if.
6606 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6607 (desktop-restore-frames): Use cl-(first|second|third) to access values
6608 of desktop-mini. Look for visible frame at the end, not while
6609 restoring frames.
6610
70f1b5e8
JB
6611 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6612 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6613 Use string-match-p, looking-at-p (bug#14927).
6614
728dc3cc
JB
66152013-07-21 Juanma Barranquero <lekktu@gmail.com>
6616
56bc453c
JB
6617 * desktop.el (desktop-saved-frame-states):
6618 Rename from desktop--saved-states; all users changed.
6619 (desktop-save-frames): Rename from desktop--save-frames.
6620 Do not save state to desktop file.
6621 (desktop-save): Save desktop-saved-frame-states to desktop file
6622 and reset to nil.
6623 (desktop-restoring-frames-p): New function.
6624 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6625 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6626 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6627
728dc3cc
JB
6628 * desktop.el: Correctly restore iconified frames.
6629 (desktop--filter-iconified-position): New function.
6630 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6631
862f1c9c
GM
66322013-07-20 Glenn Morris <rgm@gnu.org>
6633
c4074c9f
GM
6634 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6635 Let `message' do the formatting.
6636 (def-gdb-preempt-display-buffer): Add explicit format.
6637
d828e5f9
GM
6638 * image-dired.el (image-dired-track-original-file):
6639 Use with-current-buffer.
6640 (image-dired-track-thumbnail): Use with-current-buffer.
6641 Avoid changing point of wrong window.
6642
862f1c9c
GM
6643 * image-dired.el (image-dired-track-original-file):
6644 Avoid changing point of wrong window. (Bug#14909)
6645
f0398ec1 66462013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6647
6648 * progmodes/gdb-mi.el (gdb-done-or-error):
6649 Guard against "%" in gdb output. (Bug#14127)
6650
1451928f
AS
66512013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6652
763a086d
JB
6653 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6654 (Bug#14826)
f7a03897 6655
1451928f
AS
6656 * international/mule.el (coding-system-iso-2022-flags): Fix last
6657 change.
6658
99107004
KH
66592013-07-20 Kenichi Handa <handa@gnu.org>
6660
763a086d
JB
6661 * international/mule.el (coding-system-iso-2022-flags):
6662 Add `8-bit-level-4'. (Bug#8522)
99107004 6663
48494e06
LMI
66642013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6665
8ba8eec5
LMI
6666 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6667 (bug#14815).
6668
dfbc66e3
LMI
6669 * net/eww.el (eww-process-text-input): Allow inputting when the
6670 point is at the start of the line, as the properties aren't
6671 front-sticky.
6672
48494e06
LMI
6673 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6674 degenerate widths.
6675
77c92cb9
RS
66762013-07-19 Richard Stallman <rms@gnu.org>
6677
aec7da77
RS
6678 * epa.el (epa-popup-info-window): Doc fix.
6679
77c92cb9
RS
6680 * subr.el (split-string): New arg TRIM.
6681
945c5bb1
JB
66822013-07-18 Juanma Barranquero <lekktu@gmail.com>
6683
6684 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6685 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6686
e06ec67f
MA
66872013-07-18 Michael Albinus <michael.albinus@gmx.de>
6688
c7064f05 6689 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6690 `file-notify-support'. Do not autoload. Adapt all uses.
6691 (file-notify-supported-p): New defun.
6692
c7064f05
JB
6693 * autorevert.el (auto-revert-use-notify):
6694 Use `file-notify-supported-p' instead of `file-notify-support'.
6695 Adapt docstring.
e06ec67f
MA
6696 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6697
6698 * net/tramp.el (tramp-file-name-for-operation):
6699 Add `file-notify-supported-p'.
6700
6701 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6702 New defun.
6703 (tramp-sh-file-name-handler-alist): Add it as handler for
6704 `file-notify-supported-p '.
6705
6706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6708 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6709 Add `ignore' as handler for `file-notify-*' functions.
6710
5dc8a629
EZ
67112013-07-17 Eli Zaretskii <eliz@gnu.org>
6712
6713 * simple.el (line-move-partial, line-move): Don't start vscroll or
6714 scroll-up if the current line is not taller than the window.
6715 (Bug#14881)
6716
77aea2fb
DG
67172013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6718
6719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6720 highlight question marks in the method names as strings.
ac72c08d
DG
6721 (ruby-block-beg-keywords): Inline.
6722 (ruby-font-lock-keyword-beg-re): Extract from
6723 `ruby-font-lock-keywords'.
77aea2fb 6724
18c26d81
JD
67252013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6726
6727 * frame.el (blink-cursor-blinks): New defcustom.
6728 (blink-cursor-blinks-done): New defvar.
6729 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6730 (blink-cursor-timer-function): Check if number of blinks has been
6731 done on X and NS.
6732 (blink-cursor-suspend, blink-cursor-check): New defuns.
6733
da48522e
GM
67342013-07-15 Glenn Morris <rgm@gnu.org>
6735
6736 * edmacro.el (edmacro-format-keys): Fix previous change.
6737
0463c1ef
PE
67382013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6739
6740 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6741 The hack didn't work outside English locales anyway.
6742
b43f6451
JB
67432013-07-15 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * simple.el (define-alternatives): Rename from alternatives-define,
6746 per RMS' suggestion.
6747
b958c0ad
JB
67482013-07-14 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * desktop.el (desktop-restore-frames): Change default to t.
6751 (desktop-restore-in-current-display): Now offer more options.
6752 (desktop-restoring-reuses-frames): New customization option.
6753 (desktop--saved-states): Doc fix.
6754 (desktop-filter-parameters-alist): New variable, renamed and expanded
6755 from desktop--excluded-frame-parameters.
6756 (desktop--target-display): New variable.
6757 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6758 (desktop--filter-tty*, desktop--filter-*-color)
6759 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6760 (desktop--filter-save-desktop-parm)
6761 (desktop-restore-in-original-display-p): New functions.
6762 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6763 (desktop--save-minibuffer-frames): New function, inspired by a similar
6764 function from Martin Rudalics.
6765 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6766 (desktop--restore-in-this-display-p): Remove.
6767 (desktop--find-frame): Rename from desktop--find-frame-in-display
6768 and add predicate argument.
6769 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6770 (desktop--reuse-list): New variable.
6771 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6772 New functions.
6773 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6774
f6dd8b36
MA
67752013-07-14 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6778
2ce3c565
DG
67792013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6780
763a086d
JB
6781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6782 Highlight conversion methods on Kernel.
2ce3c565 6783
2cdb7698
AM
67842013-07-13 Alan Mackenzie <acm@muc.de>
6785
6786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6787 and comment it out. This out-commenting enables certain C++
6788 declarations to be parsed correctly.
6789
1a67b811
EZ
67902013-07-13 Eli Zaretskii <eliz@gnu.org>
6791
1b796d6b
EZ
6792 * international/mule.el (define-coding-system): Doc fix.
6793
1a67b811
EZ
6794 * simple.el (default-font-height): Don't call font-info if the
6795 frame's default font didn't change since the frame was created.
6796 (Bug#14838)
6797
58fbe886
LL
67982013-07-13 Leo Liu <sdl.web@gmail.com>
6799
6800 * ido.el (ido-read-file-name): Guard against non-symbol value.
6801
1f0480d4
FEG
68022013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6803
6804 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6805 in nested defuns.
6806
97ead0e5
LL
68072013-07-13 Leo Liu <sdl.web@gmail.com>
6808
6809 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6810 ido-set-matches call. (Bug#6852)
6811
0880a952
DG
68122013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6813
6814 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6815 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6816 Ruby 2.0.
6817 (ruby-font-lock-keywords): Distinguish calls to functions with
6818 module-like names from module references. Highlight character
6819 literals.
6820
a7d8babb
SDJ
68212013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6822
6823 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6824 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6825
acfcc8c5
JB
68262013-07-12 Juanma Barranquero <lekktu@gmail.com>
6827
6828 * desktop.el (desktop--v2s): Remove unused local variable.
6829 (desktop-save-buffer): Make defvar-local; adjust docstring.
6830 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6831 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6832
051f2775
AS
68332013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6834
6835 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6836
f24e7572
GM
68372013-07-12 Eli Zaretskii <eliz@gnu.org>
6838
6839 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6840 (Bug#14842)
6841
539a920c
GM
68422013-07-12 Glenn Morris <rgm@gnu.org>
6843
6844 * doc-view.el: Require cl-lib at runtime too.
6845 (doc-view-remove-if): Remove.
6846 (doc-view-search-next-match, doc-view-search-previous-match):
6847 Use cl-remove-if.
6848
6849 * edmacro.el: Require cl-lib at runtime too.
6850 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6851 (edmacro-mismatch, edmacro-subseq): Remove.
6852
6853 * shadowfile.el: Require cl-lib.
6854 (shadow-remove-if): Remove.
6855 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6856 Use cl-remove-if.
6857
6858 * wid-edit.el: Require cl-lib.
6859 (widget-choose): Use cl-remove-if.
6860 (widget-remove-if): Remove.
6861
6862 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6863 (ebrowse-delete-if-not): Remove.
6864 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6865 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6866 Use cl-delete-if-not.
6867
1048af7c
JB
68682013-07-12 Juanma Barranquero <lekktu@gmail.com>
6869
6870 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6871 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6872
6c0674ee
LL
68732013-07-12 Leo Liu <sdl.web@gmail.com>
6874
6875 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6876
a19b3c2d
GM
68772013-07-11 Glenn Morris <rgm@gnu.org>
6878
4582a01c
GM
6879 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6880 (edebug-gensym-index, edebug-gensym):
6881 Remove reimplementation of cl-gensym.
6882 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6883
6884 * thumbs.el: Require cl-lib at run-time too.
6885 (thumbs-gensym-counter, thumbs-gensym):
6886 Remove reimplementation of cl-gensym.
6887 (thumbs-temp-file): Use cl-gensym.
6888
a19b3c2d
GM
6889 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6890 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6891 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6892 (ert--union, ert--gensym-counter, ert--gensym-counter)
6893 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6894 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6895 (ert-make-test-unbound, ert--expand-should-1)
6896 (ert--expand-should, ert--should-error-handle-error)
6897 (should-error, ert--explain-equal-rec)
6898 (ert--plist-difference-explanation, ert-select-tests)
6899 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6900 Use cl-lib functions rather than reimplementations.
6901
88f6a933
MA
69022013-07-11 Michael Albinus <michael.albinus@gmx.de>
6903
6904 * net/tramp.el (tramp-methods): Extend docstring.
6905 (tramp-connection-timeout): New defcustom.
6906 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6907 (with-tramp-progress-reporter): Simplify.
6908 (tramp-process-actions): Improve messages.
6909
6910 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6911 * net/tramp-sh.el (tramp-maybe-open-connection):
6912 Use `tramp-connection-timeout'.
6913 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6914 (Bug#14808)
6915
a43d577e
LL
69162013-07-11 Leo Liu <sdl.web@gmail.com>
6917
6918 * ido.el (ido-read-file-name): Conform to the requirements of
6919 read-file-name. (Bug#11861)
6920 (ido-read-directory-name): Conform to the requirements of
6921 read-directory-name.
6922
d77974bf
JB
69232013-07-11 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * subr.el (delay-warning): New function.
6926
35cb8a3e
EZ
69272013-07-10 Eli Zaretskii <eliz@gnu.org>
6928
6929 * simple.el (default-line-height): New function.
6930 (line-move-partial, line-move): Use it instead of computing the
6931 line height inline.
6932 (line-move-partial): Always compute ROWH. If the last line is
6933 partially-visible, but its text is completely visible, allow
6934 cursor to enter such a partially-visible line.
6935
525c5c77
MA
69362013-07-10 Michael Albinus <michael.albinus@gmx.de>
6937
6938 Improve error messages. (Bug#14808)
6939
6940 * net/tramp.el (tramp-current-connection): New defvar, moved from
6941 tramp-sh.el.
0ac26976 6942 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6943 needed anymore.
0ac26976
SM
6944 (tramp-error-with-buffer): Show message in minibuffer.
6945 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6946 (with-tramp-progress-reporter): Improve messages.
6947 (tramp-process-actions): Use progress reporter. Delete process in
6948 case of error. Improve messages.
6949
763a086d
JB
6950 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6951 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6952 (tramp-current-connection): Remove.
525c5c77
MA
6953 (tramp-maybe-open-connection): The car of
6954 `tramp-current-connection' are the first 3 slots of the vector.
6955
c7a4d368
TZ
69562013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6957
6958 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6959 inside continued strings.
6960
954b166e
PE
69612013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6962
6963 Timestamp fixes for undo (Bug#14824).
6964 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6965
56973319
LL
69662013-07-10 Leo Liu <sdl.web@gmail.com>
6967
6968 * files.el (require-final-newline): Allow safe local value.
6969 (Bug#14834)
6970
5550a72c
LL
69712013-07-09 Leo Liu <sdl.web@gmail.com>
6972
6973 * ido.el (ido-read-directory-name): Handle fallback.
6974 (ido-read-file-name): Update DIR to ido-current-directory.
6975 (Bug#1516)
c28b9050 6976 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6977
70c46b28
DG
69782013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6979
6980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6981 "autoload". Remove "warn lower camel case" section, previously
6982 commented out. Highlight negation char. Do not highlight the
6983 target in singleton method definitions.
6984
0b64b838
SM
69852013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6986
7fd72e2c
SM
6987 * faces.el (tty-setup-hook): Declare the hook.
6988
0b64b838
SM
6989 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6990 and detect when a guard/pred depends on local vars (bug#14773).
6991 (pcase--u1): Adjust caller.
6992
ab49d60b
EZ
69932013-07-08 Eli Zaretskii <eliz@gnu.org>
6994
6995 * simple.el (line-move-partial, line-move): Account for
6996 line-spacing.
701d79aa
EZ
6997 (line-move-partial): Avoid setting vscroll when the last
6998 partially-visible line in window is of default height.
ab49d60b 6999
2d756ae0
LMI
70002013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7001
7002 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7003 been used a while.
7004
ed095bd7
JB
70052013-07-07 Juanma Barranquero <lekktu@gmail.com>
7006
7007 * subr.el (read-quoted-char): Remove unused local variable `char'.
7008
f1e6674b
MK
70092013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7010
584ee3fc
GM
7011 * ediff.el (ediff-version): Version update.
7012 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7013 (ediff-merge-with-ancestor-command, ediff-directories-command)
7014 (ediff-directories3-command, ediff-merge-directories-command)
7015 (ediff-merge-directories-with-ancestor-command): New functions.
7016 All are command-line interfaces to ediff: to facilitate calling
7017 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7018
7019 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7020 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7021
584ee3fc
GM
7022 * viper.el (viper-version): Version update.
7023 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7024
584ee3fc
GM
70252013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7028 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7029 (viper-intercept-ESC-key): Simplify.
7030 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7031 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7032 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7033 (viper-setup-ESC-to-escape): New functions.
7034 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7035 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7036
9aff9b38
EZ
70372013-07-07 Eli Zaretskii <eliz@gnu.org>
7038
5165d44a
JB
7039 * simple.el (default-font-height, window-screen-lines):
7040 New functions.
9aff9b38
EZ
7041 (line-move, line-move-partial): Use them instead of
7042 frame-char-height and window-text-height. This makes scrolling
7043 text smoother when the buffer's default face uses a font that is
7044 different from the frame's default font.
7045
1afb1d07
JD
70462013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7047
7048 * files.el (write-file): Do not display confirm dialog for NS,
7049 it does its own dialog, which can't be cancelled (Bug#14578).
7050
23de972a
EZ
70512013-07-06 Eli Zaretskii <eliz@gnu.org>
7052
7053 * simple.el (line-move-partial): Adjust the row returned by
7054 posn-at-point for the current window-vscroll. (Bug#14567)
7055
54a42486
MA
70562013-07-06 Michael Albinus <michael.albinus@gmx.de>
7057
7058 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7059 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7060 spaces.
7061
34ada5f4
MR
70622013-07-06 Martin Rudalics <rudalics@gmx.at>
7063
7064 * window.el (window-state-put-stale-windows): New variable.
7065 (window--state-put-2): Save list of windows without matching buffer.
7066 (window-state-put): Remove "bufferless" windows if possible.
7067
11e03d89
JB
70682013-07-06 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * simple.el (alternatives-define): Remove leftover :group keyword.
7071 Tweak docstring.
7072
3504a4be
LL
70732013-07-06 Leo Liu <sdl.web@gmail.com>
7074
7075 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7076 (ido-enable-virtual-buffers): New variable.
7077 (ido-buffer-internal, ido-toggle-virtual-buffers)
7078 (ido-make-buffer-list): Use it.
7079 (ido-exhibit): Support turning on and off virtual buffers
7080 automatically.
7081
61e56e2c
JB
70822013-07-06 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * simple.el (alternatives-define): New macro.
7085
321e1a9c
SM
70862013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * subr.el (read-quoted-char): Use read-key.
7089 (sit-for): Let read-event decode tty input (bug#14782).
7090
d610f6dd
SB
70912013-07-05 Stephen Berman <stephen.berman@gmx.net>
7092
7093 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7094 mode command and externally. Fix various related bugs.
7095 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7096 (todo-delete-file): New command.
7097 (todo-check-file): New function.
7098 (todo-show): Handle external deletion of the file we're trying to
7099 show (bug#14688). Replace called-interactively-p by an optional
7100 prefix argument to avoid problematic interaction with catch form
7101 when byte compiled (bug#14702).
7102 (todo-quit): Handle external deletion of the archive's todo file.
7103 Make sure the buffer that was visiting the archive file is still
7104 live before trying to bury it.
7105 (todo-category-completions): Handle external deletion of any
7106 category completion files.
7107 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7108 of todo files, in case of external deletion.
7109 (todo-add-file): Replace unnecessary setq by let-binding.
7110 (todo-find-archive): Check whether there are any archives.
7111 Replace unnecessary setq by let-binding.
7112 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7113 archive buffer whether or not the archive already exists.
7114 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7115 check if the archive is new; if it is, update list of archives.
7116 (todo-default-todo-file): Allow nil to be a valid value for when
7117 there are no todo files.
7118 (todo-reevaluate-default-file-defcustom): Use corrected definition
7119 of todo-default-todo-file.
7120 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7121 (todo-delete-category, todo-show-categories-table)
7122 (todo-category-number): Clarify comment.
7123 (todo-filter-items): Clarify documentation string.
7124 (todo-show-current-file, todo-display-as-todo-file)
7125 (todo-reset-and-enable-done-separator): Tweak documentation string.
7126 (todo-done-separator): Make separator length window-width, since
7127 bug#2749 is now fixed.
7128
ddbdfd6f
MA
71292013-07-05 Michael Albinus <michael.albinus@gmx.de>
7130
321e1a9c
SM
7131 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7132 Support both "gvfs-monitor-dir" and "inotifywait".
7133 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7134 `tramp-sh-file-notify-process-filter'.
7135 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7136 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7137
96eb829a
LL
71382013-07-05 Leo Liu <sdl.web@gmail.com>
7139
7140 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7141
cf13177e
YM
71422013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7143
7144 * frame.el (display-pixel-height, display-pixel-width)
7145 (display-mm-height, display-mm-width): Mention behavior on
7146 multi-monitor setups in docstrings.
7147 (w32-display-monitor-attributes-list): Declare function.
7148 (display-monitor-attributes-list): Use it.
7149
864c58ca
MA
71502013-07-04 Michael Albinus <michael.albinus@gmx.de>
7151
7152 * filenotify.el: New package.
7153
7154 * autorevert.el (top): Require filenotify.el.
7155 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7156 instead.
7157 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7158 (auto-revert-notify-handler): Use `file-notify-*' functions.
7159
7160 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7161
321e1a9c
SM
7162 * net/tramp.el (tramp-file-name-for-operation):
7163 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7164
7165 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7166 for `file-notify-add-watch' and `file-notify-rm-watch'.
7167 (tramp-process-sentinel): Improve trace.
7168 (tramp-sh-handle-file-notify-add-watch)
7169 (tramp-sh-file-notify-process-filter)
7170 (tramp-sh-handle-file-notify-rm-watch)
7171 (tramp-get-remote-inotifywait): New defuns.
7172
96673afe
JL
71732013-07-03 Juri Linkov <juri@jurta.org>
7174
7175 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7176 call of `occur-read-primary-args' to interactive spec.
7177
7178 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7179 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7180
924494f4
MM
71812013-07-03 Matthias Meulien <orontee@gmail.com>
7182
7183 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7184 `Buffer-menu-multi-occur'. Add it to the menu.
7185 (Buffer-menu-mode): Document it in docstring.
7186 (Buffer-menu-multi-occur): New command. (Bug#14673)
7187
56f75efc
DG
71882013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7189
7190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7191 keywords and built-ins.
7192
9b057d61
GM
71932013-07-03 Glenn Morris <rgm@gnu.org>
7194
208dee4d
GM
7195 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7196
9b057d61
GM
7197 Make info-xref checks case-sensitive by default
7198 * info.el (Info-find-node, Info-find-in-tag-table)
7199 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7200 Add option for exact case matching of nodes.
7201 * info-xref.el (info-xref): New custom group.
7202 (info-xref-case-fold): New option.
7203 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7204
e01aa29c
LL
72052013-07-03 Leo Liu <sdl.web@gmail.com>
7206
7207 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7208
3086ca2e
DG
72092013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7210
7211 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7212 middle of block statement initially, lower the depth. Remove
7213 FIXME comment, not longer valid. Remove middle of block statement
7214 detection, no need to do that anymore since we've been using
7215 `ruby-parse-region' here.
7216
a3b49114
JD
72172013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7218
7219 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7220
08e5c823 72212013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7222
7223 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7224
2addf922
JB
72252013-07-01 Juanma Barranquero <lekktu@gmail.com>
7226
7227 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7228 (desktop-restore-in-current-display): New customization option.
7229 (desktop--excluded-frame-parameters): Add `font'.
7230 (desktop--save-frames): Rename from desktop--save-windows.
7231 (desktop--restore-in-this-display-p): New function.
7232 (desktop--make-full-frame): Remove unwanted width/height from
7233 full(width|height) frames.
7234 (desktop--restore-frames): Rename from desktop--restore-windows.
7235 Obey desktop-restore-current-display. Do not delete old frames or
7236 select a new frame unless we were able to restore at least one frame.
7237
ef099a94
MN
72382013-06-30 Michal Nazarewicz <mina86@mina86.com>
7239
7240 * files.el (find-file-noselect): Simplify conditional expression.
7241
7242 * remember.el (remember-append-to-file):
7243 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7244
7245 Add `remember-notes' function to store random notes across Emacs
7246 restarts.
7247 * remember.el (remember-data-file): Add :set callback to affect
7248 notes buffer (if any).
7249 (remember-notes): New command.
7250 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7251 New defcustoms for the `remember-notes' function.
7252 (remember-notes-save-and-bury-buffer): New command.
7253 (remember-notes-mode-map): New variable.
7254 (remember-mode): New minor mode.
7255 (remember-notes--kill-buffer-query): New function.
7256 * startup.el (initial-buffer-choice): Add notes to custom type.
7257
0865d506
EZ
72582013-06-30 Eli Zaretskii <eliz@gnu.org>
7259
0ba54312
EZ
7260 * bindings.el (right-char, left-char): Don't call sit-for, this is
7261 no longer needed. Use arithmetic comparison only for numerical
7262 arguments.
7263
ef099a94
MN
7264 * international/mule-cmds.el (select-safe-coding-system):
7265 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7266
2fae38e5
LMI
72672013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7268
7269 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7270 progression on degenerate tables.
ef099a94 7271 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7272
a47cbd64
JB
72732013-06-30 Juanma Barranquero <lekktu@gmail.com>
7274
7275 Some fixes and improvements for desktop frame restoration.
7276 It is still experimental and disabled by default.
7277 * desktop.el (desktop--save-windows): Put the selected frame at
7278 the head of the list.
7279 (desktop--make-full-frame): New function.
7280 (desktop--restore-windows): Try to re-select the frame that was
7281 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7282 just show an error message and continue. Set up maximized frames
7283 so they have default non-maximized dimensions.
a47cbd64 7284
6dbafa30
DG
72852013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7286
ef099a94
MN
7287 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7288 Don't start heredoc inside a string or comment.
6dbafa30 7289
4c672a0f
EZ
72902013-06-29 Eli Zaretskii <eliz@gnu.org>
7291
7292 * bindings.el (visual-order-cursor-movement): New defcustom.
7293 (right-char, left-char): Provide visual-order cursor motion by
7294 calling move-point-visually. Update the doc strings.
7295
50960f36
KH
72962013-06-28 Kenichi Handa <handa@gnu.org>
7297
7298 * international/mule.el (define-coding-system): New coding system
7299 properties :inhibit-null-byte-detection,
7300 :inhibit-iso-escape-detection, and :prefer-utf-8.
7301 (set-buffer-file-coding-system): If :charset-list property of
7302 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7303 appropriate for setting.
7304
c1ea3abf
JB
7305 * international/mule-cmds.el (select-safe-coding-system):
7306 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7307 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7308
7309 * international/mule-conf.el (prefer-utf-8): New coding system.
7310 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7311 files.
7312
75dbaf9d
IK
73132013-06-28 Ivan Kanis <ivan@kanis.fr>
7314
eadb6068
IK
7315 * net/shr.el (shr-render-region): New function.
7316
75dbaf9d
IK
7317 * net/eww.el: Autoload `eww-browse-url'.
7318
9ea5cf9f
DG
73192013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7320
c1ea3abf
JB
7321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7322 Adapt to `package-desc-version' being a list.
7323 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7324 archive element.
7325
39c0e36f
JB
73262013-06-27 Juanma Barranquero <lekktu@gmail.com>
7327
7328 New experimental feature to save&restore window and frame setup.
7329 * desktop.el (desktop-save-windows): New defcustom.
7330 (desktop--saved-states): New var.
7331 (desktop--excluded-frame-parameters): New defconst.
7332 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7333 (desktop--restore-windows, desktop--save-windows): New functions.
7334 (desktop-save): Call `desktop--save-windows'.
7335 (desktop-read): Call `desktop--restore-windows'.
7336
7f13406b
LMI
73372013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7338
ef099a94 7339 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7340
1e072639
SB
73412013-06-27 Stephen Berman <stephen.berman@gmx.net>
7342
7343 * info.el (Info-try-follow-nearest-node): Move search for footnote
7344 above search for node name to prevent missing a footnote (bug#14717).
7345
f3e2cbde
SB
73462013-06-27 Stephen Berman <stephen.berman@gmx.net>
7347
7348 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7349
99906aa0
LL
73502013-06-27 Leo Liu <sdl.web@gmail.com>
7351
7352 * net/eww.el (eww-read-bookmarks): Check file size.
7353
539f75f4
SM
73542013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7357 advice--pending if newdef is nil or an autoload (bug#13820).
7358 (advice-mapc): New function.
7359
843571cb
LMI
73602013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
7362 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7363 probably.
23a75d7f 7364 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7365 (eww-add-bookmark): New command.
7366 (eww-bookmark-mode): New mode and commands.
a285ce99 7367 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7368 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7369
f2136e1e
GM
73702013-06-26 Glenn Morris <rgm@gnu.org>
7371
eab35f39
GM
7372 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7373 (hfy-size): Handle ttys. (Bug#14668)
7374
f2136e1e
GM
7375 * info-xref.el: Update for Texinfo 5 change in *note format.
7376 (info-xref-node-re, info-xref-note-re): New constants.
7377 (info-xref-check-buffer): Use info-xref-note-re.
7378
a49ff80c
SM
73792013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7380
a343d218
SM
7381 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7382
a49ff80c
SM
7383 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7384 nil terminate the loop (bug#14718).
7385
8308f184
LMI
73862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387
7388 * net/eww.el: Rework history traversal. When going forward/back,
7389 put these actions into the history, too, so that they can be
7390 replayed.
26bf2b82 7391 (eww-render): Move the history reset to the correct buffer.
8308f184 7392
ec64c273
JL
73932013-06-25 Juri Linkov <juri@jurta.org>
7394
7395 * files-x.el (modify-dir-local-variable): Change the header comment
7396 in the file with directory local variables. (Bug#14692)
7397
e080a9d7
JL
7398 * files-x.el (read-file-local-variable-value): Add `default'.
7399 (Bug#14710)
7400
bfbc93a1
IK
74012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7402
7403 * net/eww.el (eww-make-unique-file-name): Create a unique file
7404 name before saving to entering `y' accidentally asynchronously.
7405
74062013-06-25 Ivan Kanis <ivan@kanis.fr>
7407
7408 * net/eww.el (eww-download): New command and keystroke.
7409
16f74f10
LMI
74102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411
a49ff80c 7412 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7413
7414 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7415 be more consistent with Info and dired.
7416
7417 * net/eww.el (eww-mode-map): Ditto.
7418
12059709
SM
74192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7422 packages from archives.
7423 (package-archive-contents): Change format; include obsolete packages.
7424 (package-desc): Use `dir' to mark builtin packages.
7425 (package--from-builtin): Set the `dir' field to `builtin'.
7426 (generated-autoload-file, version-control): Declare.
7427 (package-compute-transaction): Change first arg and return value to be
7428 lists of package-descs. Adjust to new package-archive-contents format.
7429 (package--add-to-archive-contents): Adjust to new
7430 package-archive-contents format.
7431 (package-download-transaction): Arg is now a list of package-descs.
7432 (package-install): If `pkg' is a package name, pass it as
7433 a requirement, so it is subject to the usual (e.g. disabled) checks.
7434 (describe-package): Accept package-desc as well.
7435 (describe-package-1): Describe a specific package-desc. Add links to
7436 other package-descs for the same package name.
7437 (package-menu-describe-package): Pass the actual package-desc.
7438 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7439 works correctly.
7440 (package-desc-status): New function.
7441 (package-menu--refresh): New function, extracted
7442 from package-menu--generate.
7443 (package-menu--generate): Use it.
7444 (package-delete): Update package-alist.
7445 (package-menu-execute): Don't call package-initialize.
7446
7447 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7448 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7449 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7450 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7451 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7452 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7453
8bbdea0f
MR
74542013-06-25 Martin Rudalics <rudalics@gmx.at>
7455
7456 * window.el (window--state-get-1): Workaround for bug#14527.
7457 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7458
e82b0991
LMI
74592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460
7461 * net/eww.el (eww-back-url): Implement the history by stashing all
7462 the data into a list.
d3f0f918 7463 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7464
c763842b
SM
74652013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7468 for values and use read--expression for expressions (bug#14710).
7469 (read-file-local-variable): Avoid setq.
7470 (read-file-local-variable-mode): Use minor-mode-list.
7471
bceff189
RW
74722013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7473
864c58ca 7474 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7475 for DOI URLs.
7476
45f431c6
RW
74772013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7478
864c58ca 7479 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7480 Update imenu-support when dialect changes.
7481
f42d8237
LL
74822013-06-25 Leo Liu <sdl.web@gmail.com>
7483
7484 * ido.el (ido-read-internal): Allow forward slash on windows.
7485
be549ce6
LMI
74862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
7488 * net/eww.el (eww): Start of strings is \\`, not ^.
7489
71d4c19d
IK
74902013-06-24 Ivan Kanis <ivan@kanis.fr>
7491
5196f88a
IK
7492 * net/shr.el (shr-browse-url): Fix interactive spec.
7493
71d4c19d
IK
7494 * net/eww.el (eww): Add a trailing slash to domain names.
7495
ae36ca55
JB
74962013-06-24 Juanma Barranquero <lekktu@gmail.com>
7497
7498 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7499
0ebd92a3
LMI
75002013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7501
bdaa086b
LMI
7502 * net/shr.el (shr-browse-url): Use an external browser if given a
7503 prefix.
7504
c763842b 7505 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7506
b89fc156
IK
75072013-06-24 Ivan Kanis <ivan@kanis.fr>
7508
7509 * net/eww.el (eww): Work more correctly for file: URLs.
7510 (eww-detect-charset): Allow quoted charsets.
7511 (eww-yank-page-url): New command and keystroke.
7512
18eb4bca
DU
75132013-06-24 Daiki Ueno <ueno@gnu.org>
7514
7515 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7516 file name of gpg executable.
7517 (epg-context-program): New function.
7518 (epg-context-home-directory): New function.
7519 (epg-context-set-program): New function.
7520 (epg-context-set-home-directory): New function.
7521 (epg--start): Use `epg-context-program' instead of
7522 'epg-gpg-program'.
7523 (epg--list-keys-1): Likewise.
7524
6c6268c8
LL
75252013-06-24 Leo Liu <sdl.web@gmail.com>
7526
7527 * ido.el (ido-read-internal): Fix bug#14620.
7528
5e400cb3
JB
75292013-06-23 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * faces.el (face-documentation): Simplify.
7532 (read-face-attribute, tty-find-type, x-resolve-font-name):
7533 Use `string-match-p'.
7534 (list-faces-display): Use `string-match-p'. Simplify.
7535 (face-spec-recalc): Check face to avoid face alias loops.
7536 (read-color): Use `string-match-p' and non-capturing parenthesis.
7537
f3f9606c
LMI
75382013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539
7540 * net/shr.el (shr-rescale-image): Use the new
7541 :max-width/:max-height functionality.
7542
a3ca09b9
IK
75432013-06-23 Ivan Kanis <ivan@kanis.fr>
7544
7545 * net/eww.el (eww-search-prefix): New variable.
7546 (eww): Use it.
f865b474
IK
7547 (eww-external-browser): New variable.
7548 (eww-mode-map): New keystroke.
7549 (eww-browse-with-external-browser): New command.
a3ca09b9 7550
e854cfc7
IK
7551 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7552
18bb9e21
JB
75532013-06-23 Juanma Barranquero <lekktu@gmail.com>
7554
7555 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7556 Don't skip aligning the next header field when padding is 0;
7557 otherwise, field width is not respected unless the title is as
7558 wide as the field.
7559
5b165ade
SM
75602013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * emacs-lisp/package.el (package-el-version): Remove.
7563 (package-process-define-package): Fix inf-loop.
7564 (package-install): Allow symbols as arguments again.
7565
12adebe9
DG
75662013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7567
7568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7569 add some more keyword-like methods.
7570 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7571
388573ee
JB
75722013-06-22 Juanma Barranquero <lekktu@gmail.com>
7573
7574 * bs.el (bs-buffer-show-mark): Make defvar-local.
7575 (bs-mode): Use setq-local.
7576
7577 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7578 (emacs-lock--try-unlocking): Make defvar-local.
7579
4582a01c 75802013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7581
2663dd23
GM
7582 * play/cookie1.el (cookie-apropos): Minor simplification.
7583
3d94f3ad
GM
7584 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7585
f72e2fdb
DG
75862013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7587
7588 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7589 `regexp-opt', it breaks the build during dumping.
7590
73eab938
DG
75912013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7592
c763842b
SM
7593 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7594 Highlight keyword-like methods on Kernel and Module with
73eab938 7595 font-lock-builtin-face.
5cf8176d
DG
7596 (auto-mode-alist): Consolidate different entries into one regexp
7597 and add more *file-s.
73eab938 7598
d26255f6
SB
75992013-06-21 Stephen Berman <stephen.berman@gmx.net>
7600
7601 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7602
7603 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7604 (diary-entry): Use it in the action of this button type instead of
7605 diary-goto-entry.
7606
7607 * calendar/todo-mode.el: New version.
7608 (todo-add-category): Append new category to end of file and give
7609 it the highest number, instead of putting it at the beginning and
7610 giving it 0. Incorporate noninteractive functionality.
7611 (todo-forward-category): Adapt to 1-based category numbering.
7612 Allow skipping over archived categories.
7613 (todo-backward-category): Derive from todo-forward-category.
7614 (todo-backward-item, todo-forward-item): Make noninteractive and
7615 delegate interactive part to new commands. Make sensitive to done items.
7616 (todo-categories): Make value an alist of category names and
7617 vectors of item counts.
7618 (todo-category-beg): Make a defconst.
7619 (todo-category-number): Use 1 instead of 0 as initial value.
7620 (todo-category-select): Make sensitive to overlays, optional item
7621 highlighting and done items.
7622 (todo-delete-item): Make sensitive to overlays and marked and done items.
7623 (todo-edit-item): Make sensitive to overlays and editing of
7624 date/time header optional. Add format checks.
7625 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7626 no-op if point is not on an item. Advertise using todo-edit-quit.
7627 (todo-edit-mode): Make sensitive to new format, font-locking, and
7628 multiple todo files.
7629 (todo-insert-item, todo-insert-item-here): Derive from
7630 todo-basic-insert-item and extend functionality.
7631 (todo-item-end, todo-item-start): Make sensitive to done items.
7632 (todo-item-string): Don't return text properties. Restore point.
7633 (todo-jump-to-category): Make sensitive to multiple todo files and
7634 todo archives. Use extended category completion.
7635 (todo-lower-item, todo-raise-item): Rename to *-priority and
7636 derive from todo-set-item-priority.
7637 (todo-mode): Derive from special-mode. Make sensitive to new
7638 format, font-locking and multiple todo files. Make read-only.
7639 (todo-mode-map): Don't suppress digit keys, so they can supply
7640 prefix arguments. Add many new key bindings.
7641 (todo-prefix): Insert as an overlay instead of file text.
7642 Change semantics from diary date expression to purely visual mark.
7643 (todo-print): Rename to todo-print-buffer. Make buffer display
7644 features printable. Remove option to restrict number of items
7645 printed. Add option to print to file.
7646 (todo-print-function): Rename to todo-print-buffer-function.
7647 (todo-quit): Extend to handle exiting new todo modes.
7648 (todo-remove-item): Make sensitive to overlays.
7649 (todo-save): Extend to buffers of filtered items.
7650 (todo-show): Make sensitive to done items, multiple todo files and
7651 new todo modes. Offer to convert legacy todo file before creating
7652 first new todo file.
7653 (todo-show-priorities): Rename to todo-top-priorities.
7654 Change semantics of value 0.
7655 (todo-top-priorities): Rename to todo-filter-top-priorities,
7656 derive from todo-filter-items and extend functionality.
7657 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7658 and extend functionality to other types of filtered items.
7659 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7660 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7661 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7662 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7663 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7664 (todo-edit-mode-hook, todo-entry-prefix-function)
7665 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7666 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7667 (todo-initials, todo-insert-threshold, todo-item-string-start)
7668 (todo-line-string, todo-menu, todo-mode-hook)
7669 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7670 (todo-print-priorities, todo-remove-separator)
7671 (todo-save-top-priorities-too, todo-string-count-lines)
7672 (todo-string-multiline-p, todo-time-string-format)
7673 (todo-tmp-buffer-name): Remove.
7674 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7675 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7676 (todo-edit-category-diary-inclusion)
7677 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7678 (todo-edit-file, todo-edit-item-date-day)
7679 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7680 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7681 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7682 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7683 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7684 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7685 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7686 (todo-filter-top-priorities-multifile, todo-find-archive)
7687 (todo-find-filtered-items-file, todo-go-to-source-item)
7688 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7689 (todo-jump-to-archive-category, todo-lower-category)
7690 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7691 (todo-move-category, todo-move-item, todo-next-button)
7692 (todo-next-item, todo-padded-string, todo-powerset)
7693 (todo-previous-button, todo-previous-item)
7694 (todo-print-buffer-to-file, todo-raise-category)
7695 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7696 (todo-set-category-number, todo-set-item-priority)
7697 (todo-set-top-priorities-in-category)
7698 (todo-set-top-priorities-in-file, todo-show-categories-table)
7699 (todo-sort-categories-alphabetically-or-numerically)
7700 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7701 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7702 (todo-toggle-item-header, todo-toggle-item-highlighting)
7703 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7704 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7705 (todo-unarchive-items, todo-unmark-category): New commands.
7706 (todo-absolute-file-name, todo-add-to-buffer-list)
7707 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7708 (todo-basic-insert-item, todo-category-completions)
7709 (todo-category-number, todo-category-string-matcher-1)
7710 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7711 (todo-check-format, todo-clear-matches)
7712 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7713 (todo-current-category, todo-date-string-matcher)
7714 (todo-define-insertion-command, todo-diary-expired-matcher)
7715 (todo-diary-goto-entry, todo-diary-item-p)
7716 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7717 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7718 (todo-done-item-section-p, todo-done-separator)
7719 (todo-done-string-matcher, todo-files, todo-filter-items)
7720 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7721 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7722 (todo-insert-category-line, todo-insert-item-from-calendar)
7723 (todo-insert-sort-button, todo-insert-with-overlays)
7724 (todo-insertion-command-name, todo-insertion-key-bindings)
7725 (todo-label-to-key, todo-longest-category-name-length)
7726 (todo-make-categories-list, todo-mode-external-set)
7727 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7728 (todo-modes-set-3, todo-multiple-filter-files)
7729 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7730 (todo-read-category, todo-read-date, todo-read-dayname)
7731 (todo-read-file-name, todo-read-time)
7732 (todo-reevaluate-category-completions-files-defcustom)
7733 (todo-reevaluate-default-file-defcustom)
7734 (todo-reevaluate-filelist-defcustoms)
7735 (todo-reevaluate-filter-files-defcustom)
7736 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7737 (todo-reset-done-separator, todo-reset-done-separator-string)
7738 (todo-reset-done-string, todo-reset-global-current-todo-file)
7739 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7740 (todo-reset-prefix, todo-set-categories)
7741 (todo-set-date-from-calendar, todo-set-show-current-file)
7742 (todo-set-top-priorities, todo-short-file-name)
7743 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7744 (todo-total-item-counts, todo-update-buffer-list)
7745 (todo-update-categories-display, todo-update-categories-sexp)
7746 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7747 New functions.
7748 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7749 New major modes.
7750 (todo-categories, todo-display, todo-edit, todo-faces)
7751 (todo-filtered): New defgroups.
7752 (todo-archived-only, todo-button, todo-category-string, todo-date)
7753 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7754 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7755 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7756 (todo-add-item-if-new-category, todo-always-add-time-string)
7757 (todo-categories-align, todo-categories-archived-label)
7758 (todo-categories-category-label, todo-categories-diary-label)
7759 (todo-categories-done-label, todo-categories-number-separator)
7760 (todo-categories-todo-label, todo-categories-totals-label)
7761 (todo-category-completions-files, todo-completion-ignore-case)
7762 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7763 (todo-done-separator-string, todo-done-string)
7764 (todo-files-function, todo-filter-done-items, todo-filter-files)
7765 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7766 (todo-initial-category, todo-initial-file, todo-item-mark)
7767 (todo-legacy-date-time-regexp, todo-mode-line-function)
7768 (todo-nondiary-marker, todo-number-prefix)
7769 (todo-print-buffer-function, todo-show-current-file)
7770 (todo-show-done-only, todo-show-first, todo-show-with-done)
7771 (todo-skip-archived-categories, todo-top-priorities-overrides)
7772 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7773 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7774 New defcustoms.
7775 (todo-category-done, todo-date-pattern, todo-date-string-start)
7776 (todo-diary-items-buffer, todo-done-string-start)
7777 (todo-filtered-items-buffer, todo-item-start)
7778 (todo-month-abbrev-array, todo-month-name-array)
7779 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7780 (todo-top-priorities-buffer): New defconsts.
7781 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7782 (todo-categories-with-marks, todo-category-string-face)
7783 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7784 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7785 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7786 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7787 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7788 (todo-font-lock-keywords, todo-global-current-todo-file)
7789 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7790 (todo-insertion-commands-args)
7791 (todo-insertion-commands-args-genlist)
7792 (todo-insertion-commands-names, todo-insertion-map)
7793 (todo-key-bindings-t, todo-key-bindings-t+a)
7794 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7795 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7796 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7797 (todo-visited): New variables.
7798
cad5d1cb
GM
77992013-06-21 Glenn Morris <rgm@gnu.org>
7800
7801 * play/cookie1.el (cookie-apropos): Add optional display argument.
7802 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7803 (psychoanalyze-pinhead): Use cookie-doctor.
7804
9e277302
JB
78052013-06-21 Juanma Barranquero <lekktu@gmail.com>
7806
7807 * emacs-lisp/package.el (tar-get-file-descriptor)
7808 (tar--extract): Declare.
7809
c5b0993e
EW
78102013-06-21 Eduard Wiebe <usenet@pusto.de>
7811
7812 Extend flymake's warning predicate to be a function (bug#14217).
7813 * progmodes/flymake.el (flymake-warning-predicate): New.
7814 (flymake-parse-line): Use it.
7815 (flymake-warning-re): Make obsolete alias to
7816 `flymake-warning-predicate'.
7817
a7d2d465
SM
78182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7821 (package-obsolete-list): Remove.
7822 (package-activate): Remove min-version argument. Add `force' argument.
7823 Adjust to new package-alist format.
7824 (package-mark-obsolete): Remove.
7825 (package-unpack): Force reload of the package's autoloads.
7826 (package-installed-p): Check builtins if the installed package is not
7827 recent enough.
7828 (package-initialize): Don't reset package-obsolete-list.
7829 Don't specify which package version to activate.
7830 (package-process-define-package, describe-package-1)
7831 (package-menu--generate): Adjust to new package-alist format.
7832
cedf5c9d
JB
78332013-06-21 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * allout-widgets.el (allout-widgets-mode-off)
7836 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7837 (allout-widgets-post-command-business)
7838 (allout-widgets-after-copy-or-kill-function)
7839 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7840 (allout-decorate-item-and-context)
7841 (allout-graphics-modification-handler): Fix typos in docstrings.
7842 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7843
7844 * cmuscheme.el (scheme-start-file): Doc fix.
7845 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7846 (scheme-input-filter): Use `string-match-p'.
7847
7848 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7849
7850 * dired-x.el: Use Dired consistently in docstrings.
7851
7852 * dired.el: Use Dired consistently in docstrings.
7853 (dired-readin, dired-mode): Use `setq-local'.
7854 (dired-switches-alist): Make defvar-local.
7855 (dired-buffers-for-dir): Use `zerop'.
7856 (dired-safe-switches-p, dired-switches-escape-p)
7857 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7858 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7859 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7860 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7861 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7862 (dired-toggle-marks, dired-mark-files-containing-regexp)
7863 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7864 (dired-flag-auto-save-files, dired-flag-backup-files):
7865 Use `looking-at-p'.
7866 (dired-mark-files-regexp, dired-build-subdir-alist):
7867 Use `string-match-p', `looking-at-p'.
7868
7869 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7870 (direct-print-region-helper): Use `string-match-p'.
7871
aed838b5
LL
78722013-06-21 Leo Liu <sdl.web@gmail.com>
7873
cedf5c9d
JB
7874 * comint.el (comint-redirect-results-list-from-process):
7875 Fix infinite loop.
aed838b5 7876
d80a808f
LMI
78772013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7879 * net/eww.el (eww-update-header-line-format): Quote % characters.
7880
e7a526e3
GM
78812013-06-21 Glenn Morris <rgm@gnu.org>
7882
7883 * play/cookie1.el (cookie): New custom group.
7884 (cookie-file): New option.
7885 (cookie-check-file): New function.
7886 (cookie): Make it interactive. Make start and end messages optional.
7887 Interactively, display the result. Default to cookie-file.
7888 (cookie-insert): Default to cookie-file.
7889 (cookie-snarf): Make start and end messages optional.
7890 Default to cookie-file. Use with-temp-buffer.
7891 (cookie-read): Rename from read-cookie.
7892 Make start and end messages optional. Default to cookie-file.
7893 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7894 Do not autoload it.
e7a526e3
GM
7895 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7896 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7897
62efb35e
LL
78982013-06-21 Leo Liu <sdl.web@gmail.com>
7899
7900 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7901
21e3f963
GM
79022013-06-21 Glenn Morris <rgm@gnu.org>
7903
7904 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7905
fd846ab4
SM
79062013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7907 Daniel Hackney <dan@haxney.org>
7908
7909 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7910 Consolidate the single-file vs tarball code.
7911 (package-desc-suffix): New function.
7912 (package-desc-full-name): Don't bother inlining it.
7913 (package-load-descriptor): Return the new package-desc.
7914 (package-mark-obsolete): Remove unused arg `package'.
7915 (package-unpack): Make it work for single files as well.
7916 Make it update package-alist.
7917 (package--make-autoloads-and-stuff): Rename from
7918 package--make-autoloads-and-compile. Don't compile any more.
7919 (package--compile): New function.
7920 (package-generate-description-file): New function, extracted from
7921 package-unpack-single.
7922 (package-unpack-single): Remove.
7923 (package--with-work-buffer): Add indentation and debugging info.
7924 (package-download-single): Remove.
7925 (package-install-from-archive): Rename from package-download-tar, make
7926 it take a pkg-desc, and make it work for single files as well.
7927 (package-download-transaction): Simplify.
7928 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7929 external tar program.
7930 (package-install-from-buffer): Remove `pkg-desc' argument.
7931 Use package-tar-file-info for tar-mode buffers.
7932 (package-install-file): Simplify accordingly.
7933 (package-archive-base): Change to take a pkg-desc.
7934 * tar-mode.el (tar--check-descriptor): New function, extracted from
7935 tar-get-descriptor.
7936 (tar-get-descriptor): Use it.
7937 (tar-get-file-descriptor): New function.
7938 (tar--extract): New function, extracted from tar-extract.
7939 (tar--extract): Use it.
7940 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7941 case the summary uses non-ascii. Adjust to new calling convention of
7942 package-tar-file-info.
7943
b7deae5e
LL
79442013-06-21 Leo Liu <sdl.web@gmail.com>
7945
fd846ab4
SM
7946 * comint.el (comint-redirect-results-list-from-process):
7947 Fix random delay. (Bug#14681)
b7deae5e 7948
7a65a0b2
JB
79492013-06-21 Juanma Barranquero <lekktu@gmail.com>
7950
7951 * profiler.el (profiler-format-number): Use log, not log10.
7952
1493c2af
JB
79532013-06-20 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7956
aff6371e
SM
79572013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7960 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7961 yet available.
7962 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7963 (AUTOGENEL): ... here.
7964 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7965 (cl--defsubst-expand): Use it.
7966
89561f72
PE
79672013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7968
7969 * subr.el (log10): Move here from C code, and declare as obsolete.
7970 All uses of (log10 X) replaced with (log X 10).
7971
47199123
JB
79722013-06-20 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7975 Declare with `defvar-local'.
7976 (tabulated-list-use-header-line, tabulated-list-entries)
7977 (tabulated-list-padding, tabulated-list-printer)
7978 (tabulated-list-sort-key): Declare with `defvar-local'.
7979 (tabulated-list-init-header, tabulated-list-print-fake-header):
7980 Use `setq-local'.
7981
4a172eab
MA
79822013-06-20 Michael Albinus <michael.albinus@gmx.de>
7983
47199123
JB
7984 * arc-mode.el (archive-mode): Add `archive-write-file' to
7985 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7986
5fc0acc0
JB
79872013-06-20 Juanma Barranquero <lekktu@gmail.com>
7988
d5b27848
JB
7989 * cus-edit.el (custom-commands): Fix typos.
7990 (custom-display): Fix tooltip text.
7991 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7992 Fix typos in docstrings.
7993 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7994 (custom-unlispify-menu-entry, custom-magic-value-create)
7995 (custom-add-see-also, custom-group-value-create): Use ?\s.
7996 (custom-guess-type, customize-apropos, editable-field)
7997 (custom-face-value-create): Use `string-match-p'.
7998 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7999
8000 * custom.el (custom-load-symbol): Use `string-match-p'.
8001
a5c581d8
JB
8002 * ansi-color.el: Convert to lexical binding.
8003 (ansi-colors): Fix URL.
8004 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8005 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8006 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8007
970ad972
G
80082013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8009
8010 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8011
8012 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8013
80142013-06-19 Tom Tromey <tromey@redhat.com>
8015
8016 * net/eww.el (eww-top-url): Remove.
8017 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8018 (eww-render): Set new variables. Don't set eww-top-url.
8019 (eww-handle-link): Handle "prev", "home", and "contents".
8020 Downcase the rel text.
8021 (eww-top-url): Choose best top URL.
8022
80232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
8025 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8026 relying in widget.el. Using widget.el leads to too many
8027 user interface inconsistencies.
8028 (eww-self-insert): Implement entering commands in text fields.
8029 (eww-process-text-input): New function to make text input field editing
8030 work.
8031 (eww-submit): Rewrite to use the new-style form methods.
8032 (eww-select-display): Display the correct selected item.
8033 (eww-change-select): Implement changing the select value.
8034 (eww-toggle-checkbox): Implement radio/checkboxes.
8035 (eww-update-field): Fix compilation error.
8036 (eww-tag-textarea): Implement <textarea>.
8037
8038 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8039 we don't shadow mode-specific bindings.
8040
8041 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8042 nothing to push.
8043
8044 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8045
4582a01c 80462013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8047
8048 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8049
15b263dc
MA
80502013-06-19 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8053 not needed.
8054
8055 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8056
8f5297f7
LMI
80572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8058
8059 * net/browse-url.el (browse-url-browser-function):
8060 `eww-browse-url' has the right calling signature, `eww' does not.
8061
011c4552
GM
80622013-06-19 Glenn Morris <rgm@gnu.org>
8063
2285bd27
GM
8064 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8065 Only eval autoloaded macros.
8066 (byte-compile-autoload): Only give the macro warning for macros.
8067
1d653303
GM
8068 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8069 (ps-underlined-faces): Declare.
8070
bdd779ec
GM
8071 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8072 (speedbar-add-supported-extension): Declare.
8073
011c4552
GM
8074 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8075 Don't include a date stamp in the header of the generated file;
8076 it leads to needless differences between output files.
8077
e59dfb0e
MA
80782013-06-19 Michael Albinus <michael.albinus@gmx.de>
8079
c763842b
SM
8080 * net/secrets.el (secrets-struct-secret-content-type):
8081 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8082 Some servers do not offer introspection.
e59dfb0e 8083
102626e2
SM
80842013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * electric.el (electric-pair-mode): Improve interaction with
8087 electric-layout-mode.
8088 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8089 (electric-pair-syntax): Use text-mode-syntax-table in comments
8090 and strings.
8091 (electric-pair--insert): New function.
8092 (electric-pair-post-self-insert-function): Use it and
8093 electric--after-char-pos.
8094
ad528125
LL
80952013-06-19 Leo Liu <sdl.web@gmail.com>
8096
8097 * progmodes/octave.el (octave-help): Fix regexp.
8098
924d6997
G
80992013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8100
8101 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8102 (shr-table-horizontal-line): Allow nil as a value, and change the
8103 default.
8104 (shr-insert-table-ruler): Respect the nil value.
8105
81062013-06-18 Tom Tromey <tromey@barimba>
8107
8108 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8109 New defvars.
8110 (eww-open-file): New defun.
8111 (eww-render): Initialize new variables.
8112 (eww-display-html): Handle "link" and "a".
8113 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8114 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8115 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8116 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8117 New defuns.
924d6997 8118
d1bbba4f
DG
81192013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8120
8121 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8122 Distinguish ternary operator tokens from slash symbol and slash
8123 char literal.
8124
14dd22d2
JB
81252013-06-18 Juanma Barranquero <lekktu@gmail.com>
8126
8127 Convert symbol prettification into minor mode and global minor mode.
8128
8129 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8130 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8131 (prettify-symbols--keywords): Rename from
8132 `prog-prettify-symbols-alist' and make a local defvar.
8133 (prettify-symbols--compose-symbol): Rename from
8134 `prog--prettify-font-lock-compose-symbol'.
8135 (prettify-symbols--make-keywords): Rename from
8136 `prog-prettify-font-lock-symbols-keywords' and simplify.
8137 (prog-prettify-install): Remove.
8138 (prettify-symbols-mode): New minor mode, based on
8139 `prog-prettify-install'.
8140 (turn-on-prettify-symbols-mode): New function.
8141 (global-prettify-symbols-mode): New globalized minor mode.
8142
8143 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8144 * progmodes/cfengine.el (cfengine3-mode):
8145 * progmodes/perl-mode.el (perl-mode): Don't call
8146 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8147
292c880c
JL
81482013-06-18 Juri Linkov <juri@jurta.org>
8149
8150 * files-x.el (modify-file-local-variable-message): New function.
8151 (modify-file-local-variable)
8152 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8153 and call `modify-file-local-variable-message' when it's non-nil.
8154 (add-file-local-variable, delete-file-local-variable)
8155 (add-file-local-variable-prop-line)
8156 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8157 and use it. (Bug#9820)
8158
0950aa27
JL
81592013-06-18 Juri Linkov <juri@jurta.org>
8160
8161 * emulation/vi.el (vi-shell-op):
8162 * emulation/vip.el (vip-execute-com, ex-command):
8163 * emulation/viper-cmd.el (viper-exec-bang):
8164 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8165 the call of `shell-command-on-region'. (Bug#14637)
8166
8167 * simple.el (shell-command-on-region): Doc fix.
8168
8fbcca16
SM
81692013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8172 (bug#14633).
8173
dd7426ea
GM
81742013-06-18 Glenn Morris <rgm@gnu.org>
8175
4ba54f7d
GM
8176 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8177
dd7426ea
GM
8178 * newcomment.el (comment-search-forward, comment-search-backward):
8179 Doc fix. (Bug#14376)
8180
58aa805b
JB
81812013-06-18 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8184 (buffer-face-mode-invoke): Doc fix.
8185
9a08a617
MM
81862013-06-18 Matthias Meulien <orontee@gmail.com>
8187
8188 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8189 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8190
f2f426ca
GM
81912013-06-18 Glenn Morris <rgm@gnu.org>
8192
9445f99b
GM
8193 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8194 Replace obsolete function generic-make-keywords with its expansion.
8195
e0df2d14
GM
8196 * progmodes/python.el (ffap-alist): Declare.
8197
f2f426ca
GM
8198 * textmodes/reftex.el (bibtex-mode-map): Declare.
8199
f7f9a720
SM
82002013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8203 (package-unpack, package-unpack-single): Return the pkg-dir.
8204 (package-download-transaction): Use it to update package-alist.
8205
57ff04e0
LMI
82062013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8207
8208 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8209 possible choice.
8210
c048c022
JL
82112013-06-17 Juri Linkov <juri@jurta.org>
8212
8213 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8214
b5bcaee5
DG
82152013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8216
a020afb9
JB
8217 * emacs-lisp/package.el (package-load-descriptor):
8218 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8219 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8220
551e07e5
JB
82212013-06-17 Juanma Barranquero <lekktu@gmail.com>
8222
8223 * startup.el (command-line): Expand package name returned by
8224 `package--description-file' (bug#14639).
8225
d363bffb
DG
82262013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8227
8228 * emacs-lisp/package.el (package-load-descriptor): Do not call
8229 `emacs-lisp-mode', just use its syntax table.
8230
f612933b
JB
82312013-06-17 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8234 `font-lock-extra-managed-props' if any prettifying keyword is added.
8235 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8236 (prog-mode): Use `setq-local'.
8237
db3b7db5
SM
82382013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * international/characters.el (standard-case-table): Set syntax of ?»
8241 and ?« to punctuation.
8242
f3d674df
JB
82432013-06-16 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8246 Save relevant match data before calling `syntax-ppss' (bug#14595).
8247
31489a32
JL
82482013-06-15 Juri Linkov <juri@jurta.org>
8249
8250 * files-x.el (modify-file-local-variable-prop-line): Add local
8251 variables to the end of the existing comment on the first line.
8252 Use `file-auto-mode-skip' to skip interpreter magic line,
8253 and also skip XML declaration.
8254
66bd25ab
SM
82552013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * startup.el (package--builtin-versions): New var.
8258 (package-subdirectory-regexp): Remove.
8259 (package--description-file): Hard code its value instead.
8260
8261 * emacs-lisp/package.el: Don't activate packages older than builtin.
8262 (package-obsolete-list): Rename from package-obsolete-alist, and make
8263 it into a simple list of package-desc.
8264 (package-strip-version): Remove.
8265 (package-built-in-p): Use package--builtin-versions.
8266 (package-mark-obsolete): Simplify.
8267 (package-process-define-package): Mark it obsolete if older than the
8268 builtin version.
8269 (package-handle-response): Use line-end-position.
8270 (package-read-archive-contents, package--download-one-archive):
8271 Simplify.
8272 (package--add-to-archive-contents): Skip if older than the builtin or
8273 installed version.
8274 (package-menu-describe-package): Fix last change.
8275 (package-list-unversioned): New var.
8276 (package-menu--generate): Use it.
8277
8278 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8279 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8280 (autoload-builtin-package-versions): New variable.
8281 (autoload-generate-file-autoloads): Use them.
8282 Remove the list of autoloaded functions/macros from the
8283 (autoload...) comments.
8284
8285 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8286
9583ec36
EZ
82872013-06-15 Eli Zaretskii <eliz@gnu.org>
8288
8289 * simple.el (line-move-partial): Don't jump to the next screen
8290 line as soon as it becomes visible. Instead, continue enlarging
8291 the vscroll until the portion of a tall screen line that's left on
8292 display is about the height of the frame's default font.
8293 (Bug#14567)
8294
f0100d8a
GM
82952013-06-15 Glenn Morris <rgm@gnu.org>
8296
b86a85ca
GM
8297 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8298 compilation-error-regexp-alist void, or local while let-bound.
8299
f0100d8a
GM
8300 * progmodes/make-mode.el (makefile-mode-syntax-table):
8301 Treat "=" as punctuation. (Bug#14614)
8302
05e7ce90
JB
83032013-06-15 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * help-fns.el (describe-variable):
8306 Add extra line for permanent-local variables.
8307
12e5e86e
SH
83082013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8309
8310 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8311 Add export, import, library. (Bug#9164)
8312 (library): Set indent function.
8313
230dcbaf
GM
83142013-06-14 Glenn Morris <rgm@gnu.org>
8315
8316 * term/xterm.el (xterm--query):
8317 Stop after first matching handler. (Bug#14615)
8318
e36b2d20 83192013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8320
8321 Add support for dired in saveplace.
8322 * dired.el (dired-initial-position-hook): New variable.
8323 (dired-initial-position): Call hook to place cursor position.
8324 * saveplace.el (save-place-to-alist): Add dired position.
8325 (save-place-dired-hook): New function.
8326
0b31660d
SM
83272013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8328
bf1e6ae8
SM
8329 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8330 through a symbol rather than letrec.
8331
1b8dff23
SM
8332 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8333 (package-desc): Add `dir' field.
8334 (package-desc-full-name): New function.
8335 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8336 (package-maybe-load-descriptor): Remove.
8337 (package-load-all-descriptors): Just call package-load-descriptor.
8338 (package--disabled-p): New function.
8339 (package-desc-vers, package-desc-doc): Remove aliases.
8340 (package--dir): Remove function.
8341 (package-activate): Check if a package is disabled.
8342 (package-process-define-package): New function, extracted from
8343 define-package.
8344 (define-package): Turn into a place holder.
8345 (package-unpack-single, package-tar-file-info):
8346 Use package--description-file.
8347 (package-compute-transaction): Use package--disabled-p.
8348 (package-download-transaction): Don't call
8349 package-maybe-load-descriptor since they're all loaded anyway.
8350 (package-install): Change argument to be a pkg-desc.
8351 (package-delete): Use a single pkg-desc argument.
8352 (describe-package-1): Use package-desc-dir instead of package--dir.
8353 Use package-desc property instead of package-symbol.
8354 (package-install-button-action): Adjust accordingly.
8355 (package--push): Rewrite.
8356 (package-menu--print-info): Adjust accordingly. Change the ID format
8357 to be a pkg-desc.
8358 (package-menu-describe-package, package-menu-get-status)
8359 (package-menu--find-upgrades, package-menu-mark-upgrades)
8360 (package-menu-execute, package-menu--name-predicate):
8361 Adjust accordingly.
8362 * startup.el (package--description-file): New function.
8363 (command-line): Use it.
8364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8365 Use package-desc-version.
8366
0b31660d
SM
8367 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8368 (byte-compile-preprocess): Use it.
8369 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8370 can't quite recognize.
8371 (byte-compile-add-to-list): Remove.
8372 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8373 (cconv-closure-convert): Add assertion.
8374
8375 * emacs-lisp/map-ynp.el: Use lexical-binding.
8376 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8377 Factor out some repeated code.
8378
de0503df
SM
83792013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * subr.el (with-eval-after-load): New macro.
8382 (eval-after-load): Allow form to be a function.
8383 take advantage of lexical-binding.
8384 (do-after-load-evaluation): Use dolist and adjust to new format.
8385 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8386
bc5c8c5a
JL
83872013-06-13 Juri Linkov <juri@jurta.org>
8388
8389 * replace.el (perform-replace): Display "symbol " and other search
8390 modes from `isearch-message-prefix' in the *Help* buffer.
8391
8392 * isearch.el (isearch-query-replace): Add " symbol" and other
8393 possible search modes from `isearch-message-prefix' to the prompt.
8394 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8395 when reading a regexp to collect.
8396
a22289f7
JL
83972013-06-13 Juri Linkov <juri@jurta.org>
8398
8399 * isearch.el (word-search-regexp): Match whitespace if the search
8400 string begins or ends in whitespace. The LAX arg is applied to
8401 both ends of the search string. Use `regexp-quote' and explicit
8402 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8403 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8404 boundaries are replaced with symbol boundaries, and characters
8405 between symbols match non-word non-symbol syntax. (Bug#14602)
8406
cb89acab
JL
84072013-06-13 Juri Linkov <juri@jurta.org>
8408
8409 * isearch.el (isearch-del-char): Don't exceed the length of
8410 `isearch-string' by the prefix arg. (Bug#14563)
8411
6e8cfc81
JL
84122013-06-13 Juri Linkov <juri@jurta.org>
8413
8414 * isearch.el (isearch-yank-word, isearch-yank-line)
8415 (isearch-char-by-name, isearch-quote-char)
8416 (isearch-printing-char, isearch-process-search-char):
8417 Add optional count prefix arg. (Bug#14563)
8418
8419 * international/isearch-x.el
8420 (isearch-process-search-multibyte-characters):
8421 Add optional count prefix arg.
8422
c23d55f4
VS
84232013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8426 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8427 lexical-binding.
8428
84292013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8430
8431 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8432
ba947bc4
GM
84332013-06-13 Glenn Morris <rgm@gnu.org>
8434
8baeb37a
GM
8435 * startup.el (tty-handle-args):
8436 Don't just discard "--" and anything after. (Bug#14608)
8437
ba947bc4
GM
8438 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8439
9abefce4
MA
84402013-06-13 Michael Albinus <michael.albinus@gmx.de>
8441
8442 Implement changes in Secret Service API. Make it backward compatible.
8443 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8444 (secrets-create-item): Use it. Prefix properties with interface.
8445
5755011f
MH
84462013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8447
8448 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8449 (term-emulate-terminal): Respect term-suppress-hard-newline.
8450
1261d2da
S
84512013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8452
8453 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8454 Only remove a `thumb-file' overlay. (Bug#14548)
8455
868490bb
GJ
84562013-06-12 Grégoire Jadi <daimrod@gmail.com>
8457
8458 * mail/reporter.el (reporter-submit-bug-report):
8459 Handle missing package-name. (Bug#14600)
8460
79d7167f
TH
84612013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8462
8463 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8464 (reftex-citation-prompt, reftex-default-bibliography)
8465 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8466 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8467 (reftex-bib-sort-author, reftex-bib-sort-year)
8468 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8469 (reftex-extract-bib-entries-from-thebibliography)
8470 (reftex-get-bibkey-default, reftex-get-bib-names)
8471 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8472 (reftex-format-bib-entry, reftex-parse-bibitem)
8473 (reftex-format-bibitem, reftex-do-citation)
8474 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8475 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8476 (reftex-insert-bib-matches, reftex-format-citation)
8477 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8478 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8479 existing comments into docstrings.
8480
5f9dbd7a
XF
84812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8482
8483 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8484
94df41ab
AS
84852013-06-12 Andreas Schwab <schwab@suse.de>
8486
8487 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8488 for auto-save files.
8489
a7f3fecc
GM
84902013-06-12 Glenn Morris <rgm@gnu.org>
8491
001809f6
GM
8492 * ido.el (ido-delete-ignored-files): Remove.
8493 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8494 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8495
834b5ded
EL
84962013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8497
08c73ed2
EL
8498 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8499
834b5ded
EL
8500 * ido.el (ido-delete-ignored-files): New function,
8501 split from ido-make-file-list-1.
8502 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8503 (ido-make-file-list-1): Use ido-delete-ignored-files.
8504
daabf15a
LL
85052013-06-12 Leo Liu <sdl.web@gmail.com>
8506
8507 * progmodes/octave.el (inferior-octave-startup)
8508 (inferior-octave-completion-table)
8509 (inferior-octave-track-window-width-change)
8510 (octave-eldoc-function-signatures, octave-help)
8511 (octave-find-definition): Use single quoted strings.
8512 (inferior-octave-startup-args): Change default value.
8513 (inferior-octave-startup): Do not hard code "-i" and
8514 "--no-line-editing".
8515 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8516 (inferior-octave-directory-tracker): Use it.
8517 (octave-goto-function-definition): Robustify.
8518 (octave-help): Support highlighting operators in 'See also'.
8519 (octave-find-definition): Find subfunctions only in Octave mode.
8520
cf4e5178
SM
85212013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * help-fns.el (help-fns--compiler-macro): If the handler function is
8524 named, then put a link to it.
8525 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8526 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8527 (cl-typep): Use it.
8528 (cl-eval-when): Simplify debug spec.
8529 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8530 compiler-macro function instead of setting `compiler-macro-file'.
8531
99c81280 85322013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8533
8534 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8535 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8536
f56be016
SM
85372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8538 Daniel Hackney <dan@haxney.org>
8539
8540 First part of Daniel Hackney's patch to package.el.
8541 * emacs-lisp/package.el: Use defstruct.
8542 (package-desc): New, main struct.
8543 (package--bi-desc, package--ac-desc): New structs, used to describe the
8544 format in external files.
8545 (package-desc-vers): Replace with package-desc-version accessor.
8546 (package-desc-doc): Replace with package-desc-summary accessor.
8547 (package-activate-1): Remove `package' arg since the pkg-vec now
8548 includes the name.
8549 (define-package): Use package-desc-from-define.
8550 (package-unpack-single): Change file-name arg to be a symbol.
8551 (package--add-to-archive-contents): Use package-desc-create and new
8552 accessor functions to package--ac-desc.
8553 (package-buffer-info, package-tar-file-info): Return a package-desc.
8554 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8555 arg to be a package-desc.
8556 (package-install-file): Adjust accordingly. Use \' to match EOS.
8557 (package--from-builtin): New function.
8558 (describe-package-1, package-menu--generate): Use it.
8559 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8560 (package-generate-autoloads): Idem and return the name of the file.
8561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8562 Change pkg-info arg to be a package-desc.
8563 Use package-make-ac-desc.
8564 (package-upload-file): Use \' to match EOS.
8565 * finder.el (finder-compile-keywords): Use package-make-builtin.
8566
31119d63
SM
85672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8568
931a2762
SM
8569 * vc/vc.el (vc-deduce-fileset): Change error message.
8570 (vc-read-backend): New function.
8571 (vc-next-action): Use it.
8572
5a3eb0c6
SM
8573 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8574
e3eb1bb7
SM
8575 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8576 (prolog-font-lock-keywords): Use regexp-opt instead.
8577 Don't manually highlight strings.
8578 (prolog-mode-variables): Simplify comment-start-skip.
8579 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8580
31119d63
SM
8581 * emacs-lisp/generic.el (generic--normalise-comments)
8582 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8583 (generic-mode-set-comments): Use them.
8584 (generic-bracket-support): Use setq-local.
8585 (generic-make-keywords-list): Declare obsolete.
8586
7de135d0
GM
85872013-06-11 Glenn Morris <rgm@gnu.org>
8588
8589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8590 Prettify after setting font-lock-defaults. (Bug#14574)
8591
fa6bc6fd
JB
85922013-06-11 Juanma Barranquero <lekktu@gmail.com>
8593
8594 * replace.el (query-replace, occur-read-regexp-defaults-function)
8595 (replace-search):
8596 * subr.el (declare-function, number-sequence, local-set-key)
8597 (substitute-key-definition, locate-user-emacs-file)
8598 (with-silent-modifications, split-string, eval-after-load):
8599 Fix typos, remove unneeded backslashes and reflow some docstrings.
8600
cf1f9b9a
SM
86012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8604 default for Elisp files.
8605
56602a4b
GM
86062013-06-11 Glenn Morris <rgm@gnu.org>
8607
8608 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8609 although define-derived-mode was doing this anyway. (Bug#14583)
8610
30ae0b2c
JB
86112013-06-10 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8614 Fix make-variable-buffer-local call to refer to the correct variable.
8615
fa472906
AG
86162013-06-10 Aidan Gauland <aidalgol@amuri.net>
8617
8618 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8619 (eshell-visual-subcommands, eshell-visual-options):
8620 Add summary line to docstrings. Add cross-references.
fa472906 8621
ff4871b9
GM
86222013-06-10 Glenn Morris <rgm@gnu.org>
8623
8624 * epa.el (epa-read-file-name): New function. (Bug#14510)
8625 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8626
04fcf1b0
AG
86272013-06-09 Aidan Gauland <aidalgol@amuri.net>
8628
8629 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8630 output redirection to be ignored with visual commands.
8631
88b00caa
AG
86322013-06-09 Aidan Gauland <aidalgol@amuri.net>
8633
8634 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8635 (eshell-term-initialize): Move long lambda to separate function
8636 eshell-visual-command-p.
e7b41c4c
JB
8637 * eshell/em-dirs.el (eshell-dirs-initialise):
8638 * eshell/em-script.el (eshell-script-initialize):
8639 Add missing #' to lambda.
88b00caa 8640
fda74125
LL
86412013-06-08 Leo Liu <sdl.web@gmail.com>
8642
8643 * progmodes/octave.el (octave-add-log-current-defun): New function.
8644 (octave-mode): Set add-log-current-defun-function.
8645 (octave-goto-function-definition): Do not move point if not found.
8646 (octave-find-definition): Enhance to try subfunctions first.
8647
467f3b33
GM
86482013-06-08 Glenn Morris <rgm@gnu.org>
8649
8650 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8651 (byte-compile-backward-char, byte-compile-backward-word):
8652 Improve previous change, to handle non-explicit nil.
8653
544badc3
SM
86542013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8657 (smie--opener/closer-at-point): New function.
8658 (smie--matching-block-data): Use it. Don't match from right after an
8659 opener or right before a closer. Obey smie-blink-matching-inners.
8660 Don't signal a mismatch for repeated inners like "switch..case..case".
8661
a175bf33
LL
86622013-06-07 Leo Liu <sdl.web@gmail.com>
8663
8664 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8665 to t. (Bug#14303)
ce8209d4
LL
8666 (octave-function-header-regexp): Fix. (Bug#14570)
8667 (octave-help-mode-finish-hook, octave-help-mode-finish):
8668 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8669
8670 * newcomment.el (comment-search-backward): Revert last change.
8671 (Bug#14434)
8672
8673 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8674
a822acff
EZ
86752013-06-07 Eli Zaretskii <eliz@gnu.org>
8676
8677 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8678 through xargs, to avoid failure due to MS-Windows limitations on
8679 command-line length.
8680
961166f5
GM
86812013-06-06 Glenn Morris <rgm@gnu.org>
8682
d0341459
GM
8683 * font-lock.el (lisp-font-lock-keywords-2):
8684 Treat user-error like error.
8685
961166f5
GM
8686 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8687 (byte-compile-backward-char, byte-compile-backward-word):
8688 Handle explicit nil arguments. (Bug#14565)
8689
80fa505f
AM
86902013-06-05 Alan Mackenzie <acm@muc.de>
8691
8692 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8693 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8694 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8695 (Bug#9706)
80fa505f 8696
fccdc796
SM
86972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * autorevert.el (auto-revert-notify-handler): Use memq.
8700 Hide assertion failure.
8701
8702 * skeleton.el: Use cl-lib.
8703 (skeleton-further-elements): Use defvar-local.
8704 (skeleton-insert): Use cl-progv.
8705
9bfff84b
TZ
87062013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8707
8708 * progmodes/prog-mode.el (prog-prettify-symbols)
8709 (prog-prettify-install): Update docstrings.
8710
55577e7c
SM
87112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * simple.el: Move all the prog-mode code to prog-mode.el.
8714 * progmodes/prog-mode.el: New file.
8715 * loadup.el: Add prog-mode.el.
8716
8fc57765
TZ
87172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8718
8719 * simple.el (prog-prettify-symbols): Add version.
8720 (prog-prettify-install): Add convenience function to prettify symbols.
8721
8722 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8723 (perl--augmented-font-lock-keywords-1)
8724 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8725 variables and use it.
8726
8727 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8728 (cfengine3-mode): Remove unneeded variable and use it.
8729
8730 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8731 (lisp--augmented-font-lock-keywords-1)
8732 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8733 Remove unneeded variables and use it.
8734
650645d5 87352013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8736
8737 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8738 to point when opening the connection. (Bug#14380)
28f5da6d 8739
781b4af6
SM
87402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * subr.el (load-history-regexp, load-history-filename-element)
8743 (eval-after-load, after-load-functions, do-after-load-evaluation)
8744 (eval-next-after-load, display-delayed-warnings)
8745 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8746 definition of save-match-data.
8747 (overriding-local-map): Remove accidental obsolescence declaration.
8748
8749 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8750
3ca0d0b4
TZ
87512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8752
8753 Generalize symbol prettify support to prog-mode and implement it
8754 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8755 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8756 (prog--prettify-font-lock-compose-symbol)
8757 (prog-prettify-font-lock-symbols-keywords): New variables and
8758 functions to support symbol prettification.
8759 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8760 (lisp--augmented-font-lock-keywords-1)
8761 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8762 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8763 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8764 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8765 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8766 * progmodes/perl-mode.el (perl-prettify-symbols)
8767 (perl--font-lock-compose-symbol)
8768 (perl--font-lock-symbols-keywords): Move to prog-mode.
8769 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8770 (perl-font-lock-keywords-1)
8771 (perl-font-lock-keywords-2): Remove explicit prettify support.
8772 (perl--augmented-font-lock-keywords)
8773 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8774 (perl--augmented-font-lock-keywords-2, perl-mode):
8775 Implement prettify support.
3ca0d0b4 8776
976cb066
LL
87772013-06-05 Leo Liu <sdl.web@gmail.com>
8778
8779 Re-implement smie matching block highlight using
8780 show-paren-data-function. (Bug#14395)
8781 * emacs-lisp/smie.el (smie-matching-block-highlight)
8782 (smie--highlight-matching-block-overlay)
8783 (smie--highlight-matching-block-lastpos)
8784 (smie-highlight-matching-block)
8785 (smie-highlight-matching-block-mode): Remove.
8786 (smie--matching-block-data-cache): New variable.
8787 (smie--matching-block-data): New function.
8788 (smie-setup): Use smie--matching-block-data for
8789 show-paren-data-function.
8790
8791 * progmodes/octave.el (octave-mode-menu): Fix.
8792 (octave-find-definition): Skip garbage lines.
8793
208d0342
SM
87942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 Fix compilation error with simultaneous dynamic+lexical scoping.
8797 Add warning when a defvar appears after the first let-binding.
8798 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8799 (byte-compile-close-variables): Initialize it.
8800 (byte-compile--declare-var): New function.
8801 (byte-compile-file-form-defvar)
8802 (byte-compile-file-form-define-abbrev-table)
8803 (byte-compile-file-form-custom-declare-variable): Use it.
8804 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8805 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8806 (byte-compile-bind): Handle dynamic bindings that shadow
8807 lexical bindings.
8808 (byte-compile-unbind): Make arg non-optional.
8809 (byte-compile-let): Simplify.
8810 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8811 (cconv--analyse-function, cconv-analyse-form): Populate it.
8812 Protect byte-compile-bound-variables to limit the scope of defvars.
8813 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8814 Remove unneeded rule for `declare'.
8815
8816 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8817 so as to avoid depending on cl-adjoin at run-time.
8818 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8819
8820 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8821 (macroexp--warn-and-return): Use it.
8822
1ac2891e
GM
88232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * lisp/subr.el: Convert to lexical binding.
8826 (overriding-local-map): Make obsolete.
8827 (add-to-list): Doc fix. Add compiler macro.
8828 (read-key): Swap values of local maps.
8829
2587b005
LL
88302013-06-05 Leo Liu <sdl.web@gmail.com>
8831
8832 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8833
f1da3c88
LL
88342013-06-04 Leo Liu <sdl.web@gmail.com>
8835
8836 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8837 (compilation-auto-jump): Suppress the "Mark set" message to give
8838 way to exit message.
8839
3caa391f
AM
88402013-06-04 Alan Mackenzie <acm@muc.de>
8841
8842 Remove faulty optimisation from indentation calculation.
8843 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8844 search limit based on 2000 characters back from indent-point.
8845
068922a2
TH
88462013-06-03 Tassilo Horn <tsdh@gnu.org>
8847
8848 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8849
1f8fdd53
SM
88502013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8851
bbcc4d97
SM
8852 * emacs-lisp/lisp.el: Use lexical-binding.
8853 (lisp--local-variables-1, lisp--local-variables): New functions.
8854 (lisp--local-variables-completion-table): New var.
208d0342 8855 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8856
1f8fdd53
SM
8857 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8858 eagerly (bug#14422).
8859
c9628c79
MA
88602013-06-03 Michael Albinus <michael.albinus@gmx.de>
8861
8862 * autorevert.el (auto-revert-notify-enabled)
8863 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8864 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8865 (auto-revert-notify-handler): Handle also gfilenotify.
8866
e7b41c4c 8867 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8868 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8869 Remove.
c9628c79 8870
e5e4a942
JL
88712013-06-03 Juri Linkov <juri@jurta.org>
8872
8873 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8874 `M-s h .'. (Bug#14427)
8875
8876 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8877 command `hi-lock-face-symbol-at-point'.
8878 (hi-lock-face-symbol-at-point): New command.
8879 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8880 (hi-lock-menu): Add `highlight-symbol-at-point'.
8881 (hi-lock-mode): Doc fix.
8882
8883 * isearch.el (isearch-forward-symbol-at-point): New command.
8884 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8885 (isearch-highlight-regexp): Add a regexp which matches
8886 words/symbols for word/symbol mode.
8887
8888 * subr.el (find-tag-default-bounds): New function with the body
8889 mostly moved from `find-tag-default'.
8890 (find-tag-default): Move most code to `find-tag-default-bounds',
8891 call it and apply `buffer-substring-no-properties' afterwards.
8892
26b3353a
TH
88932013-06-03 Tassilo Horn <tsdh@gnu.org>
8894
781b4af6
SM
8895 * eshell/em-term.el (eshell-term-initialize):
8896 Use `cl-intersection' rather than `intersection'.
26b3353a 8897
51b60f53
XF
88982013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8899
fe054b63 8900 * vc/log-view.el: Doc fix.
d3ffe17c 8901 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8902
a0eb10b3 89032013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8904
8905 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8906 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8907 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8908 (eieio-unbound, eieio-default-superclass)
8909 (eieio--define-field-accessors, method-static, method-before)
8910 (method-primary, method-after, method-num-lists)
8911 (method-generic-before, method-generic-primary)
8912 (method-generic-after, method-num-slots)
8913 (eieio-specialized-key-to-generic-key)
8914 (eieio--check-type, class-v, class-p)
8915 (eieio-class-name, define-obsolete-function-alias)
8916 (eieio-class-parents-fast, eieio-class-children-fast)
8917 (same-class-fast-p, class-constructor, generic-p)
8918 (generic-primary-only-p, generic-primary-only-one-p)
8919 (class-option-assoc, class-option, eieio-object-p)
8920 (class-abstract-p, class-method-invocation-order)
8921 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8922 (eieio-class-un-autoload, eieio-defclass)
8923 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8924 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8925 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8926 (eieio-defgeneric-reset-generic-form)
8927 (eieio-defgeneric-form-primary-only)
8928 (eieio-defgeneric-reset-generic-form-primary-only)
8929 (eieio-defgeneric-form-primary-only-one)
8930 (eieio-defgeneric-reset-generic-form-primary-only-one)
8931 (eieio-unbind-method-implementations)
8932 (eieio--defmethod, eieio--typep)
8933 (eieio-perform-slot-validation, eieio-validate-slot-value)
8934 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8935 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8936 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8937 (eieio-slot-name-index, eieio-class-slot-name-index)
8938 (eieio-set-defaults, eieio-initarg-to-attribute)
8939 (eieio-attribute-to-initarg, eieio-c3-candidate)
8940 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8941 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8942 (eieio-class-precedence-list, eieio-generic-call-methodname)
8943 (eieio-generic-call-arglst, eieio-generic-call-key)
8944 (eieio-generic-call-next-method-list)
8945 (eieio-pre-method-execution-functions, eieio-generic-call)
8946 (eieio-generic-call-primary-only, eieiomt-method-list)
8947 (eieiomt-optimizing-obarray, eieiomt-install)
8948 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8949 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8950 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8951 (defclass): Remove `eval-and-compile' from macro.
8952 (call-next-method, shared-initialize): Instead of using
8953 `scoped-class' variable, use new eieio--scoped-class, and
8954 eieio--with-scoped-class.
8955 (initialize-instance): Rename local variable 'scoped-class' to
8956 'this-class' to remove ambiguitity from old global.
8957
8958 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8959 eieio.el.
4f405069
JB
8960 (eieio--scoped-class-stack): New variable.
8961 (eieio--scoped-class): New fcn.
890f7890
DE
8962 (eieio--with-scoped-class): New scoping macro.
8963 (eieio-defclass): Use pushnew instead of add-to-list.
8964 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8965 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8966 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8967 `scoped-class' variable, use new eieio--scoped-class, and
8968 eieio--with-scoped-class.
8969
8970 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8971
d105b0e2
TH
89722013-06-02 Tassilo Horn <tsdh@gnu.org>
8973
8974 * eshell/esh-ext.el (eshell-external-command): Pass args to
8975 `eshell-find-interpreter'.
8976 (eshell-find-interpreter): Add new second parameter ARGS.
8977
8978 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8979 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8980
8981 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8982 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8983
8984 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8985 (eshell-visual-options): New defcustom.
8986 (eshell-escape-control-x): Adapt docstring.
8987 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8988 `eshell-visual-options' in addition to `eshell-visual-commands'.
8989 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8990
f46305c8 89912013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8992
8993 * progmodes/python.el (python-indent-block-enders): Add break,
8994 continue and raise keywords.
8995
d870df21
GM
89962013-06-01 Glenn Morris <rgm@gnu.org>
8997
9133b82e
GM
8998 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8999
02c992ec 9000 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9001 * progmodes/cc-cmds.el (delete-forward-p):
9002 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9003 * progmodes/cc-engine.el (buffer-syntactic-context):
9004 * progmodes/cc-fonts.el (face-property-instance):
9005 * progmodes/cc-mode.el (set-keymap-parents):
9006 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9007 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9008 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9009 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9010 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9011
31e7b090
GM
9012 * progmodes/cc-vars.el (other): Emacs has this widget since
9013 at least 21.1, so don't (re)define it.
9014
d870df21
GM
9015 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9016 Replace the obsolete alias pcomplete-arg-quote-list.
9017
c75c93c7
LL
90182013-06-01 Leo Liu <sdl.web@gmail.com>
9019
9020 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9021 punctuation syntax.
9022 (inferior-octave-minimal-columns)
9023 (inferior-octave-last-column-width): New variables.
9024 (inferior-octave-track-window-width-change): New function.
9025 (inferior-octave-mode): Adjust column width so that Octave output,
9026 for example from 'ls', can fit into the window nicely.
9027
973d1e12
DG
90282013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9029
9030 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9031 Highlight expansions inside regexp literals.
9032
0888c286
GM
90332013-05-31 Glenn Morris <rgm@gnu.org>
9034
e26aac1f
GM
9035 * obsolete/sym-comp.el (symbol-complete):
9036 Replace obsolete completion-annotate-function.
9037
0888c286
GM
9038 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9039
19bb8e62
DG
90402013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9041
781b4af6
SM
9042 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9043 New function, checks if point is inside a literal that allows
19bb8e62
DG
9044 expression expansion.
9045 (ruby-syntax-propertize-expansion): Use it.
9046 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9047 around the body.
9048
01dea85f
JL
90492013-05-30 Juri Linkov <juri@jurta.org>
9050
9051 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9052 to "\M-si".
9053 (isearch-invisible): New variable.
9054 (isearch-forward): Doc fix.
9055 (isearch-mode): Set `isearch-invisible'
9056 to the value of `search-invisible'.
9057 (isearch-toggle-case-fold): Doc fix.
9058 (isearch-toggle-invisible): New command.
9059 (isearch-query-replace): Let-bind `search-invisible'
9060 to the value of `isearch-invisible'.
9061 (isearch-search): Use `isearch-invisible' instead of
9062 `search-invisible'. Let-bind `search-invisible'
9063 to the value of `isearch-invisible'. (Bug#11378)
9064
ab1bdce5
JL
90652013-05-30 Juri Linkov <juri@jurta.org>
9066
9067 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9068 call when `query-flag' is nil and `search-invisible' is non-nil.
9069 (Bug#11746)
9070
d6d236e2
GM
90712013-05-30 Glenn Morris <rgm@gnu.org>
9072
8accd027
GM
9073 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9074
2a8bed1c
GM
9075 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9076 (cc-require): Suppress spurious "noruntime" warnings.
9077 (cc-require-when-compile): Use fboundp, for sake of compiler.
9078
d6d236e2
GM
9079 * progmodes/cc-mode.el: Move load of cc-vars before that of
9080 cc-langs (which in turn loads cc-vars), to quieten compiler.
9081
9190b35b
SM
90822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * paren.el: Simplify the code.
9085 (show-paren-mode): Always start the timer.
9086 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9087 (show-paren--overlay, show-paren--overlay-1): Rename from
9088 show-paren-overlay and show-paren-overlay-1, and initialize to an
9089 overlay rather than to nil.
9090 (show-paren-function): Misc cleanup and simplifications.
9091
4f8d1cf6
SM
90922013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * paren.el (show-paren-data-function): New hook.
9095 (show-paren--default): New function, extracted from show-paren-function.
9096 (show-paren-function): Use show-paren-data-function.
9097
02d844b5
GM
90982013-05-30 Glenn Morris <rgm@gnu.org>
9099
d209d4a9
GM
9100 * ielm.el (ielm-map, ielm-complete-symbol):
9101 Use completion-at-point rather than obsolete functions.
9102 (inferior-emacs-lisp-mode): Doc fix.
9103 Set completion-at-point-functions, rather than
9104 comint-dynamic-complete-functions.
9105
2082faa6
GM
9106 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9107 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9108 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9109
dd8620de
GM
9110 * image.el (image-animated-p): Tweak definition.
9111
ceca95b1
GM
9112 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9113 (rlogin-process-connection-type): Tweak default. Add set-after.
9114 (rlogin-host): Doc fix.
9115 (rlogin): Tweak prompt.
9116 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9117
ee9f1acc
GM
9118 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9119 * progmodes/tcl.el (inferior-tcl-mode-map):
9120 Use completion-at-point rather than obsolete alias.
9121
45ce222e
GM
9122 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9123
02d844b5
GM
9124 * minibuffer.el (read-file-name-completion-ignore-case):
9125 Move before completion--in-region, for eager macro expansion.
9126
ac44d6c1
JL
91272013-05-29 Juri Linkov <juri@jurta.org>
9128
9129 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9130 for total count of matching lines. Add `global-matches' for total
9131 count of matches. Rename `matches' to `lines' for count of
9132 matching lines. Add `matches' for count of matches.
9133 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9134 to `prev-line' for line number of prev match endpt.
9135 Increment `matches' for every match. Print the number of
9136 matching lines in the header.
9137 (occur-context-lines): Rename `lines' to `curr-line'.
9138 Rename `prev-lines' to `prev-line'. (Bug#14017)
9139
3c9c9d38
JL
91402013-05-29 Juri Linkov <juri@jurta.org>
9141
9142 * replace.el (perform-replace): Add `skip-read-only-count',
9143 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9144 Increment them for corresponding conditions and report the number
9145 of skipped occurrences in the final message. (Bug#11746)
9146 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9147 (replace-string, replace-regexp): Doc fix.
9148
33e249a2
SM
91492013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9150
8e399682
SM
9151 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9152
33e249a2 9153 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9154 prog-mode-map (bug#14504).
33e249a2 9155
f236dd84
LL
91562013-05-29 Leo Liu <sdl.web@gmail.com>
9157
9158 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9159 (octave-help): Small simplification.
9160
9161 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9162 off the highlight first.
9163
3694d13f
GM
91642013-05-29 Glenn Morris <rgm@gnu.org>
9165
03983bdc
GM
9166 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9167 Handle idlwave-last-system-routine-info-cons-cell being nil.
9168
bc74a74a
GM
9169 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9170 (idlwave-write-paths): Simplify via with-temp-buffer.
9171
8b394200
GM
9172 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9173 * emulation/cua-rect.el: Also load cua-base at run time.
9174
3694d13f
GM
9175 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9176 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9177 (cperl-imenu-on-info): Require imenu.
9178
336d7284
AM
91792013-05-28 Alan Mackenzie <acm@muc.de>
9180
9181 Handle "capitalised keywords" correctly.
33e249a2 9182 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9183
cb29c582
AG
91842013-05-28 Aidan Gauland <aidalgol@amuri.net>
9185
781b4af6 9186 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9187
690e44b2
GM
91882013-05-28 Glenn Morris <rgm@gnu.org>
9189
e658d75c
GM
9190 * vc/vc-arch.el (vc-exec-after): Declare.
9191 (vc-switches): Autoload.
9192 * vc/vc-bzr.el: No need to require vc when compiling.
9193 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9194 (vc-resynch-buffer, vc-dir-refresh): Declare.
9195 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9196 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9197 (vc-resynch-buffer): Declare.
9198 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9199 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9200 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9201 (grep-read-regexp, grep-read-files, grep-expand-template)
9202 (vc-dir-refresh): Declare.
9203 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9204 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9205 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9206 * vc/vc-mtn.el (vc-exec-after): Declare.
9207 (vc-switches): Autoload.
9208 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9209 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9210 (vc-file-tree-walk): Declare.
712b9732
GM
9211 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9212 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9213 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9214 * vc/vc-svn.el (vc-exec-after): Declare.
9215 (vc-switches, vc-setup-buffer): Autoload.
9216 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9217 Autoload.
9218 (vc-resynch-buffer): Declare.
9219
98e87fb3
GM
9220 * obsolete/fast-lock.el (byte-compile-warnings):
9221 Don't warn about obsolete features in this obsolete file.
9222
f5379553
GM
9223 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9224 Move definition before use.
9225
7a20ef83
GM
9226 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9227 (dun-unix-verbs): Remove dun-zippy.
9228 (dun-zippy): Remove function.
9229
690e44b2
GM
9230 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9231
3a52ccf7
JL
92322013-05-27 Juri Linkov <juri@jurta.org>
9233
9234 * replace.el (replace-search): New function with code moved out
9235 from `perform-replace'.
9236 (replace-highlight, replace-dehighlight): Move function definitions
9237 up closer to `replace-search'. (Bug#11746)
9238
d289938a
JL
92392013-05-27 Juri Linkov <juri@jurta.org>
9240
9241 * replace.el (perform-replace): Ignore invisible matches.
9242 In addition to checking `query-replace-skip-read-only', also
9243 filter out matches by calling `run-hook-with-args-until-failure'
9244 on `isearch-filter-predicates', and also check `search-invisible'
9245 for t or call `isearch-range-invisible'.
9246 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9247
66fc57e3
JL
92482013-05-27 Juri Linkov <juri@jurta.org>
9249
9250 * isearch.el (isearch-filter-predicates): Rename from
9251 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9252 (isearch-message-prefix): Display text from the property
9253 `isearch-message-prefix' of the currently active filters.
9254 (isearch-search): Don't compare `isearch-filter-predicate' with
9255 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9256 on `isearch-filter-predicates'. Also check `search-invisible' for t
9257 or call `isearch-range-invisible'.
9258 (isearch-filter-visible): Make obsolete.
9259 (isearch-lazy-highlight-search):
9260 Call `run-hook-with-args-until-failure' on
9261 `isearch-filter-predicates' and use `isearch-range-invisible'.
9262
9263 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9264 `isearch-filter-predicates' instead of `funcall'ing
9265 `isearch-filter-predicate'.
9266 (Info-mode): Set `Info-isearch-filter' to
9267 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9268
9269 * dired-aux.el (dired-isearch-filter-predicate-orig):
9270 Remove variable.
9271 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9272 (dired-isearch-filenames-end): Add and remove
9273 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9274 instead of changing the value of `isearch-filter-predicate'.
9275 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9276 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9277 Put property `isearch-message-prefix' to "filename " on
9278 `dired-isearch-filter-filenames'.
9279
9280 * wdired.el (wdired-change-to-wdired-mode):
9281 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9282 locally instead of changing `isearch-filter-predicate'.
9283 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9284
f1a60a0f
DG
92852013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9286
9287 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9288 return the commit hash (Bug#14459). Also set the
9289 `vc-git-detached' property.
9290 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9291 (vc-git-mode-line-string): Use the same help-echo format whether
9292 in detached mode or not, because we know the actual revision now.
9293 When in detached mode, shorten the revision to 7 chars.
9294
7f17cc40
SM
92952013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/easy-mmode.el (define-minor-mode):
9298 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9299 mode hook and provide a docstring.
9300
25c8401c
AM
93012013-05-27 Alan Mackenzie <acm@muc.de>
9302
9303 Remove spurious syntax-table text properties inserted by C-y.
9304 * progmodes/cc-mode.el (c-after-change): Also clear hard
9305 syntax-table property with value nil.
9306
dde84790
MA
93072013-05-27 Michael Albinus <michael.albinus@gmx.de>
9308
9309 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9310 when reading the events; the buffer layout shall not be changed.
9311
837fd9af
LL
93122013-05-27 Leo Liu <sdl.web@gmail.com>
9313
9314 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9315 New variable.
9316 (inferior-octave-directory-tracker): Automatically re-sync
9317 default-directory.
9318 (octave-help): Improve handling of 'See also'.
9319
4fd996b3
SM
93202013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9321
416f1802
SM
9322 * doc-view.el: Minor naming convention tweaks.
9323 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9324
4fd996b3
SM
9325 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9326 even if there's no `display' property yet (bug#14435).
9327
a052ef3b
EZ
93282013-05-25 Eli Zaretskii <eliz@gnu.org>
9329
4fd996b3 9330 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9331
9332 * Makefile.in (custom-deps, finder-data, autoloads)
9333 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9334 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9335 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9336
c9023370
SM
93372013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9340 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9341 Don't burp at EOB.
c9023370 9342
24d699fa
LL
93432013-05-25 Leo Liu <sdl.web@gmail.com>
9344
9345 * comint.el (comint-previous-matching-input): Do not flood the
9346 *Messages* buffer with trivial messages.
9347
17e5c0cc
SM
93482013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * progmodes/flymake.el (flymake-nop): Don't return a string.
9351 (flymake-set-at): Fix typo.
9352
9353 * simple.el (read--expression): New function, extracted from
9354 eval-expression. Set completion-at-point-functions (bug#14465).
9355 (eval-expression, eval-minibuffer): Use it.
9356
5d028165
XF
93572013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9358
9359 * progmodes/flymake.el (flymake-save-buffer-in-file)
9360 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9361 (flymake-selected-frame, flymake-log, flymake-ins-after)
9362 (flymake-set-at, flymake-get-buildfile-from-cache)
9363 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9364 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9365 Refine the doc string.
9366 (flymake-get-file-name-mode-and-masks): Reformat.
9367 (flymake-get-real-file-name-function): Fix a minor bug.
9368
7a1d7ba7
JL
93692013-05-24 Juri Linkov <juri@jurta.org>
9370
9371 * progmodes/grep.el (grep-mode-font-lock-keywords):
9372 Support =linenumber= format used by git-grep for lines with
9373 function names. (Bug#13549)
9374
650cff3d
SM
93752013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9378 0 after a semi-colon; it works better for smie-auto-fill.
9379 (octave--indent-new-comment-line): New function.
9380 (octave-indent-new-comment-line): Use it (indirectly).
9381 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9382 modify comment-line-break-function.
9383
9384 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9385 (smie-setup): Use add-function to set it.
9386
9631677d
SS
93872013-05-24 Sam Steingold <sds@gnu.org>
9388
9389 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9390 argument (before the `interactive' argument).
9391
50105835
SM
93922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * image-mode.el (image-mode-winprops): Add winprops to
9395 image-mode-winprops-alist before running
9396 image-mode-new-window-functions.
9397 * doc-view.el (doc-view-new-window-function): Don't delay
9398 doc-view-goto-page via timers (bug#14435).
9399
57b9823e
TH
94002013-05-24 Tassilo Horn <tsdh@gnu.org>
9401
9402 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9403 (doc-view-desktop-save-buffer): New function.
9404 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9405 (desktop-buffer-mode-handlers):
9406 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9407 handler.
9408 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9409 `desktop-save-buffer' function.
9410
91aafa16
MA
94112013-05-24 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9414 (tramp-gvfs-file-name-handler): Raise a user error when
9415 `tramp-gvfs-enabled' is nil.
9416 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9417 Do not raise a user error when loading package. (Bug#14447)
9418
ec076379
MA
9419 * net/xesam.el: Move to obsolete/.
9420
db785726
GM
94212013-05-24 Glenn Morris <rgm@gnu.org>
9422
af5c7606
GM
9423 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9424
e5d1916a
GM
9425 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9426
ded62b08
GM
9427 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9428 (Info-find-node, Man-getpage-in-background): Declare.
9429
9e614a3f
GM
9430 * mail/unrmail.el (unrmail):
9431 Replace obsolete detect-coding-with-priority.
9432
892f8ca3
GM
9433 * net/socks.el (socks-split-string): Use this rather than split-string.
9434 (socks-nslookup-host): Update for above change.
9435 (dynamic-choice, s5-dynamic-choice-match)
9436 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9437 Comment out unused code.
9438
3c291973
GM
9439 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9440 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9441 (gud-tooltip-echo-area): Make obsolete.
9442 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9443
43cc956b
GM
9444 * progmodes/js.el (js--optimize-arglist): Declare.
9445
dab49a3b
GM
9446 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9447
36b9d085
GM
9448 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9449 (ediff-window-C): Declare.
9450
e354ae76
GM
9451 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9452 Tweak requires to silence compiler.
9453
b8e57bf4
GM
9454 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9455 (he-search-string, he-tried-table, he-expand-list)
9456 (he-init-string, he-string-member, he-substitute-string)
9457 (he-reset-string): Declare.
9458
db785726
GM
9459 * obsolete/options.el (list-options): Use custom-variable-p,
9460 rather than obsolete alias.
9461
b3531901
SS
94622013-05-23 Sam Steingold <sds@gnu.org>
9463
9464 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9465 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9466 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9467
bdda4c66
SM
94682013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * emacs-lisp/smie.el (smie-indent-forward-token)
9471 (smie-indent-backward-token): Handle string tokens (bug#14381).
9472
c43d45f9
TH
94732013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9474
fe1eb856
RS
9475 * ielm.el (ielm-menu): New menu.
9476 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9477
fe1eb856
RS
94782013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9479
9480 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9481 Fix deactivate action.
9482
9483 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9484 Add cleveref macros.
074dd971 9485
c43d45f9
TH
9486 * lisp/textmodes/reftex-parse.el
9487 (reftex-locate-bibliography-files): Accept options for
9488 bibliography commands.
9489 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9490 Add addbibresource. Basic Biblatex support.
9491
7764286e
MA
94922013-05-23 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * net/tramp-gvfs.el (top):
9495 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9496 when loading package. (Bug#14447)
9497
d361bc10
GM
94982013-05-23 Glenn Morris <rgm@gnu.org>
9499
8fa23984
GM
9500 * progmodes/js.el: No need to load comint when compiling.
9501 (ring-insert, comint-send-string, comint-send-input)
9502 (comint-last-input-end, ido-chop): Declare.
9503
a5c7df1a
GM
9504 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9505 * vc/ediff-mult.el: Adjust requires.
9506 (ediff-directories-internal, ediff-directory-revisions-internal)
9507 (ediff-patch-file-internal): Declare.
9508 * vc/ediff-ptch.el: Adjust requires.
9509 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9510 (ediff-find-file): Autoload.
9511 * vc/ediff-util.el: No need to load ediff when compiling.
9512 (ediff-regions-internal): Declare.
9513 * vc/ediff-wind.el: Adjust requires.
9514 (ediff-compute-toolbar-width): Define when compiling.
9515 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9516 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9517 (dired-get-filename, dired-get-marked-files)
9518 (ediff-last-dir-patch, ediff-patch-default-directory)
9519 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9520 (ediff-patch-buffer-internal): Declare.
9521
e2aec513
GM
9522 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9523 (ispell-process, ispell-buffer-local-words, lm-summary)
9524 (lm-section-start, lm-section-end): Declare.
9525 (checkdoc-ispell-init): Simplify.
9526
e68bbd7c
GM
9527 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9528 (he-string-member, he-reset-string, he-substitute-string): Declare.
9529
7efe0991
GM
9530 * eshell/em-ls.el: Adjust requires.
9531 (eshell-glob-regexp): Declare.
f87b1284
GM
9532 * eshell/em-tramp.el: Adjust requires.
9533 (eshell-parse-command): Autoload.
9534 * eshell/em-xtra.el: Adjust requires.
9535 (eshell-parse-command): Autoload.
9536 * eshell/esh-ext.el: Adjust requires.
9537 (eshell-parse-command, eshell-close-handles): Autoload.
9538 * eshell/esh-io.el: Adjust requires.
9539 (eshell-output-filter): Autoload.
9540 * eshell/esh-util.el: No need to load tramp when compiling.
9541 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9542 Declare.
9543 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9544 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9545 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9546 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9547 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9548 * eshell/esh-opt.el, eshell/esh-proc.el:
9549 * eshell/esh-var.el: Adjust requires.
9550 * eshell/eshell.el: Do not require esh-util twice.
9551 (eshell-add-input-to-history): Declare.
9552 (eshell-command): Check history module is active before using it.
9553
d361bc10
GM
9554 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9555
85d090a9
LL
95562013-05-22 Leo Liu <sdl.web@gmail.com>
9557
9558 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9559
5d0acd9d
MA
95602013-05-22 Michael Albinus <michael.albinus@gmx.de>
9561
9562 * autorevert.el (auto-revert-notify-add-watch)
9563 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9564 it indicates changes in file modification time.
9565
0cdffd7d
GM
95662013-05-22 Glenn Morris <rgm@gnu.org>
9567
ca5995ec
GM
9568 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9569 Always delete the autoloaded function from the noruntime and
9570 unresolved functions lists.
9571
6450907e
GM
9572 * allout.el: No need to load epa, epg, overlay when compiling.
9573 (epg-context-set-passphrase-callback, epg-list-keys)
9574 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9575 (epg-key-user-id-list): Declare.
9576
9c6906f6
GM
9577 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9578 (viper-set-parsing-style-toggling-macro)
9579 (viper-set-emacs-state-searchstyle-macros):
9580 Use called-interactively-p on Emacs.
9581 (viper-looking-back): Make it an obsolete alias. Update callers.
9582 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9583 Use looking-back rather than viper-looking-back.
9584 (viper-tmp-insert-at-eob, viper-enlarge-region)
9585 (viper-read-string-with-history, viper-register-to-point)
9586 (viper-append-to-register, viper-change-state-to-vi)
9587 (viper-backward-char-carefully, viper-forward-char-carefully)
9588 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9589 (viper-change-state-to-emacs): Declare.
9590 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9591 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9592 * emulation/viper-mous.el: Do not load viper-cmd.
9593 (viper-backward-char-carefully, viper-forward-char-carefully)
9594 (viper-forward-word, viper-adjust-window): Declare.
9595
5f70c169
GM
9596 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9597
b1b7f300
GM
9598 * progmodes/idlw-help.el (idlwave-help-fontify):
9599 Use called-interactively-p.
9600
f6ebbb46
GM
9601 * term/w32console.el (w32-get-console-codepage)
9602 (w32-get-console-output-codepage): Declare.
9603
0cdffd7d
GM
9604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9605 Remove unnecessary declarations.
9606 (dframe-message): Doc fix.
9607
9608 * info.el (dframe-select-attached-frame, dframe-current-frame):
9609 Declare.
9610
9611 * speedbar.el (speedbar-message): Make it an obsolete alias.
9612 Update all callers.
9613 (speedbar-with-attached-buffer)
9614 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9615 (speedbar-with-writable): Use backquote.
9616 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9617 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9618 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9619 rather than speedbar- aliases.
9620 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9621 (speedbar-make-specialized-keymap, speedbar-insert-button)
9622 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9623 (speedbar-do-function-pointer): Declare.
9624 (rmail-speedbar-button, rmail-speedbar-find-file)
9625 (rmail-speedbar-move-message):
9626 Use dframe-with-attached-buffer rather than speedbar- alias.
9627 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9628 (dframe-message, speedbar-make-specialized-keymap)
9629 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9630 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9631 (speedbar-insert-button, dframe-select-attached-frame)
9632 (dframe-maybee-jump-to-attached-frame)
9633 (speedbar-change-initial-expansion-list)
9634 (speedbar-previously-used-expansion-list-name): Declare.
9635 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9636 Use dframe-message, dframe-with-attached-buffer rather than
9637 speedbar- aliases.
9638 (gud-sentinel): Silence compiler.
9639 * progmodes/vhdl-mode.el (speedbar-refresh)
9640 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9641 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9642 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9643 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9644 (speedbar-file-lists, speedbar-make-tag-line)
9645 (speedbar-line-directory, speedbar-goto-this-file)
9646 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9647 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9648 (speedbar-make-button, speedbar-reset-scanners)
9649 (speedbar-files-item-info, speedbar-line-text)
9650 (speedbar-find-file-in-frame, speedbar-set-timer)
9651 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9652 (speedbar-with-writable): Do not (re)define it.
9653 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9654 rather than speedbar- alias.
9655
ee44b62a
LL
96562013-05-21 Leo Liu <sdl.web@gmail.com>
9657
9658 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9659 menu items.
9660 (octave-mode): Tweak fill-nobreak-predicate.
9661 (inferior-octave-startup): Check process to avoid infinite loop.
9662 (inferior-octave): Pop to buffer first to show abornmal process
9663 exit information.
9664
640f050f
GM
96652013-05-21 Glenn Morris <rgm@gnu.org>
9666
79458038
GM
9667 * printing.el (pr-menu-bar): Define when compiling.
9668
9cc3e83f
LL
96692013-05-21 Leo Liu <sdl.web@gmail.com>
9670
9671 * progmodes/octave.el (octave-auto-fill): Remove.
9672 (octave-indent-new-comment-line): Improve.
9673 (octave-mode): Use auto fill mode through
4f405069 9674 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9675 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9676 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9677 (octave-help): Show parent directory.
9678
f440830d
GM
96792013-05-21 Glenn Morris <rgm@gnu.org>
9680
9681 * files.el (dired-unmark):
9682 * progmodes/gud.el (gdb-input): Update declarations.
9683
9684 * calculator.el (electric, ehelp): No need to load when compiling.
9685 (Electric-command-loop, electric-describe-mode): Declare.
9686
9687 * doc-view.el (doc-view-current-converter-processes): Move before use.
9688
9689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9690 Move MODE-set-explicitly definition before use.
9691
9692 * international/mule-diag.el (mule-diag):
9693 Don't use obsolete window-system-version.
9694
9695 * mail/feedmail.el (smtpmail): No need to load when compiling.
9696 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9697
9698 * mail/mail-utils.el (rfc822): No need to load when compiling.
9699 (rfc822-addresses): Autoload it.
9700 (mail-strip-quoted-names): Trivial simplification.
9701
9702 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9703 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9704
9705 * net/snmp-mode.el (tempo): Don't duplicate requires.
9706
9707 * progmodes/prolog.el (info): No need to load when compiling.
9708 (comint): Require before shell requires it.
9709 (Info-goto-node): Autoload it.
9710 (Info-follow-nearest-node): Declare.
9711 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9712
9713 * textmodes/artist.el (picture-mode-exit): Declare.
9714
9715 * textmodes/reftex-parse.el (reftex-parse-from-file):
9716 Trivial rewrite so the compiler can parse it better.
9717
b4da2cbb
LL
97182013-05-20 Leo Liu <sdl.web@gmail.com>
9719
9720 * progmodes/octave.el (octave-help-mode-map)
9721 (octave-help-mode-finish-hook): New variables.
9722 (octave-help-mode, octave-help-mode-finish): New functions.
9723 (octave-help): Use octave-help-mode.
9724
33c0f65b
GM
97252013-05-20 Glenn Morris <rgm@gnu.org>
9726
9727 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9728
1a0a0a8a
DG
97292013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9730
9731 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9732 start at point, so that expansion starting right after opening
9733 slash in a regexp is recognized.
9734 (ruby-syntax-before-regexp-re): New defvar, extracted from
9735 ruby-syntax-propertize-function. Since the value of this regexp
9736 is looked up at runtime now, we should be able to turn
9737 `ruby-syntax-methods-before-regexp' into a defcustom later.
9738 (ruby-syntax-propertize-function): Split regexp matching into two
9739 parts, for opening and closing slashes. That allows us to skip
9740 over string interpolations and support multiline regexps.
9741 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9742 for them, which calls `ruby-syntax-propertize-expansion'.
9743 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9744 call to `ruby-syntax-propertize-function'.
9745 (ruby-syntax-propertize-expansion): Extracted from
9746 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9747 (ruby-syntax-propertize-percent-literal): Leave point right after
9748 the percent symbol, so that the expression expansion rule can
9749 propertize the contents.
462388b6
DG
9750 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9751 heredoc openers.
9752 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9753
c1a6c0a4
JL
97542013-05-18 Juri Linkov <juri@jurta.org>
9755
9756 * man.el (Man-default-man-entry): Remove `-' from the end
9757 of the default value. (Bug#14400)
9758
8051fccd
GM
97592013-05-18 Glenn Morris <rgm@gnu.org>
9760
9761 * comint.el (comint-password-prompt-regexp):
9762 Allow "password for XXX" where XXX contains colons (eg https://...).
9763
5e80b74f
LL
97642013-05-18 Leo Liu <sdl.web@gmail.com>
9765
9766 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9767 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9768 (octave-source-directories): Don't check process.
9769 (octave-source-directories, octave-find-definition): Doc fix.
9770
521a54c5
GM
97712013-05-18 Glenn Morris <rgm@gnu.org>
9772
86a94b05
GM
9773 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9774 Remove backspace/delete bindings. (Bug#14392)
9775
521a54c5
GM
9776 * cus-dep.el (custom-make-dependencies): Sort the output.
9777 (custom-versions-load-alist): Convert comment to doc.
9778
42caeb89
LL
97792013-05-17 Leo Liu <sdl.web@gmail.com>
9780
9781 * newcomment.el (comment-search-backward): Stricter in finding
9782 comment start. (Bug#14303)
9783
9784 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9785 (octave-comment-start-skip): Properly anchored.
9786
e219dd97
LL
97872013-05-17 Leo Liu <sdl.web@gmail.com>
9788
fe1eb856
RS
9789 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9790 Clean up when turned off. (Bug#14395)
e219dd97
LL
9791 (smie--highlight-matching-block-overlay): No longer buffer-local.
9792 (smie-highlight-matching-block): Adjust.
9793
dc5dcb4b
PE
97942013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9795
9796 Doc string fix for "nanoseconds" (Bug#14406).
9797 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9798 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9799
1db165f0
JB
98002013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9801
9802 * calc/calc-units.el (math-extract-units): Preserve powers
9803 of units.
9804
c7a8fcac
LL
98052013-05-17 Leo Liu <sdl.web@gmail.com>
9806
9807 * subr.el (delete-consecutive-dups): New function.
9808 * ido.el (ido-set-matches-1): Use it.
9809 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9810 * ido.el (ido-remove-consecutive-dups): Remove.
9811
f678b18a
SM
98122013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9815 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9816 regexp-opt's `words'.
9817
ebfe68e8
LL
98182013-05-16 Leo Liu <sdl.web@gmail.com>
9819
9820 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9821 (smie--highlight-matching-block-overlay)
9822 (smie--highlight-matching-block-lastpos)
9823 (smie--highlight-matching-block-timer): New variables.
9824 (smie-highlight-matching-block): New function.
9825 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9826 (smie-setup): Conditionally enable smie-blink-matching-open.
9827
bc8bc17d
WS
98282013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9829
9830 Sync with upstream verilog-mode r840.
9831 * progmodes/verilog-mode.el (verilog-mode-version)
9832 (verilog-mode-release-date): Update.
9833 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9834 (verilog-sig-tieoff): Fix string error on
9835 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9836 (verilog-read-decls): Fix parameters confusing
9837 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9838
df065a0b
EZ
98392013-05-16 Eli Zaretskii <eliz@gnu.org>
9840
9841 * subr.el (reveal-filename): New function.
9842
9843 * loadup.el: Compute Emacs executable versions on MS-Windows,
9844 where executables have the .exe extension. Add a hard link
9845 emacs-XX.YY.ZZ.exe on MS-Windows.
9846
9847 * Makefile.in (XARGS_LIMIT): New variable.
9848 (custom-deps, finder-data, autoloads)
9849 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9850 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9851 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9852 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9853
2d4bf34b
LL
98542013-05-16 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9857 (octave-mode-menu, octave-mode-map): Remove its uses.
9858
6b9c2d85
RZ
98592013-05-16 Reto Zimmermann <reto@gnu.org>
9860
9861 Sync with upstream vhdl mode v3.34.2.
9862 * progmodes/vhdl-mode.el: Use `push' throughout.
9863 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9864 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9865 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9866 (vhdl-actual-generic-name): New option to derive actual generic name.
9867 (vhdl-port-paste-signals): Replace formal by actual generics.
9868 (vhdl-beautify): New name for old group vhdl-align. Update users.
9869 (vhdl-beautify-options): New option.
9870 (vhdl-last-input-event): New compat alias. Use throughout.
9871 (vhdl-goto-line): Replace user level function `goto-line'.
9872 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9873 vhdl-fix-statement-buffer.
9874 (vhdl-create-mode-menu): Add some entries.
9875 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9876 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9877 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9878 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9879 to force statements on one line.
9880 (vhdl-remove-trailing-spaces-region):
9881 New, split from vhdl-remove-trailing-spaces.
9882 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9883 Respect vhdl-beautify-options.
9884 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9885 (vhdl-update-sensitivity-list): Not add with index if exists without.
9886 Not include array index with signal. Ignore keywords in comments.
9887 (vhdl-get-visible-signals): Regexp tweaks.
9888 (vhdl-template-component-inst): Handle empty library.
9889 (vhdl-template-type): Add template for 'enum' type.
9890 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9891 Use vhdl-replace-string.
9892 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9893 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9894 (vhdl-speedbar-initialize): Update for above name change.
9895 (vhdl-compose-wire-components): Fix in handling of constants.
9896 (vhdl-error-regexp-emacs-alist): New variable.
9897 (vhdl-error-regexp-add-emacs): New function;
9898 adds support for new compile.el (Emacs 22+)
9899 (vhdl-generate-makefile-1): Change target order for single lib. units.
9900 Allow use of absolute file names.
9901
9df4ec5e
LL
99022013-05-16 Leo Liu <sdl.web@gmail.com>
9903
9904 * simple.el (prog-indent-sexp): Indent enclosing defun.
9905
f5ba00a6
GM
99062013-05-15 Glenn Morris <rgm@gnu.org>
9907
ed8be7ff
GM
9908 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9909 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9910 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9911 (whitespace-highlight): Move to whitespace group.
9912
9913 * comint.el (comint-source):
9914 * pcmpl-linux.el (pcmpl-linux):
9915 * shell.el (shell-faces):
9916 * eshell/esh-opt.el (eshell-opt):
9917 * international/ccl.el (ccl): Remove empty custom groups.
9918
9919 * completion.el (dynamic-completion-mode):
9920 * jit-lock.el (jit-lock-debug-mode):
9921 * minibuffer.el (completion-in-region-mode):
9922 * type-break.el (type-break-mode-line-message-mode)
9923 (type-break-query-mode):
9924 * emulation/tpu-edt.el (tpu-edt-mode):
9925 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9926 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9927 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9928
9929 * term/xterm.el (xterm): Change parent group to terminals.
9930
9931 * master.el (master): Remove empty custom group.
9932 (master-mode): Remove unused :group argument.
9933 * textmodes/refill.el (refill): Remove empty custom group.
9934 (refill-mode): Remove unused :group argument.
9935
9936 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9937
82a7c41b
GM
9938 * cus-dep.el: Provide a feature.
9939 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9940 Don't mistakenly ignore files whose basenames match a basename
9941 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9942 Add a fallback method for getting :group.
f5ba00a6 9943
6d65486d
JL
99442013-05-15 Juri Linkov <juri@jurta.org>
9945
da547b32
JL
9946 * isearch.el (isearch-char-by-name): Rename from
9947 `isearch-insert-char-by-name'. Doc fix.
9948 (isearch-forward): Mention `isearch-char-by-name' in
9949 the docstring. (Bug#13348)
9950
6d65486d
JL
9951 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9952 `exit-minibuffer' instead of
9953 `isearch-nonincremental-exit-minibuffer'.
9954 (isearch-edit-string): Remove mention of
9955 `isearch-nonincremental-exit-minibuffer' from docstring.
9956 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9957 (isearch-forward-exit-minibuffer)
9958 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9959
c9990474
SM
99602013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9961
6e911150
SM
9962 * loadup.el: Just use unversioned DOC.
9963
c9990474
SM
9964 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9965 literals as extending to EOB.
9966 (nxml-last-fontify-end): Remove unused variable.
9967 (nxml-after-change1): Use with-silent-modifications.
9968 (nxml-extend-after-change-region): Simplify.
9969 (nxml-extend-after-change-region1): Remove function.
9970 (nxml-after-change1): Don't adjust for dependent regions.
9971 (nxml-fontify-matcher): Simplify.
9972 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9973 (xmltok-add-dependent): Remove function.
9974 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9975 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9976 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9977 unclosed <[[, <?, comment, and other literals as extending to EOB.
9978 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9979 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9980 Remove functions.
9981 (rng-do-some-validation-1): Don't mark dependent regions.
9982 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9983 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9984 (nxml-clear-dependent-regions): Remove functions.
9985 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9986 (nxml-ensure-scan-up-to-date):
9987 Don't clear&mark dependent regions.
9988
e3772e98
LL
99892013-05-15 Leo Liu <sdl.web@gmail.com>
9990
c9990474
SM
9991 * progmodes/octave.el (octave-goto-function-definition):
9992 Improve and fix callers.
e3772e98 9993
5ac2eb34
SM
99942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9995
c46c57b0
SM
9996 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9997 the setter (bug#14387).
9998
5ac2eb34
SM
9999 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10000 surrounding group (bug#14402).
10001
180ed218
JL
100022013-05-14 Juri Linkov <juri@jurta.org>
10003
10004 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10005 (Bug#14390)
10006
0ac0fecb
GM
100072013-05-14 Glenn Morris <rgm@gnu.org>
10008
10009 * progmodes/f90.el (f90-imenu-generic-expression):
10010 Fix typo in 2013-05-08 change. (Bug#14402)
10011
2e78e6a7
JPG
100122013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10013
5ac2eb34
SM
10014 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10015 Remove signals for which replies are never received.
2e78e6a7 10016
53267cca
JPG
100172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10018
10019 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10020 (gdb-handler-alist, gdb-handler-number): Remove variables.
10021 (gdb-handler-list): New variable.
10022 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10023 (gdb-pending-handler-p, gdb-handle-reply)
10024 (gdb-remove-all-pending-triggers): New functions.
10025 (gdb-discard-unordered-replies): New defcustom.
10026 (gdb-handler): New defstruct.
10027 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10028 instead of gdb-pending-triggers. Update docstring.
10029 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10030 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10031 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10032 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10033 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10034 (gdb-frame-handler): Pending triggers are now automatically managed.
10035 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10036 Remove argument.
10037 (gdb-input): Automatically handles pending triggers. Update docstring.
10038 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10039 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10040 Update comments.
10041 (gdb-done-or-error): Now use gdb-handle-reply.
10042
d04ce803
JPG
100432013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10044
10045 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10046 gdb-debug-log.
10047
0114073a
GM
100482013-05-14 Glenn Morris <rgm@gnu.org>
10049
10050 * subr.el (user-emacs-directory-warning): New option.
10051 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10052
4d25fd7e
LL
100532013-05-14 Leo Liu <sdl.web@gmail.com>
10054
10055 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10056 during redisplay.
10057 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10058 (octave-font-lock-texinfo-comment): Fix invalid search bound
10059 error: wrong side of point.
4d25fd7e 10060
27c8b6eb
GM
100612013-05-14 Glenn Morris <rgm@gnu.org>
10062
61aaeb01
GM
10063 * progmodes/flymake.el (flymake-xml-program): New option.
10064 (flymake-xml-init): Use it.
10065
5bf90bc5
GM
10066 * term/xterm.el: Provide a feature.
10067
10068 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10069
f4c7dfd2
GM
100702013-05-13 Glenn Morris <rgm@gnu.org>
10071
10072 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10073 Add compat aliases as a hack workaround. (Bug#14384)
10074
2aeb3a1d
LL
100752013-05-13 Leo Liu <sdl.web@gmail.com>
10076
b0e069c2
LL
10077 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10078 ###, and %!.
f5a9432f
LL
10079 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10080 C-M-q.
b0e069c2
LL
10081 (octave-comment-start-skip): Include %!.
10082 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10083
30ea8374
LL
100842013-05-12 Leo Liu <sdl.web@gmail.com>
10085
10086 * progmodes/octave.el (inferior-octave-startup): Store the value
10087 of __octave_srcdir__ for octave-source-directories.
10088 (inferior-octave-check-process): New function refactored out of
10089 inferior-octave-send-list-and-digest.
10090 (octave-source-directories)
10091 (octave-find-definition-filename-function): New variables.
10092 (octave-source-directories)
10093 (octave-find-definition-default-filename): New functions.
10094 (octave-find-definition): Improve to find functions implemented in C++.
10095
472a3834
GM
100962013-05-12 Glenn Morris <rgm@gnu.org>
10097
10098 * calendar/diary-lib.el (diary-outlook-format-1):
10099 Don't include dayname in the output. (Bug#14349)
10100
3191b52f
GM
101012013-05-11 Glenn Morris <rgm@gnu.org>
10102
0060ac73
GM
10103 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10104
3191b52f
GM
10105 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10106 Treat cc-provide like provide.
10107
e065ba74
KR
101082013-05-11 Kevin Ryde <user42@zip.com.au>
10109
10110 * cus-dep.el (custom-make-dependencies):
10111 Use generated-autoload-load-name for the sake of files such
10112 such cedet/semantic/bovine/c.el, where the base file name
10113 is not in load-path. (Bug#5277)
10114
36f84c37
GM
101152013-05-11 Glenn Morris <rgm@gnu.org>
10116
10117 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10118 Provide features.
10119
c8730c3a
LL
101202013-05-11 Leo Liu <sdl.web@gmail.com>
10121
10122 * progmodes/octave.el (octave-indent-comment): Improve.
10123 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10124 (octave-eldoc-function-signatures, octave-eldoc-function):
10125 New functions.
c8730c3a
LL
10126 (octave-mode, inferior-octave-mode): Add eldoc support.
10127
212e29f2
RS
101282013-05-11 Richard Stallman <rms@gnu.org>
10129
10130 * epa.el (epa-decrypt-file): Take output file name as argument
10131 and read it using `interactive'.
10132
083fe0d7
LL
101332013-05-11 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/octave.el (octave-beginning-of-line)
10136 (octave-end-of-line): Check before using up-list because it jumps
10137 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10138 (octave-indent-comment): New function.
10139 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10140 (octave-begin-keywords, octave-end-keywords)
10141 (octave-reserved-words, octave-smie-bnf-table)
10142 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10143
8582e4c4
GM
101442013-05-11 Glenn Morris <rgm@gnu.org>
10145
f20def1f
GM
10146 * faces.el (internal-face-x-get-resource):
10147 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10148 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10149 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10150 Fix declarations.
f20def1f 10151
445f95e2
GM
10152 * calc/calc-menu.el: Make it loadable in isolation.
10153
10154 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10155 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10156 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10157 (eudc-bbdb-query-internal): Require 'bbdb.
10158
99fb2756
GM
10159 * lpr.el (lpr-headers-switches):
10160 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10161
10162 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10163
0da7ad96
GM
10164 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10165
8582e4c4
GM
10166 * term.el (term-set-escape-char): Make it idempotent.
10167
f71c50d0
LL
101682013-05-10 Leo Liu <sdl.web@gmail.com>
10169
5ac2eb34
SM
10170 * progmodes/octave.el (inferior-octave-completion-table):
10171 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10172 completion due to bug#11906.
10173 (octave-beginning-of-defun): Re-write to be more general.
10174
d5837773
GM
101752013-05-10 Glenn Morris <rgm@gnu.org>
10176
10177 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10178
027c0f75
SM
101792013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * comint.el (comint-redirect-send-command-to-process): Use :around
10182 rather than :override for comint-redirect-filter.
10183 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10184 Call it instead of comint-redirect-original-filter-function (which
10185 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10186
4465bfb4
JD
101872013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10188
10189 * frame.el (display-monitor-attributes-list): Add NS case.
10190 (ns-display-monitor-attributes-list): Declare.
10191
2d809ffa 101922013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10193
10194 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10195
e54eeb9b
GM
101962013-05-09 Glenn Morris <rgm@gnu.org>
10197
56cd351d
GM
10198 * international/fontset.el (vertical-centering-font-regexp):
10199 Set standard-value.
10200
d84b6108
GM
10201 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10202
a931698a
GM
10203 * bookmark.el (bookmark-search-delay):
10204 * cus-start.el (vertical-centering-font-regexp):
10205 * ps-mule.el (ps-mule-font-info-database-default):
10206 * ps-print.el (ps-default-fg, ps-default-bg):
10207 * type-break.el (type-break-good-break-interval):
10208 * whitespace.el (whitespace-indentation-regexp)
10209 (whitespace-space-after-tab-regexp):
10210 * emacs-lisp/testcover.el (testcover-1value-functions)
10211 (testcover-noreturn-functions, testcover-progn-functions)
10212 (testcover-prog1-functions):
10213 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10214 * eshell/em-glob.el (eshell-glob-translate-alist):
10215 * play/tetris.el (tetris-tty-colors):
10216 * progmodes/cpp.el (cpp-face-default-list):
10217 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10218 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10219 (idlwave-help-browser-generic-args):
10220 * progmodes/make-mode.el (makefile-special-targets-list):
10221 * progmodes/python.el (python-shell-virtualenv-path):
10222 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10223 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10224 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10225 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10226 * textmodes/reftex-vars.el (reftex-format-label-function):
10227 * textmodes/remember.el (remember-diary-file): Fix custom types.
10228
e54eeb9b
GM
10229 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10230 Add :version.
10231
455851dd
LL
102322013-05-09 Leo Liu <sdl.web@gmail.com>
10233
10234 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10235 Restore file completion. (Bug#14300)
455851dd
LL
10236 (inferior-octave-startup): Fix incorrect highlighting for the
10237 first prompt.
10238
a9e4425b
SM
102392013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * progmodes/ruby-mode.el: First cut at SMIE support.
10242 (ruby-use-smie): New var.
10243 (ruby-smie-grammar): New constant.
10244 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10245 (ruby-smie--forward-token, ruby-smie--backward-token)
10246 (ruby-smie-rules): New functions.
10247 (ruby-mode-variables): Setup SMIE if applicable.
10248
060ca408
EZ
102492013-05-08 Eli Zaretskii <eliz@gnu.org>
10250
10251 * simple.el (line-move-visual): Signal beginning/end of buffer
10252 only if vertical-motion moved less than it was requested. Avoids
10253 silly incorrect error messages when there are display strings with
10254 multiple newlines at EOL.
10255
1d5963cc
SM
102562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10259 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10260 (prolog-char-quote-workaround):
10261 * progmodes/cperl-mode.el (cperl-under-as-char):
10262 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10263 Mark as obsolete.
10264 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10265 their declaration.
10266 (vhdl-mode-syntax-table-init): Remove.
10267
c9990474
SM
10268 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10269 last change.
1d5963cc
SM
10270
10271 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10272 syntax for "_".
10273 (ld-script-font-lock-keywords):
10274 Change regexps to use things like \_< and \_>.
10275
10276 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10277 Change all regexps to use things like \_< and \_>.
10278
10279 * progmodes/autoconf.el (autoconf-definition-regexp)
10280 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10281 Handle a _ with symbol syntax.
10282 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10283
c9990474
SM
10284 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10285 Consolidate declaration.
1d5963cc
SM
10286 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10287 the declaration.
10288 (ada-create-syntax-table): Remove.
10289 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10290 already has the right syntax nowadays.
10291 (ada-goto-next-word): Don't change the syntax of "_".
10292
10293 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10294 with-wrapper-hook.
10295
72d3cfca
SS
102962013-05-08 Sam Steingold <sds@gnu.org>
10297
10298 * thingatpt.el (thing-at-point): Accept optional second argument
10299 NO-PROPERTIES to strip the text properties from the return value.
10300 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10301 to `thing-at-point' instead of stripping the properties ourselves.
10302 Also, when `thing-at-point' fails to find a url, prepend "http://"
10303 to the filename at point on the assumption that the user is
10304 pointing at something like gnu.org/gnu.
10305
5cb15713
JB
103062013-05-08 Juanma Barranquero <lekktu@gmail.com>
10307
10308 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10309 * faces.el (crm-separator):
10310 Silence byte-compiler.
10311
10312 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10313 (tool-bar-map): Remove unneeded defvars.
10314
ea78b95b
LL
103152013-05-08 Leo Liu <sdl.web@gmail.com>
10316
10317 Re-work a fix for bug#10994 based on Le Wang's patch.
10318 * ido.el (ido-remove-consecutive-dups): New helper.
10319 (ido-completing-read): Use it.
10320 (ido-chop): Revert fix for bug#10994.
10321
dc7466df
AS
103222013-05-08 Adam Spiers <emacs@adamspiers.org>
10323
10324 * cus-edit.el (custom-save-variables):
10325 Pretty-print long values. (Bug#14187)
10326
9ecf672a
GM
103272013-05-08 Glenn Morris <rgm@gnu.org>
10328
10329 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10330 (m4-mode-syntax-table): Init in the defvar.
10331 (m4-mode-abbrev-table): Let define-derived-mode define it.
10332
3f555be8
TT
103332013-05-08 Tom Tromey <tromey@redhat.com>
10334
10335 * progmodes/m4-mode.el (m4-mode-syntax-table):
10336 Do not treat "_" as word constituent. (Bug#14167)
10337
7cc8ae06
GM
103382013-05-07 Glenn Morris <rgm@gnu.org>
10339
4f58bc06
GM
10340 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10341 Remove explicit eshell-isearch-cancel-map.
10342
7cc8ae06
GM
10343 * progmodes/f90.el (f90-smart-end-names): New option.
10344 (f90-smart-end): Doc fix.
10345 (f90-end-block-optional-name): New constant.
10346 (f90-block-match): Respect f90-smart-end-names.
10347
ceb57e59
SM
103482013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10351 about implicit semi-colons (bug#14218).
10352
4e3f9230
YM
103532013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10354
10355 * frame.el (display-monitor-attributes-list)
10356 (frame-monitor-attributes): New functions.
10357
203a5572
LL
103582013-05-06 Leo Liu <sdl.web@gmail.com>
10359
10360 * progmodes/octave.el (octave-syntax-propertize-function): Change
10361 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10362 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10363 (octave-completion-at-point): Rename from
203a5572
LL
10364 octave-completion-at-point-function.
10365 (inferior-octave-directory-tracker): Robustify.
10366 (octave-text-functions): Remove and fix its uses. No such things
10367 any more.
10368
ee6cff99
SM
103692013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * emacs-lisp/trace.el (trace--display-buffer): New function.
10372 (trace-make-advice): Use it.
10373
32985194
JL
103742013-05-06 Juri Linkov <juri@jurta.org>
10375
10376 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10377 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10378 Doc fix.
10379 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10380 in the help string. (Bug#12985)
10381
a1c700de
KD
103822013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10383
10384 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10385
c67c0839
SM
103862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10387
323885fd
SM
10388 * progmodes/perl-mode.el: Add support for here documents.
10389 (perl-syntax-propertize-function): Match here-doc markers.
10390 (perl-syntax-propertize-special-constructs): Find their end.
10391 (perl-imenu-generic-expression): Use [:alnum:].
10392
c67c0839
SM
10393 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10394 (advice--add-function): Refresh the advice if already present
10395 (bug#14317).
10396
d491e7a8
IA
103972013-05-06 Ivan Andrus <darthandrus@gmail.com>
10398
10399 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10400
ddf9925e
GM
104012013-05-06 Glenn Morris <rgm@gnu.org>
10402
7cc3af27
GM
10403 * w32-fns.el (w32-charset-info-alist): Declare.
10404
16e343d6
GM
10405 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10406 of its defcustom properties.
10407 (eshell-cmpl-initialize): No need to load pcomplete.
10408
7d889a47
GM
10409 * generic-x.el: No need to require comint when compiling.
10410
ddf9925e
GM
10411 * net/eudc-export.el: Make it loadable without bbdb.
10412 (top-level): Use require rather than load-library.
10413 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10414 (eudc-batch-export-records-to-bbdb)
10415 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10416 Require bbdb.
10417
1e2c18df
SM
104182013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10421 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10422 some tweaks, instead.
10423
02502a5f
LL
104242013-05-05 Leo Liu <sdl.web@gmail.com>
10425
10426 * progmodes/octave.el (octave-font-lock-keywords)
10427 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10428 (inferior-octave-send-list-and-digest): Improve error message.
10429 (octave-mode, inferior-octave-mode): Use setq-local.
10430 (octave-help): Set info-lookup-mode.
10431
0dc04f42
RS
104322013-05-05 Richard Stallman <rms@gnu.org>
10433
6c54491c
RS
10434 * vc/compare-w.el (compare-windows-whitespace):
10435 Treat no-break space as whitespace.
10436
0dc04f42
RS
10437 * mail/rmailsum.el (rmail-summary-rmail-update):
10438 Detect empty summary and don't change selected message.
10439 (rmail-summary-goto-msg): Likewise.
10440
df8f35df
RS
10441 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10442 Doc fixes, rename args.
10443
5356e1a3
AM
104442013-05-05 Alan Mackenzie <acm@muc.de>
10445
10446 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10447
d44014cb
JL
104482013-05-05 Juri Linkov <juri@jurta.org>
10449
10450 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10451 to not add the length of the summary segment to the return value.
10452 (Bug#14125)
10453
c129b51f
LL
104542013-05-05 Leo Liu <sdl.web@gmail.com>
10455
10456 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10457 (inferior-octave-output-filter): Remove.
10458 (octave-send-region, inferior-octave-startup): Fix callers.
10459 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10460 (octave-binary-file-extensions): New user variable.
10461 (octave-find-definition): Confirm if opening binary files.
10462 (octave-help-file): Use octave-find-definition to get the binary
10463 confirmation.
10464 (octave-help): Adjust for octave-help-file change.
10465
aa7dab97
SM
104662013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10469 Merge the two entries that handle function definitions.
10470 (pascal--syntax-propertize): New const.
10471 (pascal-mode): Use it. Use setq-local.
10472
fd3a9a6b
GM
104732013-05-04 Glenn Morris <rgm@gnu.org>
10474
10475 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10476 (diary-from-outlook): Respect diary-from-outlook-function.
10477
30c7e542
SM
104782013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10481 Move the declaration from C.
10482 (read-minibuffer, eval-minibuffer): Move from C.
10483 (completion-setup-function): Avoid minibuffer-completion-contents.
10484
b54f978b
LL
104852013-05-03 Leo Liu <sdl.web@gmail.com>
10486
10487 * progmodes/octave.el (octave-font-lock-keywords): Do not
10488 dehighlight 'end' in comments or strings.
30c7e542
SM
10489 (octave-completing-read, octave-goto-function-definition):
10490 New helpers.
d4d0f9b3
LL
10491 (octave-help-buffer): New user variable.
10492 (octave-help-file, octave-help-function): New button types.
10493 (octave-help): New command and bind it to C-h ;.
10494 (octave-find-definition): New command and bind it to M-.
d74a1581 10495 (user-error): Alias to error if not defined.
b54f978b 10496
27135018
LL
104972013-05-02 Leo Liu <sdl.web@gmail.com>
10498
10499 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10500 for \. (bug#14332)
10501 (octave-font-lock-keywords): Include [ and {.
10502
0d634d3a
LL
105032013-05-02 Leo Liu <sdl.web@gmail.com>
10504
10505 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10506 (inferior-octave): Remove calling comint-mode and return the buffer.
10507 (inferior-octave-startup): Cosmetic changes.
10508
b4c8295e
LL
105092013-05-02 Leo Liu <sdl.web@gmail.com>
10510
30c7e542
SM
10511 * progmodes/octave.el (octave-syntax-propertize-function):
10512 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10513
f12ad6ec
GM
105142013-05-02 Glenn Morris <rgm@gnu.org>
10515
10516 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10517 * desktop.el (vc-dir-mode): Just autoload it here.
10518
30cac1e0
AM
105192013-05-02 Alan Mackenzie <acm@muc.de>
10520
10521 Eliminate variable c-standard-font-lock-fontify-region-function.
10522 * progmodes/cc-mode.el
10523 (c-standard-font-lock-fontify-region-function): Remove.
10524 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10525
d8ef28b1
LL
105262013-05-01 Leo Liu <sdl.web@gmail.com>
10527
2640d52e 10528 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10529 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10530 variables were removed from Octave in 2007.
d8ef28b1
LL
10531 (inferior-octave-startup): Fix uses.
10532 (comint-line-beginning-position): Remove compatibility code for
10533 emacs 21.
10534
ac63ec89
JL
105352013-05-01 Juri Linkov <juri@jurta.org>
10536
10537 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10538
9e9be37c
JL
105392013-05-01 Juri Linkov <juri@jurta.org>
10540
10541 * comint.el (comint-previous-matching-input): Don't print message
10542 "History item: %d" when `isearch-mode' is active.
10543 (comint-history-isearch-message): Print message "History item: %d"
10544 when `comint-input-ring-index' is not empty and this function is
10545 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10546
9b92c13b
LL
105472013-05-01 Leo Liu <sdl.web@gmail.com>
10548
10549 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10550 definitions. Use completion-at-point to insert keywords.
10551 (octave-abbrev-start): Remove.
10552 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10553
b12d33d7
LL
105542013-04-30 Leo Liu <sdl.web@gmail.com>
10555
10556 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10557 change.
10558
3d1c39fa
AM
105592013-04-30 Alan Mackenzie <acm@muc.de>
10560
10561 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10562 * progmodes/cc-engine.el (c-back-over-member-initializers):
10563 new function.
3d1c39fa
AM
10564 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10565 (most) member init lists.
10566
5147fc17
RS
105672013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10568
10569 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10570 variable.
10571
5b78d7fc
LL
105722013-04-30 Leo Liu <sdl.web@gmail.com>
10573
10574 * progmodes/octave.el (octave-variables): Remove. No builtin
10575 variables any more. All converted to functions.
10576 (octave-font-lock-keywords, octave-completion-at-point-function):
10577 Fix uses.
10578 (octave-font-lock-texinfo-comment): New user variable.
10579 (octave-texinfo-font-lock-keywords): New variable for texinfo
10580 comment block.
10581 (octave-function-comment-block): New face.
10582 (octave-font-lock-texinfo-comment): New function.
10583 (octave-mode): Font lock texinfo comment block.
10584
38d8527b
LL
105852013-04-29 Leo Liu <sdl.web@gmail.com>
10586
10587 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10588 indexing expression.
10589 (octave-continuation-string): Do not use \.
10590 (inferior-octave-complete-impossible): Remove.
10591 (inferior-octave-completion-table)
10592 (inferior-octave-completion-at-point): Remove its uses.
10593 (inferior-octave-startup): completion_matches was introduced to
10594 Octave in 1996 so safe to assume it.
10595 (octave-function-file-comment): Improve to follow how Octave does it.
10596 (octave-update-function-file-comment): Tweak.
10597
2ec12cb0
LL
105982013-04-29 Leo Liu <sdl.web@gmail.com>
10599
10600 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10601 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10602 (octave-function-file-comment): Fix typo.
10603 (octave-sync-function-file-names): Use read-char-choice.
10604
6eaed048
JB
106052013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10606
10607 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10608 to t for the less important warnings.
10609
3ffa2d4f
DH
106102013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10611
10612 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10613
685c9501
GM
106142013-04-27 Glenn Morris <rgm@gnu.org>
10615
10616 * vc/log-view.el (log-view-current-entry):
10617 Treat "---" separator lines as part of the following rev. (Bug#14169)
10618
0208ede7
JL
106192013-04-27 Juri Linkov <juri@jurta.org>
10620
10621 * subr.el (read-number): Doc fix about using it by interactive
10622 code letter `n'. (Bug#14254)
10623
5db9dace
JL
106242013-04-27 Juri Linkov <juri@jurta.org>
10625
10626 * desktop.el (desktop-auto-save-timeout): New option.
10627 (desktop-file-checksum): New variable.
10628 (desktop-save): Add optional arg `auto-save' and don't auto-save
10629 if nothing changed.
10630 (desktop-auto-save-timer): New variable.
10631 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10632 (after-init-hook): Call `desktop-auto-save-set-timer'.
10633 Suggested by Reuben Thomas <rrt@sc3d.org> in
10634 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10635
b7260dd4
LL
106362013-04-27 Leo Liu <sdl.web@gmail.com>
10637
10638 * progmodes/octave.el (octave-function-file-p)
10639 (octave-skip-comment-forward, octave-function-file-comment)
10640 (octave-update-function-file-comment): New functions.
10641 (octave-mode-map): Bind C-c ; to
10642 octave-update-function-file-comment.
10643 (octave-mode-menu): Add octave-update-function-file-comment.
10644 (octave-mode, inferior-octave-mode): Fix doc-string.
10645 (octave-insert-defun): Conform to Octave's coding convention.
10646 (Bug#14285)
10647
10648 * files.el (basic-save-buffer): Don't let errors in
10649 before-save-hook prevent saving buffer.
10650
c46da669
RW
106512013-04-20 Roland Winkler <winkler@gnu.org>
10652
10653 * faces.el (read-face-name): Use completing-read if arg multiple
10654 is nil.
10655
a81ee1eb
IL
106562013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10657
10658 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10659 displayed, move point to after the totals line.
10660 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10661 for the details.
10662
4fac34ce
SM
106632013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10666 Add current dir to the load-path.
10667 (package-generate-autoloads): Don't rely on
10668 autoload-ensure-default-file.
10669
f6bfc063
RT
106702013-04-26 Reuben Thomas <rrt@sc3d.org>
10671
d40ab5cf
BG
10672 * textmodes/remember.el (remember-store-in-files): Document that
10673 the file name format is passed to `format-time-string'.
f6bfc063 10674
e55d3b04
LL
106752013-04-26 Leo Liu <sdl.web@gmail.com>
10676
10677 * progmodes/octave.el (octave-sync-function-file-names): New function.
10678 (octave-mode): Use it in before-save-hook.
10679
e53052d3
SM
106802013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10681
140ef50c
SM
10682 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10683 (bug#14274).
10684
e53052d3
SM
10685 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10686 \n and comment, even if it's not an implicit ; (bug#14218).
10687
af80458d 106882013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10689
10690 * subr.el (read-number): Once more use `read' rather than
10691 `string-to-number', to trap non-numeric input. (Bug#14254)
10692
af80458d 106932013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10694
10695 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10696 Use `syntax-multiline' text property consistently instead of
8a621d53 10697 `font-lock-multiline'. (Bug#14237)
70203c2e 10698
e6ea1f6c
GM
106992013-04-26 Glenn Morris <rgm@gnu.org>
10700
10701 * emacs-lisp/shadow.el (list-load-path-shadows):
10702 No longer necessary to check for duplicate simple.el, since
10703 2012-07-07 change to init_lread to not include installation lisp
10704 directories in load-path when running uninstalled. (Bug#14270)
10705
070ccca4
LL
107062013-04-26 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10709 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10710 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10711 octave-in-string-or-comment-p.
10712 (octave-in-comment-p, octave-in-string-p)
10713 (octave-in-string-or-comment-p): Replace defsubst with defun.
10714
9d1c5fb6
PE
107152013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10716
10717 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10718
c034abda
BG
107192013-04-25 Bastien Guerry <bzg@gnu.org>
10720
10721 * textmodes/remember.el (remember-data-directory)
10722 (remember-directory-file-name-format): Fix custom types.
10723
584ea277
LL
107242013-04-25 Leo Liu <sdl.web@gmail.com>
10725
e53052d3
SM
10726 * progmodes/octave.el (octave-completion-at-point-function):
10727 Make use of inferior octave process.
584ea277
LL
10728 (octave-initialize-completions): Remove.
10729 (inferior-octave-completion-table): New function.
10730 (inferior-octave-completion-at-point): Use it.
10731 (octave-completion-alist): Remove.
10732
1693b06a
SM
107332013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10736 (opascal-mode-syntax-table): New var.
10737 (opascal-literal-kind, opascal-is-literal-end)
10738 (opascal-literal-token-at): Rewrite.
10739 (opascal--literal-start-re, opascal-font-lock-keywords)
10740 (opascal--syntax-propertize): New constants.
10741 (opascal-font-lock-defaults): Adjust.
10742 (opascal-mode): Use them. Set comment-<foo> variables as well.
10743 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10744 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10745 (delphi-other-face, opascal-other-face): Remove face variables.
10746 (opascal-save-state): Remove macro.
10747 (opascal-fontifying-progress-step): Remove constant.
10748 (opascal--ignore-changes): Remove var.
10749 (opascal-set-token-property, opascal-parse-next-literal)
10750 (opascal-is-stable-literal, opascal-complete-literal)
10751 (opascal-is-literal-start, opascal-face-of)
10752 (opascal-parse-region, opascal-parse-region-until-stable)
10753 (opascal-fontify-region, opascal-after-change)
10754 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10755 (opascal-debug-parse-region, opascal-debug-parse-window)
10756 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10757 (opascal-debug-fontify-buffer): Remove.
10758 (opascal-debug-mode-map): Adjust accordingly.
10759
be64c05d
LL
107602013-04-25 Leo Liu <sdl.web@gmail.com>
10761
10762 Merge octave-mod.el and octave-inf.el into octave.el with some
10763 cleanups.
10764 * progmodes/octave.el: New file renamed from octave-mod.el.
10765 * progmodes/octave-inf.el: Merged into octave.el.
10766 * progmodes/octave-mod.el: Renamed to octave.el.
10767
d79d37bd
TH
107682013-04-25 Tassilo Horn <tsdh@gnu.org>
10769
10770 * textmodes/reftex-vars.el
10771 (reftex-label-ignored-macros-and-environments): New defcustom.
10772
10773 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10774
ced3fc5d
SM
107752013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10778 (smie-indent-keyword): Improve the check to ensure that the next
10779 comment is really on the same line.
10780 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10781
10782 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10783 semi-colons if the line is not otherwise empty (bug#14218).
10784
1c141dad
GM
107852013-04-25 Glenn Morris <rgm@gnu.org>
10786
10787 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10788
5058062a
SM
107892013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * progmodes/opascal.el (opascal-set-token-property): Rename from
10792 opascal-set-text-properties and only set `token' (bug#14134).
10793 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10794 (opascal-literal-text-properties): Remove.
10795 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10796 Adjust callers.
10797
5db9dace 107982013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10799
10800 * textmodes/remember.el (remember-handler-functions): Add an
10801 option for a new handler `remember-store-in-files'.
10802 (remember-data-directory, remember-directory-file-name-format):
10803 New options.
10804 (remember-store-in-files): New function to store remember notes
10805 as separate files within a directory.
10806
4391916c
MH
108072013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10808
10809 * progmodes/compile.el (compilation-next-error-function):
10810 Pass "formats" to compilation-find-file (bug#11777).
10811
bb7cdf58
GM
108122013-04-24 Glenn Morris <rgm@gnu.org>
10813
3b8fe752 10814 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10815 * vc/vc-hg.el (vc-hg-print-log):
10816 * vc/vc-svn.el (vc-svn-print-log):
10817 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10818
bb7cdf58
GM
10819 * vc/vc-bzr.el (vc-bzr-print-log):
10820 * vc/vc-cvs.el (vc-cvs-print-log):
10821 * vc/vc-git.el (vc-git-print-log):
10822 * vc/vc-hg.el (vc-hg-print-log):
10823 * vc/vc-mtn.el (vc-mtn-print-log):
10824 * vc/vc-rcs.el (vc-rcs-print-log):
10825 * vc/vc-sccs.el (vc-sccs-print-log):
10826 * vc/vc-svn.el (vc-svn-print-log):
10827 * vc/vc.el (vc-print-log-internal): Doc fixes.
10828
b46a056e
GM
108292013-04-23 Glenn Morris <rgm@gnu.org>
10830
10831 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10832 Remove venerable code attempting to avoid substitute-command-keys.
10833
0aecf718
TH
108342013-04-23 Tassilo Horn <tsdh@gnu.org>
10835
4391916c
MH
10836 * textmodes/reftex-vars.el (reftex-label-regexps):
10837 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10838
117f94cf
SM
108392013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10840
4391916c 10841 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10842 Use lexical-binding.
10843 (jit-lock-force-redisplay): Use markers, check buffer's continued
10844 existence and beware narrowed buffers.
10845 (jit-lock-fontify-now): Adjust call accordingly.
10846
1d829c64
SM
108472013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10850 to avoid misleading the user.
10851
72d548a9
LL
108522013-04-22 Leo Liu <sdl.web@gmail.com>
10853
10854 * info-look.el: Prefer latex2e.info. (Bug#14240)
10855
d0853629
MA
108562013-04-22 Michael Albinus <michael.albinus@gmx.de>
10857
10858 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10859
10860 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10861 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10862 (tramp-set-completion-function, tramp-parse-putty):
10863 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10864 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10865 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10866 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10867 (tramp-call-local-coding-command): Use `tramp-call-process'
10868 instead of `tramp-compat-call-process'.
10869
10870 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10871 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10872 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10873 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10874 (tramp-maybe-send-script): Check for Perl binary.
10875 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10876
38cc0210
DU
108772013-04-22 Daiki Ueno <ueno@gnu.org>
10878
10879 * epg.el (epg-context-pinentry-mode): New function.
10880 (epg-context-set-pinentry-mode): New function.
10881 (epg--start): Pass --pinentry-mode option to gpg command.
10882
cc641ee1
XF
108832013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10884
02d844b5 10885 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10886 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10887 `completion-at-point'. (Bug#13774)
5d4e5c31 10888
cc641ee1
XF
10889 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10890 default key binding for `describe-distribution' has been moved to
10891 `C-h C-o'. (Bug#13970)
10892
1b42ee43
GM
108932013-04-21 Glenn Morris <rgm@gnu.org>
10894
10895 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10896 Add doc strings.
10897 (vc-print-log): Clarify interactive prompt.
10898
a6d63d97
GM
108992013-04-20 Glenn Morris <rgm@gnu.org>
10900
10901 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10902 No longer include timestamp etc information.
10903
d7f5c16f
RW
109042013-04-20 Roland Winkler <winkler@gnu.org>
10905
10906 * faces.el (read-face-name): Bug fix, return just one face if arg
10907 multiple is nil. (Bug#14209)
10908
bcd7a0a4
SM
109092013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10912 (remove-function): Autoload.
10913
10914 * comint.el (comint-redirect-original-filter-function): Remove.
10915 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10916 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10917 (vc-cvs-annotate-command):
bcd7a0a4
SM
10918 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10919 * progmodes/prolog.el (prolog-consult-compile):
10920 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10921 Use add/remove-function instead.
10922 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10923 (gud-tooltip-process-output, gud-tooltip-tips):
10924 Use add/remove-function instead.
10925 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10926 (scheme-interaction-mode, exit-scheme-interaction-mode):
10927 Use add/remove-function instead.
10928
10929 * vc/vc-dispatcher.el: Use lexical-binding.
10930 (vc--process-sentinel): Rename from vc-process-sentinel.
10931 Change last arg to be the code to run. Don't use vc-previous-sentinel
10932 and vc-sentinel-commands any more.
10933 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10934 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10935
e36b2d20 109362013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10937
bcd7a0a4 10938 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10939 Handle function names with a single character. (Bug#14111)
4d3268ba 10940
781b4af6 109412013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10942
10943 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10944 for subroutines defined in an eval (bug#14182).
10945
7d688336
TV
109462013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10947
10948 * bookmark.el (bookmark-completing-read): Improve handling of empty
10949 string (bug#14176).
10950
31dcede0
SM
109512013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10954
adc31213
FEG
109552013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10956
10957 New faster Imenu implementation (bug#14058).
10958 * progmodes/python.el:
10959 (python-imenu-prev-index-position):
10960 (python-imenu-format-item-label-function)
10961 (python-imenu-format-parent-item-label-function)
10962 (python-imenu-format-parent-item-jump-label-function):
10963 New vars.
10964 (python-imenu-format-item-label)
10965 (python-imenu-format-parent-item-label)
10966 (python-imenu-format-parent-item-jump-label)
10967 (python-imenu--put-parent, python-imenu--build-tree)
10968 (python-imenu-create-index, python-imenu-create-flat-index)
10969 (python-util-popn): New functions.
10970 (python-mode): Set imenu-create-index-function to
10971 python-imenu-create-index.
10972
cdca8255
SM
109732013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * winner.el (winner-active-region): Use region-active-p, activate-mark
10976 and deactivate-mark (bug#14225).
10977
10978 * simple.el (deactivate-mark): Don't inline it.
10979
beb42340
MA
109802013-04-18 Michael Albinus <michael.albinus@gmx.de>
10981
10982 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10983
fc7f4d7e
TH
109842013-04-18 Tassilo Horn <tsdh@gnu.org>
10985
10986 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10987 file extensions from the archive-mode entry in order to prefer
10988 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10989
29f47822
LL
109902013-04-18 Leo Liu <sdl.web@gmail.com>
10991
10992 * bindings.el (help-event-list): Add ?\?.
10993
d36ed1c8
SM
109942013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * subr.el (with-wrapper-hook): Declare obsolete.
10997 * simple.el (filter-buffer-substring-function): New hook.
10998 (filter-buffer-substring): Use it.
10999 (filter-buffer-substring-functions): Mark obsolete.
11000 * minibuffer.el (completion-in-region-function): New hook.
11001 (completion-in-region): Use it.
11002 (completion-in-region-functions): Mark obsolete.
11003 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11004 * abbrev.el (abbrev-expand-function): New hook.
11005 (expand-abbrev): Use it.
11006 (abbrev-expand-functions): Mark obsolete.
11007 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11008 and :filter-return.
11009
04754d36
FEG
110102013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11011
11012 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11013 and do not care about match data.
11014
dd8791e9
SM
110152013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11018 completion tables when completing error conditions and
11019 `declare' arguments.
11020 (lisp-complete-symbol, field-complete): Mark as obsolete.
11021 (check-parens): Unmatched parens are user errors.
11022 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11023
ffe54a13
AM
110242013-04-17 Michal Nazarewicz <mina86@mina86.com>
11025
dd8791e9
SM
11026 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11027 command changed buffer (ie. `flyspell-pre-buffer' is not current
11028 buffer), which prevents making decisions based on invalid value of
11029 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11030 cause an error when `flyspell-pre-point' was nil after switching
11031 buffers.
11032 (flyspell-post-command-hook): No longer needs to change buffers when
11033 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11034
ec7e39f2
AM
110352013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11036
11037 * textmodes/ispell.el (ispell-add-per-file-word-list):
11038 Fix `flyspell-correct-word-before-point' error when accepting
11039 words and `coment-padding' is an integer by using
11040 `comment-normalize-vars' (Bug #14214).
11041
083850a6
FEG
110422013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11043
11044 New defun movement commands.
11045 * progmodes/python.el (python-nav--syntactically)
11046 (python-nav--forward-defun, python-nav-backward-defun)
11047 (python-nav-forward-defun): New functions.
11048
619ed6e1
FEG
110492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11050
11051 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11052 (python-syntax-context): Use named compiler-macro for backwards
11053 compatibility with Emacs 24.x.
11054
7a1beb6c
LL
110552013-04-17 Leo Liu <sdl.web@gmail.com>
11056
11057 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11058 octave-hide-process-buffer.
11059
2d3fa3e5
SM
110602013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11063 (bug#14216).
11064
7ce5be54
JPG
110652013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11066
11067 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11068 Fix adjustment of offset when receiving incomplete responses from GDB
11069 (bug#14129).
11070
351edece
SM
110712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11074 python-mode-abbrev-table.
11075 (python-skeleton-define): Adjust accordingly.
11076 (python-mode-abbrev-table): New table that inherits from it so that
11077 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11078
11079 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11080 (abbrev-symbol): Use it.
11081 (abbrev--before-point): Use it since we already handle inheritance.
11082
613f9481
LL
110832013-04-16 Leo Liu <sdl.web@gmail.com>
11084
11085 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11086 binding to info-lookup-symbol.
11087
51646b62
JB
110882013-04-16 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * minibuffer.el (completion--twq-all):
11091 * term/ns-win.el (ns-initialize-window-system):
11092 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11093
efb3f01d
SM
110942013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11095
36c0a301
SM
11096 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11097 global bindings.
11098
efb3f01d
SM
11099 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11100
fb549d64
DG
111012013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11102
11103 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11104 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11105 to nil.
11106 (ruby-end-of-defun): Remove the unused arg, change the docstring
11107 to reflect that this function is only used as the value of
11108 `end-of-defun-function'.
11109 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11110 to reflect an earlier change that beginning/end-of-defun functions
11111 jump between methods in a class definition, as well as top-level
11112 functions.
11113
21e8fe2f
SM
111142013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * minibuffer.el (minibuffer-complete): Don't just scroll
11117 a *Completions* that's been iconified.
11118 (minibuffer-force-complete): Make sure repetitions do cycle when going
11119 through completion-in-region -> minibuffer-complete.
11120
20e527d0
AM
111212013-04-15 Alan Mackenzie <acm@muc.de>
11122
11123 Correct the placement of c-cpp-delimiters when there're #s not at
11124 col 0.
11125
11126 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11127 place a submatch around the #.
21e8fe2f
SM
11128 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11129 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11130 on the #, not BOL.
11131
dabefae5
SM
111322013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11135 (advice--member-p): New arg `name'.
11136 (advice--add-function, advice-member-p): Use it (bug#14202).
11137
85c9ab64
AM
111382013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11139
11140 Reformulate java imenu-generic-expression.
11141 The old expression contained ill formed regexps.
11142
11143 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11144 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11145 (cc-imenu-java-method-arg-regexp): New defconsts.
11146 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11147 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11148 handling of spaces in the regexp.
11149
0f821d99
AM
111502013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11151
11152 * textmodes/ispell.el (ispell-command-loop): Remove
11153 flyspell highlight of a word when ispell accepts it (bug #14178).
11154
eb922adf
MA
111552013-04-15 Michael Albinus <michael.albinus@gmx.de>
11156
11157 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11158 uses code from the previous `ange-ftp-run-real-handler'.
11159 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11160 only in case that function exist. This is needed for proper
11161 unloading of Tramp.
11162
4d9a0979
TH
111632013-04-15 Tassilo Horn <tsdh@gnu.org>
11164
11165 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11166
11167 * textmodes/reftex.el (reftex-compile-variables): Use it.
11168
a829b0dc
SM
111692013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11170
91e8293c
SM
11171 * files.el (normal-mode): Only use default major-mode if no other mode
11172 was specified.
11173
830aed4d
SM
11174 * emacs-lisp/trace.el (trace-values): New function.
11175
a829b0dc
SM
11176 * files.el: Allow : in local variables (bug#14089).
11177 (hack-local-variable-regexp): New var.
11178 (hack-local-variables-prop-line, hack-local-variables): Use it.
11179
7ae9f0fb
RW
111802013-04-13 Roland Winkler <winkler@gnu.org>
11181
11182 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11183 data before it gets modified by bibtex-beginning-of-entry.
11184
6646e848
RW
111852013-04-13 Roland Winkler <winkler@gnu.org>
11186
11187 * textmodes/bibtex.el (bibtex-url): Doc fix.
11188
111892013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11190
11191 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11192 does not visit a BibTeX file, exclude it from the list of buffers
11193 returned by bibtex-initialize.
11194
0aa3616e
SB
111952013-04-13 Stephen Berman <stephen.berman@gmx.net>
11196
11197 * window.el (split-window): Remove interactive form, since as a
11198 command this function is a special case of split-window-below.
11199 Correct doc string.
11200
011cddd6
RW
112012013-04-12 Roland Winkler <winkler@gnu.org>
11202
11203 * faces.el (read-face-name): Do not override value of arg default.
11204 Allow single faces and strings as default values. Remove those
11205 elements from return value that are not faces.
11206 (describe-face): Simplify.
11207 (face-at-point): New optional args thing and multiple so that this
11208 function can provide the same functionality previously provided by
11209 read-face-name.
11210 (make-face-bold, make-face-unbold, make-face-italic)
11211 (make-face-unitalic, make-face-bold-italic, invert-face)
11212 (modify-face, read-face-and-attribute): Use face-at-point.
11213
11214 * cus-edit.el (customize-face, customize-face-other-window)
11215 * cus-theme.el (custom-theme-add-face)
11216 * face-remap.el (buffer-face-set)
11217 * facemenu.el (facemenu-set-face): Use face-at-point.
11218
f24e0036
MA
112192013-04-12 Michael Albinus <michael.albinus@gmx.de>
11220
11221 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11222
da3cda2d
TH
112232013-04-10 Tassilo Horn <tsdh@gnu.org>
11224
11225 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11226 off leading { and trailing } from field values.
11227
15e54145
SM
112282013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11229
78ce603d
SM
11230 * emacs-lisp/timer.el (timer--check): New function.
11231 (timer--time, timer-set-function, timer-event-handler): Use it.
11232 (timer-set-idle-time): Simplify.
11233 (timer--activate): CSE.
11234 (timer-event-handler): Give more info in error message.
11235 (internal-timer-start-idle): New function, moved from C.
11236
15e54145
SM
11237 * mpc.el (mpc-proc): Add `restart' argument.
11238 (mpc-proc-cmd): Use it.
11239 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11240 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11241 less often.
11242
7144c627
MY
112432013-04-10 Masatake YAMATO <yamato@redhat.com>
11244
11245 * progmodes/sh-script.el: Implement `sh-mode' own
11246 `add-log-current-defun-function' (bug#14112).
11247 (sh-current-defun-name): New function.
11248 (sh-mode): Use the function.
11249
b39792eb
BG
112502013-04-09 Bastien Guerry <bzg@gnu.org>
11251
11252 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11253
8acdeb71
SM
112542013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11255
6fcdab68
SM
11256 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11257
8acdeb71
SM
11258 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11259 timer (bug#14156).
11260
e3e7b504
NF
112612013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11262
11263 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11264 declaration.
11265
201bb296
LL
112662013-04-07 Leo Liu <sdl.web@gmail.com>
11267
11268 * pcmpl-x.el: New file.
11269
ebb19708
DA
112702013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11271
11272 Do not set x-display-name until X connection is established.
11273 This is needed to prevent from weird situation described at
11274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11275 * frame.el (make-frame): Set x-display-name after call to
11276 window system initialization function, not before.
11277 * term/x-win.el (x-initialize-window-system): Add optional
11278 display argument and use it.
11279 * term/w32-win.el (w32-initialize-window-system):
11280 * term/ns-win.el (ns-initialize-window-system):
11281 * term/pc-win.el (msdos-initialize-window-system):
11282 Add compatible optional display argument.
11283
33bb237a
EZ
112842013-04-06 Eli Zaretskii <eliz@gnu.org>
11285
11286 * files.el (normal-backup-enable-predicate): On MS-Windows and
11287 MS-DOS compare truenames of temporary-file-directory and of the
11288 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11289 don't fail comparison by compare-strings. Also, compare file
11290 names case-insensitively on MS-Windows and MS-DOS.
11291
134abf1f
SM
112922013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11293
11294 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11295 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11296
d695cb94
DG
112972013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11298
e3e7b504
NF
11299 * whitespace.el (whitespace-color-on, whitespace-color-off):
11300 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11301
f4ad7ea1 113022013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11303
11304 * ispell.el (ispell-set-spellchecker-params):
11305 Really set `ispell-args' for all equivs.
11306
632556e4
SM
113072013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * ido.el (ido-completions): Use extra elements of ido-decorations
11310 (bug#14143).
11311 (ido-decorations): Update docstring.
11312
2a417372
MA
113132013-04-05 Michael Albinus <michael.albinus@gmx.de>
11314
11315 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11316 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11317 nil during initialization, in order not to miss changes since the
11318 file was opened. (Bug#14140)
11319
fc164b0c
LL
113202013-04-05 Leo Liu <sdl.web@gmail.com>
11321
11322 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11323
0ccecc08
JB
113242013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11325
11326 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11327
51af1aa2
GM
113282013-04-04 Glenn Morris <rgm@gnu.org>
11329
11330 * electric.el (electric-pair-inhibit-predicate): Add :version.
11331
b208ebc6
SM
113322013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11335 when a package is required several times (bug#14082).
11336
f3d3eaf0
RW
113372013-04-04 Roland Winkler <winkler@gnu.org>
11338
11339 * faces.el (read-face-name): Behave as promised by the docstring.
11340 Assume that arg default is a list of faces.
11341 (describe-face): Call read-face-name with list of default faces.
11342
2575da50
TV
113432013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11344
11345 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11346 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11347 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11348 the header.
11349 (bookmark-exit-hook-internal): Save even if list is empty.
11350
397703b4
YH
113512013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11352
11353 * emacs-lisp/package.el (package-pinned-packages): New var.
11354 (package--add-to-archive-contents): Obey it (bug#14118).
11355
691e26ae
AM
113562013-04-03 Alan Mackenzie <acm@muc.de>
11357
8a621d53
JB
11358 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11359 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11360
11361 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11362 parameter `not-in-delimiter'. Handle being inside comment opener.
11363 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11364 character in case we're typing a '*' after a '/'.
11365 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11366 instead by passing the parameter to c-state-pp-to-literal.
11367
11368 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11369 for elt. 7 of a parse state.
11370
4b725a70
PE
113712013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11372
11373 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11374 * international/latin1-disp.el, international/mule-util.el:
11375 * language/cyril-util.el, language/european.el, language/ind-util.el:
11376 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11377 * language/tibetan.el, language/viet-util.el:
11378 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11379
15c579f0
SM
113802013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11383 (electric-pair-post-self-insert-function): Use it.
11384 (electric-pair-default-inhibit): New function, extracted from
11385 electric-pair-post-self-insert-function.
11386
a77e2924
RW
113872013-03-31 Roland Winkler <winkler@gnu.org>
11388
11389 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11390
2bd8a4a8
SM
113912013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11394
8d3655be 113952013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11396
11397 Un-indent after "pass" and "return" statements (Bug#13888)
11398 * progmodes/python.el (python-indent-block-enders): New var.
11399 (python-indent-calculate-indentation): Use it.
11400
8d3655be 114012013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11402
11403 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11404 defun. Defining it as defalias could introduce too eager
11405 byte-compiler optimization. (Bug#14030)
11406
8d3655be 114072013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11408
11409 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11410
0b1619da
LL
114112013-03-30 Leo Liu <sdl.web@gmail.com>
11412
11413 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11414 (kmacro-execute-from-register): Pass the keyboard macro to
11415 kmacro-call-macro or repeating won't work correctly.
11416
0b938190
TZ
114172013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11418
11419 * progmodes/subword.el: Back to using `forward-symbol'.
11420
11421 * subr.el (forward-whitespace, forward-symbol)
11422 (forward-same-syntax): Move from thingatpt.el.
11423
35710234
LL
114242013-03-29 Leo Liu <sdl.web@gmail.com>
11425
11426 * kmacro.el (kmacro-to-register): New command.
11427 (kmacro-execute-from-register): New function.
11428 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11429
efc0bb73
SM
114302013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * mpc.el: Use defvar-local and setq-local.
11433 (mpc--proc-connect): Connection failures are not bugs.
11434 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11435 (mpc-volume-map): Bind to the up-events.
11436
75a2f981
TZ
114372013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11438
11439 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11440 instead of `forward-symbol'.
11441
17c781d1
SM
114422013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11445 (edebug--recursive-edit): Use it.
11446 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11447 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11448
f67bfbcf
LL
114492013-03-28 Leo Liu <sdl.web@gmail.com>
11450
11451 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11452
b59f639d
EZ
114532013-03-27 Eli Zaretskii <eliz@gnu.org>
11454
11455 * facemenu.el (list-colors-callback): New defvar.
11456 (list-colors-redisplay): New function.
11457 (list-colors-display): Install list-colors-redisplay as the
11458 revert-buffer-function. (Bug#14063)
11459
f557c1b1
SM
114602013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11461
b1da2957
SM
11462 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11463 and suffixes don't overlap (bug#14061).
11464
f557c1b1
SM
11465 * case-table.el: Use lexical-binding.
11466 (case-table-get-table): New function.
11467 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11468
002668e1
TZ
114692013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11470
11471 * progmodes/subword.el: Add `superword-mode' to do word motion
11472 over symbol_words (parallels and leverages `subword-mode' which
11473 does word motion inside MixedCaseWords).
11474
73572c72
AG
114752013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11476
78b8f320 11477 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11478 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11479
69b2c07e
SM
114802013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11483 Change return value to be a sexp. Delay `get-buffer' to after
11484 restoring the desktop (bug#13951).
11485
08bb5ee2
LL
114862013-03-26 Leo Liu <sdl.web@gmail.com>
11487
11488 * register.el: Move semantic tag handling back to
11489 cedet/semantic/senator.el. (Bug#14052)
11490
8d4c974e
SM
114912013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11494 into the prompt either (bug#13963).
11495
b234d92c
SM
114962013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11499 part of "(error-foo)".
11500
ddfa3cb4
JL
115012013-03-24 Juri Linkov <juri@jurta.org>
11502
11503 * replace.el (list-matching-lines-prefix-face): New defcustom.
11504 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11505 `occur-engine' if `face-differs-from-default-p' returns t.
11506 (occur-engine): Add `,' inside backquote construct to evaluate
11507 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11508 Pass `prefix-face' to the functions `occur-context-lines' and
11509 `occur-engine-add-prefix'.
11510 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11511 `prefix-face' and propertize the prefix with `prefix-face'.
11512 (Bug#14017)
11513
7b0e2f85
LL
115142013-03-24 Leo Liu <sdl.web@gmail.com>
11515
11516 * nxml/rng-valid.el (rng-validate-while-idle)
11517 (rng-validate-quick-while-idle): Guard against deleted buffer.
11518 (Bug#13999)
11519
11520 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11521 is the last entry in kill-buffer-hook.
11522
11523 * files.el (kill-buffer-hook): Doc fix.
11524
b3082f49
DG
115252013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11526
b234d92c
SM
11527 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11528 Make it safe-local.
bde73d27 11529
b3082f49
DG
11530 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11531
a320a2db
LL
115322013-03-23 Leo Liu <sdl.web@gmail.com>
11533
7e74b0fb
LL
11534 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11535 Remove.
11536
11537 * nxml/rng-valid.el (rng-validate-mode)
11538 (rng-after-change-function, rng-do-some-validation):
11539 * nxml/rng-maint.el (rng-validate-buffer):
11540 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11541 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11542 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11543 (nxml-extend-after-change-region): Use with-silent-modifications.
11544
a320a2db
LL
11545 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11546 timer-idle-list.
11547
11548 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11549 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11550 timer-idle-list. (Bug#13999)
11551
e38e6780
JL
115522013-03-23 Juri Linkov <juri@jurta.org>
11553
11554 * info.el (info-index-match): New face.
11555 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11556 main pattern and add text properties with the new face to matches
11557 in index entries relative to the beginning of the index entry.
11558 (Bug#14015)
11559
e8cc7880
DE
115602013-03-21 Eric Ludlam <zappo@gnu.org>
11561
11562 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11563 Inhibit read only while inserting objects.
11564
9bb0d822
TZ
115652013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11566
11567 * progmodes/cfengine.el: Update docs to mention
11568 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11569 symbol motion. Remove "_" from the word syntax.
11570
aa703640
TZ
115712013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11572
11573 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11574 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11575
afff09d0
JL
115762013-03-20 Juri Linkov <juri@jurta.org>
11577
11578 * info.el (Info-next-reference-or-link)
11579 (Info-prev-reference-or-link): New functions.
11580 (Info-next-reference, Info-prev-reference): Use them.
11581 (Info-try-follow-nearest-node): Handle footnote navigation.
11582 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11583
9a1ff164
SM
115842013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11585
11586 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11587 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11588
2667d15d
PE
115892013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11590
11591 Suppress unnecessary non-ASCII chatter during build process.
11592 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11593 (batch-skkdic-convert): Suppress most of the chatter.
11594 It's not needed so much now that machines are faster,
11595 and its non-ASCII component was confusing; see Dmitry Gutov in
11596 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11597
438b0579
LL
115982013-03-20 Leo Liu <sdl.web@gmail.com>
11599
11600 * ido.el (ido-chop): Fix bug#10994.
11601
c128ab07
DG
116022013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11603
11604 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11605 Remove vars.
9a1ff164
SM
11606 (whitespace-color-on, whitespace-color-off):
11607 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11608
0e6008c5
SM
116092013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11612 remapping in mode-line.
11613 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11614
627b52b0
DG
116152013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11616
11617 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11618 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11619 (whitespace-font-lock-keywords): Change description.
11620 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11621 the constructed keywords instead.
11622 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11623
50c3a20b
LL
116242013-03-19 Leo Liu <sdl.web@gmail.com>
11625
11626 * progmodes/compile.el (compilation-display-error): New command.
11627 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11628 C-o. (Bug#13992)
11629
2aa2157b
PE
116302013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11631
11632 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11633
e477dbfa
JD
116342013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11635
11636 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11637
64ab82d1
MA
116382013-03-18 Michael Albinus <michael.albinus@gmx.de>
11639
11640 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11641
11642 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11643 * net/tramp-gvfs.el (top):
11644 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11645 (tramp-handle-shell-command): Use it.
11646 (tramp-dissect-file-name): Raise an error when hostname is a
11647 method name, and neither method nor user is specified.
11648
11649 * net/trampver.el: Update release number.
11650
33cef733
LL
116512013-03-18 Leo Liu <sdl.web@gmail.com>
11652
11653 Make sure eldoc can be turned off properly.
11654 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11655 eldoc-mode.
11656 (eldoc-display-message-p): Revert last change.
11657 (eldoc-display-message-no-interference-p)
11658 (eldoc-print-current-symbol-info): Tweak.
11659
2167b7b2
TH
116602013-03-18 Tassilo Horn <tsdh@gnu.org>
11661
11662 * doc-view.el (doc-view-new-window-function): Check the new window
11663 overlay's display property instead the char property of the
11664 buffer's first char. Use `with-selected-window' instead of
11665 `save-window-excursion' with `select-window'.
11666 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11667 display property instead the char property of the buffer's first char.
2167b7b2 11668
982efbcd
PE
116692013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11670
11671 Automate the build of ja-dic.el (Bug#13984).
11672 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11673 from the input, rather than assume that it's been done for us by the
11674 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11675 the current date into a ja-dic.el comment, as that complicates
11676 regression testing.
11677
2fcc7665
SM
116782013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * whitespace.el: Fix double evaluation.
11681 (whitespace-space, whitespace-hspace, whitespace-tab)
11682 (whitespace-newline, whitespace-trailing, whitespace-line)
11683 (whitespace-space-before-tab, whitespace-indentation)
11684 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11685 obsolete defvars.
11686 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11687 (whitespace-color-on): Use a single font-lock-add-keywords call.
11688 Fix double-evaluation of face variables.
11689
67c0a6e6
MA
116902013-03-17 Michael Albinus <michael.albinus@gmx.de>
11691
2fcc7665
SM
11692 * net/tramp-adb.el (tramp-adb-parse-device-names):
11693 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11694 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11695
69489f1d
LL
116962013-03-17 Leo Liu <sdl.web@gmail.com>
11697
11698 Extend eldoc to display info in the mode-line. (Bug#13978)
11699 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11700 (eldoc-mode-line-string): New variable.
11701 (eldoc-minibuffer-message): New function.
11702 (eldoc-message-function): New variable.
11703 (eldoc-message): Use it.
11704 (eldoc-display-message-p)
2fcc7665
SM
11705 (eldoc-display-message-no-interference-p):
11706 Support eldoc-post-insert-mode.
69489f1d
LL
11707
11708 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11709 (eval-expression): Run it.
11710
9c44569e
RW
117112013-03-17 Roland Winkler <winkler@gnu.org>
11712
11713 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11714 strings in the list of return values.
11715
327f1f6f
JB
117162013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11717
11718 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11719 radix before checking for HMS forms.
11720
67ed8fcd
LL
117212013-03-16 Leo Liu <sdl.web@gmail.com>
11722
11723 * progmodes/scheme.el: Add indentation and font-locking for λ.
11724 (Bug#13975)
11725
78be8b64 117262013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11727
11728 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11729 token before point (bug#13942).
11730
78be8b64 117312013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11732
95b43468 11733 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11734
98e775e6
EZ
117352013-03-16 Eli Zaretskii <eliz@gnu.org>
11736
11737 * startup.el (command-line-normalize-file-name): Fix handling of
11738 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11739 <xfq.free@gmail.com> in
11740 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11741
2edd6029
MA
117422013-03-15 Michael Albinus <michael.albinus@gmx.de>
11743
11744 Sync with Tramp 2.2.7.
11745
11746 * net/trampver.el: Update release number.
11747
d35f5864
TH
117482013-03-14 Tassilo Horn <tsdh@gnu.org>
11749
e903c210 11750 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11751 (doc-view-insert-image): Don't modify overlay associated to
11752 non-live windows, and implement horizontal centering of image in
11753 case it's smaller than the window.
11754 (doc-view-new-window-function): Force redisplay of new windows on
11755 doc-view buffers.
d35f5864 11756
1c4a85ed
KF
117572013-03-13 Karl Fogel <kfogel@red-bean.com>
11758
11759 * saveplace.el (save-place-alist-to-file): Don't sort
11760 `save-place-alist', just pretty-print it (bug#13882).
11761
85b66a21
MA
117622013-03-13 Michael Albinus <michael.albinus@gmx.de>
11763
a020afb9
JB
11764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11765 Check whether `default-file-name-coding-system' is bound.
11766 It isn't in XEmacs.
85b66a21 11767
175600da
SM
117682013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11769
e7f7cb1a
SM
11770 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11771 backquotes for `obsolete' (bug#13929).
11772
175600da
SM
11773 * international/mule.el (find-auto-coding): Include file name in
11774 obsolescence warning (bug#13922).
11775
ca68a22e
TZ
117762013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11777
11778 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11779 for CFEngine 3-specific indentation.
11780 (cfengine3-indent-line): Use it. Fix up category regex.
11781 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11782
940e5099
SM
117832013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * type-break.el (type-break-file-name):
11786 * textmodes/remember.el (remember-data-file):
11787 * strokes.el (strokes-file):
11788 * shadowfile.el (shadow-initialize):
11789 * saveplace.el (save-place-file):
11790 * ps-bdf.el (bdf-cache-file):
11791 * progmodes/idlwave.el (idlwave-config-directory):
11792 * net/quickurl.el (quickurl-url-file):
11793 * international/kkc.el (kkc-init-file-name):
11794 * ido.el (ido-save-directory-list-file):
11795 * emulation/viper.el (viper-custom-file-name):
11796 * emulation/vip.el (vip-startup-file):
11797 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11798 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11799
cc725808
PE
118002013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11801
11802 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11803 * language/thai-word.el: Switch to UTF-8.
11804
a020afb9 11805See ChangeLog.16 for earlier changes.
e3d51b27
MR
11806
11807;; Local Variables:
11808;; coding: utf-8
e3d51b27
MR
11809;; End:
11810
ab422c4d 11811 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11812
11813 This file is part of GNU Emacs.
11814
11815 GNU Emacs is free software: you can redistribute it and/or modify
11816 it under the terms of the GNU General Public License as published by
11817 the Free Software Foundation, either version 3 of the License, or
11818 (at your option) any later version.
11819
11820 GNU Emacs is distributed in the hope that it will be useful,
11821 but WITHOUT ANY WARRANTY; without even the implied warranty of
11822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11823 GNU General Public License for more details.
11824
11825 You should have received a copy of the GNU General Public License
11826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.