Commit graph

111389 commits

Author SHA1 Message Date
Xue Fuqiao
5f9dbd7a12 * lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix. 2013-06-12 19:42:12 +08:00
Andreas Schwab
e831ed3d05 Add TAGS and leim/ja-dic to .gitignore 2013-06-12 12:31:24 +02:00
Andreas Schwab
94df41ab95 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
for auto-save files.
2013-06-12 12:31:24 +02:00
Glenn Morris
0922061553 Auto-commit of generated files. 2013-06-12 06:17:38 -04:00
Glenn Morris
84d6f46535 * lisp/ido.el: Convert some function comments to basic doc strings 2013-06-12 00:54:57 -07:00
Glenn Morris
001809f678 * lisp/ido.el (ido-delete-ignored-files): Remove.
(ido-wide-find-dirs-or-files, ido-make-file-list-1):
Go back to calling ido-ignore-item-p directly.

Doesn't seem worth looping over files twice in ido-make-file-list-1.
2013-06-12 00:46:01 -07:00
Eyal Lotem
08c73ed2a5 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)
Fixes: debbugs:13003
2013-06-12 00:25:05 -07:00
Glenn Morris
a7f3fecc54 * lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib. 2013-06-12 00:22:20 -07:00
Eyal Lotem
834b5ded7a Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)
* lisp/ido.el (ido-delete-ignored-files): New function,
split from ido-make-file-list-1.
(ido-wide-find-dirs-or-files): Maybe ignore files. 
(ido-make-file-list-1): Use ido-delete-ignored-files.

Fixes: debbugs:13003
2013-06-12 00:18:49 -07:00
Leo Liu
cbb3eb522d Fix last change to octave.el 2013-06-12 10:58:03 +08:00
Leo Liu
daabf15ad8 * progmodes/octave.el (inferior-octave-startup)
(inferior-octave-completion-table)
(inferior-octave-track-window-width-change)
(octave-eldoc-function-signatures, octave-help)
(octave-find-definition): Use single quoted strings.
(inferior-octave-startup-args): Change default value.
(inferior-octave-startup): Do not hard code "-i" and
"--no-line-editing".
(inferior-octave-resync-dirs): Add optional arg NOERROR.
(inferior-octave-directory-tracker): Use it.
(octave-goto-function-definition): Robustify.
(octave-help): Support highlighting operators in 'See also'.
(octave-find-definition): Find subfunctions only in Octave mode.
2013-06-12 10:37:38 +08:00
Stefan Monnier
cf4e5178a3 * lisp/help-fns.el (help-fns--compiler-macro): If the handler function is
named, then put a link to it.
* lisp/help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
* lisp/emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
(cl-typep): Use it.
(cl-eval-when): Simplify debug spec.
(cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
compiler-macro function instead of setting `compiler-macro-file'.
2013-06-11 22:16:02 -04:00
Lars Magne Ingebrigtsen
9ddf23f075 lisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular layouts work, too
(eww-tag-select): Implement <select>
2013-06-12 01:38:23 +00:00
Xue Fuqiao
d177e21300 * src/fileio.c (expand_file_name): Doc fix. 2013-06-12 09:12:59 +08:00
Stefan Monnier
f56be016d5 First part of Daniel Hackney's patch to package.el.
* lisp/emacs-lisp/package.el: Use defstruct.
(package-desc): New, main struct.
(package--bi-desc, package--ac-desc): New structs, used to describe the
format in external files.
(package-desc-vers): Replace with package-desc-version accessor.
(package-desc-doc): Replace with package-desc-summary accessor.
(package-activate-1): Remove `package' arg since the pkg-vec now
includes the name.
(define-package): Use package-desc-from-define.
(package-unpack-single): Change file-name arg to be a symbol.
(package--add-to-archive-contents): Use package-desc-create and new
accessor functions to package--ac-desc.
(package-buffer-info, package-tar-file-info): Return a package-desc.
(package-install-from-buffer): Remove `type' argument.  Change pkg-info
arg to be a package-desc.
(package-install-file): Adjust accordingly.  Use \' to match EOS.
(package--from-builtin): New function.
(describe-package-1, package-menu--generate): Use it.
(package--make-autoloads-and-compile): Change name arg to be a symbol.
(package-generate-autoloads): Idem and return the name of the file.
* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
Change pkg-info arg to be a package-desc.
Use package-make-ac-desc.
(package-upload-file): Use \' to match EOS.
* lisp/finder.el (finder-compile-keywords): Use package-make-builtin.
2013-06-11 20:49:33 -04:00
Stefan Monnier
931a2762fd * lisp/vc/vc.el (vc-deduce-fileset): Change error message.
(vc-read-backend): New function.
(vc-next-action): Use it.
2013-06-11 18:14:30 -04:00
Stefan Monnier
5a3eb0c6e4 * lisp/subr.el (function-arity): Remove (mistakenly added).
Fixes: debbugs:14590
2013-06-11 17:53:40 -04:00
Stefan Monnier
e3eb1bb7d9 * lisp/progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
(prolog-font-lock-keywords): Use regexp-opt instead.
Don't manually highlight strings.
(prolog-mode-variables): Simplify comment-start-skip.
(prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
2013-06-11 17:38:35 -04:00
Stefan Monnier
31119d6305 * lisp/emacs-lisp/generic.el (generic--normalise-comments)
(generic-set-comment-syntax, generic-set-comment-vars): New functions.
(generic-mode-set-comments): Use them.
(generic-bracket-support): Use setq-local.
(generic-make-keywords-list): Declare obsolete.
2013-06-11 17:26:00 -04: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
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