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

111487 commits

Author SHA1 Message Date
Stephen Berman
e2ff2f69b9 * todo-mode.el (todo-convert-legacy-files): Eliminate last change,
since it couldn't avoid namespace clashes, and instead let local
variables hold the legacy values used for conversion.  This also
does not interfere with live todo buffers.
2013-06-19 22:11:03 +02:00
Stephen Berman
ddce2e3ed1 * todo-mode.el: Rename from todos.el, change all occurrences of
"todos-" prefix to "todo-" and references to "Todos" to "Todo" or
"Todo mode".
2013-06-19 21:59:26 +02:00
Stephen Berman
18b4baa8a4 * calendar/todo-mode.el: Rename to otodo-mode.el and move to obsolete/. 2013-06-19 21:50:32 +02:00
Stephen Berman
5e7b7e2bb3 * todos.el (todos-convert-legacy-files): Add code to make it work
after the new version is renamed and has the same namespace as the
old version.  This also requires there to be no live todo buffers
when this command is called.
2013-06-19 14:22:46 +02:00
Stephen Berman
857b9748a7 * todos.el: Reinstate current copyright dates and original
todo-mode.el author.  Add reference in commentary to legacy file
format conversion command.
(todos-legacy-date-time-regexp): Rename from
todos-todo-mode-date-time-regexp and adjust uses.
2013-06-18 19:44:01 +02:00
Stephen Berman
a8f4bb8361 * diary-lib.el (diary-goto-entry-function): New variable.
(diary-entry): Use it in the action of this button type instead of
diary-goto-entry.

* todos.el (todos-diary-goto-entry): Add item locating code from
diary-goto-entry.  Add it at the top-level to override the latter
function.
(todos-powerset): Use definition by Wolfgang Jenkner, posted at
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00423.html.
2013-06-18 18:05:01 +02:00
Stephen Berman
bd35877986 Merge from trunk. 2013-06-14 22:07:55 +02:00
Paul Eggert
f7394b1235 Tickle glib by waiting for Emacs itself, not for process 0.
* process.c (init_process_emacs) [HAVE_GLIB && !WINDOWSNT]:
Wait for self, not for 0.  This can't hurt on GNU or similar
system, and may help with Cygwin.

Fixes: debbugs:14569
2013-06-11 11:34:06 -07:00
Paul Eggert
b0e2283134 --without-all should imply --with-file-notification=no.
* configure.ac (with_file_notification): Default to $with_features.

Fixes: debbugs:14569
2013-06-11 11:05:05 -07:00
Glenn Morris
7de135d06f lisp-mode font-lock fox for bug#14574
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
Prettify after setting font-lock-defaults.
2013-06-11 14:00:27 -04:00
Juanma Barranquero
fa6bc6fd50 Fix typos.
* lisp/replace.el (query-replace, occur-read-regexp-defaults-function)
  (replace-search):
* lisp/subr.el (declare-function, number-sequence, local-set-key)
  (substitute-key-definition, locate-user-emacs-file)
  (with-silent-modifications, split-string, eval-after-load):
  Fix typos, remove unneeded backslashes and reflow some docstrings.
2013-06-11 18:51:12 +02:00
Stefan Monnier
cf1f9b9a81 * lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as
default for Elisp files.
2013-06-11 08:51:18 -04:00
Xue Fuqiao
823777b533 Make the example more intuitive.
* doc/lispref/files.texi (File Name Expansion): Make the example more
  intuitive.
2013-06-11 19:37:56 +08:00
Albert Krewinkel
8e16fb987d lisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rot
* Make sieve-manage-open work with STARTTLS: shorten stream managing
  functions by using open-protocol-stream to do most of the work.  Has
  the nice benefit of enabling STARTTLS.

* Remove unneeded functions and options: the following functions and
  options are neither in the API, nor called by any other function, so
  they are deleted:
  - sieve-manage-network-p
  - sieve-manage-network-open
  - sieve-manage-starttls-p
  - sieve-manage-starttls-open
  - sieve-manage-forward
  - sieve-manage-streams
  - sieve-manage-stream-alist

  The options could not be applied in a meaningful way anymore; they
  didn't happen to have much effect before.

* Cosmetic changes and code clean-up

* Enable Multibyte for SieveManage buffers: The parser won't properly
  handle umlauts and line endings unless multibyte is turned on in the
  process buffer.

* Wait for capabilities after STARTTLS: following RFC5804, the server
  sends new capabilities after successfully establishing a TLS
  connection with the client.  The client should update the cached list
  of capabilities, but we just ignore the answer for now.
2013-06-11 07:32:25 +00:00
Glenn Morris
9102c47ad2 * doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
(Branches): Put back milder version of pre 2013-06-07 text.
2013-06-10 23:42:15 -07:00
Glenn Morris
56602a4bfc * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
although define-derived-mode was doing this anyway.

Fixes: debbugs:14583
2013-06-10 23:36:06 -07:00
Paul Eggert
05e3e4125d * keyboard.c: Don't use PROP (...) as an lvalue.
(parse_tool_bar_item) [!USE_GTK && !HAVE_NS]:
Use set_prop (A, B), not PROP (A) = B.
2013-06-10 21:15:49 -07:00
Lars Magne Ingebrigtsen
d583b36b05 lisp/gnus/eww.el (eww-tag-input): Support password fields
(eww-submit): Support POST
2013-06-11 03:09:59 +00:00
Paul Eggert
c6bc7508a9 Spelling fixes. 2013-06-10 16:02:33 -07:00
Lars Magne Ingebrigtsen
001b9fbe7c lisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms 2013-06-10 22:28:35 +00:00
Lars Magne Ingebrigtsen
f22255bdbd lisp/gnus/eww.el (eww-tag-input): Implement submit buttons
(eww-click-radio): Implement radio and checkboxes
(eww-submit): Handle hidden elements
(eww-submit): Get submit button logic right
lisp/gnus/shr.el (shr-expand-url): Expand URLs that start with a slash correctly
2013-06-10 22:12:47 +00:00
Paul Eggert
08c0a604a2 Documentation fix for 'ls' and hard links.
* compile.texi (Compilation Functions):
* files.texi (File Attributes, Changing Files):
Use current format for GNU 'ls' output.
(File Attributes): Fix problem introduced in previous change:
the link count is the number of hard links, not the number
of hard links + 1.
2013-06-10 13:26:20 -07:00
Juanma Barranquero
e7b41c4c9a Fix ChangeLog typos and whitespace. 2013-06-10 16:58:52 +02:00
Juanma Barranquero
30ae0b2c89 lisp/allout.el: Fix make-variable-buffer-local call. 2013-06-10 16:37:02 +02:00
Lars Magne Ingebrigtsen
2644071e8e lisp/gnus/eww.el: Add form support; Make form submission work; Support POST 2013-06-10 14:11:01 +00:00
Albert Krewinkel
266c63b5c1 lisp/gnus/sieve.el: Fix handling of PORT parameter, quitting 2013-06-10 11:46:27 +00:00
Xue Fuqiao
e4568f3bc5 * doc/lispref/files.texi (File Attributes): Fix typo. 2013-06-10 19:19:12 +08:00
Katsumi Yamaoka
2c71cd647b doc/misc/epa.texi: Revert last bogus change 2013-06-10 05:22:52 +00:00
Roy Hashimoto
d058863a12 lisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7 regexps to match messages with 0x0a bytes 2013-06-10 05:17:51 +00:00
Eli Zaretskii
17dd30979f Minor cleanup in last commit in get_it_property.
src/xdisp.c (get_it_property): Use it->window instead of generating
 a Lisp object from it->w.
2013-06-10 07:36:06 +03:00
Aidan Gauland
fa4729064f Update Ehsell visual-commands documentation
* eshell.texi (Input/Output): Expand to cover new visual-command
options, eshell-visual-subcommands and eshell-visual-options.
Divide into separate Visual Commands and Redirection sections.
* eshell/em-term.el (eshell-visual-commands)
(eshell-visual-subcommands)
(eshell-visual-options): Add summary line to docstrings.  Add
cross-references.
2013-06-10 14:41:49 +12:00
Aidan Gauland
f71b3317bd Wrap long line from previous commit. 2013-06-10 14:35:58 +12:00
Glenn Morris
ff4871b986 * lisp/epa.el (epa-read-file-name): New function.
(epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.

* doc/misc/epa.texi (Cryptographic operations on files): Update epa-decrypt-file.

Fixes: debbugs:14510
2013-06-09 17:32:49 -07:00
Stephen Berman
2a97b47f08 * todos.el (todos-edit-done-item-comment): Rename from
todos-done-item-add-edit-or-delete-comment.
(todos-key-bindings-t): Use it.
2013-06-09 23:22:33 +02:00
Stephen Berman
d7a49dae50 * todos.el: Fix and improve item date string editing.
(todos-date-pattern): Make dayname an explicitly numbered group.
(todos-basic-edit-item-header): Set match for dayname and use it
to ensure attempting to edit day, month or year of a date header
containing a day name is a noop, simplifying and fixing buggy code.
2013-06-09 21:16:39 +02:00
Eli Zaretskii
ad257d4f6c Fix current-bidi-paragraph-direction wrt window pointer.
src/xdisp.c (compute_display_string_pos): When W is NULL, use the current
 buffer as the object to pass to get-char-property.
 (Fcurrent_bidi_paragraph_direction): Assign NULL to the window
 pointer member of the bidi iterator, since no window is pertinent
 to this function.
2013-06-09 19:49:07 +03:00
Eli Zaretskii
52fab9c9b8 Fix bug #14575 with window-specific overlays with line-prefix or wrap-prefix.
src/xdisp.c (get_it_property): If it->object is a buffer, pass to
 get-char-property the window that is being rendered, instead of
 the buffer, to support window-specific overlays.
2013-06-09 19:37:22 +03:00
Paul Eggert
bf77e2305f Merge from gnulib.
This incorporates:
2013-06-02 sig2str: port to C++
2013-05-29 c-ctype, regex, verify: port to gcc -std=c90 -pedantic
2013-06-09 08:59:30 -07:00
Glenn Morris
7cee6e79fd Auto-commit of generated files. 2013-06-09 06:19:08 -04:00
Aidan Gauland
04fcf1b047 Fix Eshell bug
* eshell/em-term.el (eshell-visual-command-p): Fix bug that
  causedoutput redirection to be ignored with visual commands.
2013-06-09 18:44:47 +12:00
Aidan Gauland
88b00caa0a Tidy module initialisation functions
* eshell/em-term.el (eshell-visual-command-p): New function.
(eshell-term-initialize): Move long lambda to separate function eshell-visual-command-p.
* eshell/em-dirs.el (eshell-dirs-initialise): Add missing #' to lambda.
* eshell/em-script.el (eshell-script-initialize): Add missing #' to lambda.
2013-06-09 18:39:40 +12:00
Stephen Berman
85ea34e22c * todos.el: Improve commentary.
(todos-item-end): Revert last change, since bug#14565 is now fixed.
2013-06-09 01:40:21 +02:00
Eli Zaretskii
5bf97bfc67 Fix bug #14575 with window-specific overlays with display props.
src/bidi.c (bidi_fetch_char): Accept additional argument, the window
 being displayed, and pass it to compute_display_string_pos.
 (bidi_level_of_next_char, bidi_resolve_explicit_1)
 (bidi_paragraph_init): All callers changed.
 src/xdisp.c (init_from_display_pos, init_iterator)
 (handle_single_display_spec, next_overlay_string)
 (get_overlay_strings_1, reseat_1, reseat_to_string)
 (push_prefix_prop, Fcurrent_bidi_paragraph_direction): Set
 bidi_it.w member from it->w.
 (compute_display_string_pos): Accept additional argument, the
 window being displayed, and pass it to Fget_char_property.
 src/dispextern.h (struct bidi_it): New member w, the window being
 displayed.
 (compute_display_string_pos): Adjust prototype.
2013-06-08 21:28:36 +03:00
Jan Djärv
b33f93eea9 Fix compilation issues for GNUStep and GLIB conflicts.
* configure.ac (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no.
(with_file_notification): Don't set to gfile if with_ns = yes.

* src/process.c (wait_reading_process_output): Check for NS before GLIB.
GLIB may be linked in due to rsvg, but ns_select must be called.

* src/xgselect.c (xg_select): Remove call to window_system_available
and g_main_context_pending at the top, so Gdk events (i.e. file
notify) are processed when Emacs is started with -nw.

* src/xgselect.c: Remove unneeded include xterm.h
2013-06-08 20:13:24 +02:00
Eli Zaretskii
1698f87abd Don't advertise unsupported features in nt/INSTALL.MSYS. 2013-06-08 18:01:45 +03:00
Leo Liu
fda741250b * progmodes/octave.el (octave-add-log-current-defun): New function.
(octave-mode): Set add-log-current-defun-function.
(octave-goto-function-definition): Do not move point if not found.
(octave-find-definition): Enhance to try subfunctions first.
2013-06-08 21:35:55 +08:00
Jan Djärv
5de0e01164 * xgselect.c (xg_select): Remove call to window_system_available
and g_main_context_pending at the top, so Gdk events (i.e. file
notify) are processed when Emacs is started with -nw.
2013-06-08 10:48:52 +02:00
Eli Zaretskii
1a312bf403 Minor tweak of nt/INSTALL.MSYS. 2013-06-08 06:38:46 +03:00
Glenn Morris
467f3b337c Improve previous bytecomp fix
* lisp/emacs-lisp/bytecomp.el (byte-compile-char-before)
(byte-compile-backward-char, byte-compile-backward-word):
Improve previous change, to handle non-explicit nil.
2013-06-07 18:35:47 -07:00
Glenn Morris
650645d50f ChangeLog fix 2013-06-07 20:56:22 -04:00