]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years ago* lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bug
Grégoire Jadi [Thu, 13 Jun 2013 07:42:41 +0000 (09:42 +0200)]
* lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bug
with the proper address and pseudo-header.
* README.xwidget: Update the documentation to mention
`report-xwidget-bug'.

11 years agoMerge branch 'xwidget' of https://github.com/daimrod/xwidget-emacs into xwidget
Joakim Verona [Wed, 12 Jun 2013 21:37:36 +0000 (23:37 +0200)]
Merge branch 'xwidget' of https://github.com/daimrod/xwidget-emacs into xwidget

11 years agomerge upstream
Joakim Verona [Wed, 12 Jun 2013 21:08:43 +0000 (23:08 +0200)]
merge upstream

11 years agomention the git repo
Joakim Verona [Wed, 12 Jun 2013 21:04:28 +0000 (23:04 +0200)]
mention the git repo

11 years ago* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.
Grégoire Jadi [Wed, 12 Jun 2013 16:08:17 +0000 (09:08 -0700)]
* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.

Fixes: debbugs:14600
11 years agoMerge branch 'jave-xwidget' into xwidget
Grégoire Jadi [Wed, 12 Jun 2013 15:06:09 +0000 (17:06 +0200)]
Merge branch 'jave-xwidget' into xwidget

11 years ago* automated/reftex-tests.el (reftex-parse-from-file-test): Fix
Tassilo Horn [Wed, 12 Jun 2013 14:43:46 +0000 (16:43 +0200)]
* automated/reftex-tests.el (reftex-parse-from-file-test): Fix
test.

11 years ago* automated/reftex-tests.el: New test suite for reftex.
Tassilo Horn [Wed, 12 Jun 2013 12:49:25 +0000 (14:49 +0200)]
* automated/reftex-tests.el: New test suite for reftex.

11 years ago* textmodes/reftex-cite.el (reftex-cite-regexp-hist)
Tassilo Horn [Wed, 12 Jun 2013 12:42:35 +0000 (14:42 +0200)]
* textmodes/reftex-cite.el (reftex-cite-regexp-hist)
(reftex-citation-prompt, reftex-default-bibliography)
(reftex-bib-or-thebib, reftex-get-bibfile-list)
(reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
(reftex-bib-sort-author, reftex-bib-sort-year)
(reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
(reftex-extract-bib-entries-from-thebibliography)
(reftex-get-bibkey-default, reftex-get-bib-names)
(reftex-parse-bibtex-entry, reftex-get-bib-field)
(reftex-format-bib-entry, reftex-parse-bibitem)
(reftex-format-bibitem, reftex-do-citation)
(reftex-figure-out-cite-format, reftex-offer-bib-menu)
(reftex-restrict-bib-matches, reftex-extract-bib-file)
(reftex-insert-bib-matches, reftex-format-citation)
(reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
(reftex-create-bibtex-file): Add docstrings, mostly by converting
existing comments into docstrings.

11 years agoMerge from mainline.
Xue Fuqiao [Wed, 12 Jun 2013 12:12:47 +0000 (20:12 +0800)]
Merge from mainline.

11 years ago* lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
Xue Fuqiao [Wed, 12 Jun 2013 11:42:12 +0000 (19:42 +0800)]
* lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.

11 years agoMerge branch 'trunk' into xwidget
Joakim Verona [Wed, 12 Jun 2013 10:32:25 +0000 (12:32 +0200)]
Merge branch 'trunk' into xwidget

Conflicts:
src/Makefile.in
src/keyboard.c
src/termhooks.h

11 years agoAdd TAGS and leim/ja-dic to .gitignore
Andreas Schwab [Wed, 12 Jun 2013 10:31:24 +0000 (12:31 +0200)]
Add TAGS and leim/ja-dic to .gitignore

11 years ago* international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
Andreas Schwab [Wed, 12 Jun 2013 10:31:24 +0000 (12:31 +0200)]
* international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
for auto-save files.

11 years agoAuto-commit of generated files.
Glenn Morris [Wed, 12 Jun 2013 10:17:38 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate): Mark the end
Grégoire Jadi [Wed, 12 Jun 2013 09:16:44 +0000 (11:16 +0200)]
* src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate): Mark the end
of HAVE_XWIDGETS protection.

11 years ago* src/xwidget.c (syms_of_xwidget): Initialize Vxwidget_view_alist (typo).
Grégoire Jadi [Wed, 12 Jun 2013 08:17:17 +0000 (10:17 +0200)]
* src/xwidget.c (syms_of_xwidget): Initialize Vxwidget_view_alist (typo).

11 years ago* lisp/ido.el: Convert some function comments to basic doc strings
Glenn Morris [Wed, 12 Jun 2013 07:54:57 +0000 (00:54 -0700)]
* lisp/ido.el: Convert some function comments to basic doc strings

11 years ago* lisp/ido.el (ido-delete-ignored-files): Remove.
Glenn Morris [Wed, 12 Jun 2013 07:46:01 +0000 (00:46 -0700)]
* 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.

11 years ago* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)
Eyal Lotem [Wed, 12 Jun 2013 07:25:05 +0000 (00:25 -0700)]
* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)

Fixes: debbugs:13003
11 years ago* lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.
Glenn Morris [Wed, 12 Jun 2013 07:22:20 +0000 (00:22 -0700)]
* lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.

11 years agoRespect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)
Eyal Lotem [Wed, 12 Jun 2013 07:18:49 +0000 (00:18 -0700)]
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
11 years agoFix last change to octave.el
Leo Liu [Wed, 12 Jun 2013 02:58:03 +0000 (10:58 +0800)]
Fix last change to octave.el

11 years ago* progmodes/octave.el (inferior-octave-startup)
Leo Liu [Wed, 12 Jun 2013 02:37:38 +0000 (10:37 +0800)]
* 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.

11 years ago* lisp/help-fns.el (help-fns--compiler-macro): If the handler function is
Stefan Monnier [Wed, 12 Jun 2013 02:16:02 +0000 (22:16 -0400)]
* 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'.

11 years agolisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular layouts work...
Lars Magne Ingebrigtsen [Wed, 12 Jun 2013 01:38:23 +0000 (01:38 +0000)]
lisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular layouts work, too
(eww-tag-select): Implement <select>

11 years ago* src/fileio.c (expand_file_name): Doc fix.
Xue Fuqiao [Wed, 12 Jun 2013 01:12:59 +0000 (09:12 +0800)]
* src/fileio.c (expand_file_name): Doc fix.

11 years agoFirst part of Daniel Hackney's patch to package.el.
Stefan Monnier [Wed, 12 Jun 2013 00:49:33 +0000 (20:49 -0400)]
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.

11 years ago* lisp/vc/vc.el (vc-deduce-fileset): Change error message.
Stefan Monnier [Tue, 11 Jun 2013 22:14:30 +0000 (18:14 -0400)]
* lisp/vc/vc.el (vc-deduce-fileset): Change error message.
(vc-read-backend): New function.
(vc-next-action): Use it.

11 years ago* lisp/subr.el (function-arity): Remove (mistakenly added).
Stefan Monnier [Tue, 11 Jun 2013 21:53:40 +0000 (17:53 -0400)]
* lisp/subr.el (function-arity): Remove (mistakenly added).

Fixes: debbugs:14590
11 years ago* lisp/progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
Stefan Monnier [Tue, 11 Jun 2013 21:38:35 +0000 (17:38 -0400)]
* 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.

11 years ago* lisp/emacs-lisp/generic.el (generic--normalise-comments)
Stefan Monnier [Tue, 11 Jun 2013 21:26:00 +0000 (17:26 -0400)]
* 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.

11 years ago* src/xwidget.c: Prefix all Lisp keywords on the C side by QC (standard
Grégoire Jadi [Tue, 11 Jun 2013 21:05:18 +0000 (23:05 +0200)]
* src/xwidget.c: Prefix all Lisp keywords on the C side by QC (standard
convention).

This is done especially for Qtitle which is used here as a keyword but
which is also declared in frame.c and used as a regular symbol.

11 years agoTickle glib by waiting for Emacs itself, not for process 0.
Paul Eggert [Tue, 11 Jun 2013 18:34:06 +0000 (11:34 -0700)]
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
11 years ago--without-all should imply --with-file-notification=no.
Paul Eggert [Tue, 11 Jun 2013 18:05:05 +0000 (11:05 -0700)]
--without-all should imply --with-file-notification=no.

* configure.ac (with_file_notification): Default to $with_features.

Fixes: debbugs:14569
11 years agolisp-mode font-lock fox for bug#14574
Glenn Morris [Tue, 11 Jun 2013 18:00:27 +0000 (14:00 -0400)]
lisp-mode font-lock fox for bug#14574

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
Prettify after setting font-lock-defaults.

11 years agoFix typos.
Juanma Barranquero [Tue, 11 Jun 2013 16:51:12 +0000 (18:51 +0200)]
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.

11 years agoRemove old code related to GOOCANVAS and CLUTTER.
Grégoire Jadi [Tue, 11 Jun 2013 15:22:47 +0000 (17:22 +0200)]
Remove old code related to GOOCANVAS and CLUTTER.

* configure.ac: Remove options to enable CLUTTER and GOOCANVAS support.
* src/Makefile.in: Remove CLUTTER_FLAGS and CLUTTER_LIBS
* src/xwidget.c: Remove code protected by preprocessor conditionals.

11 years ago* lisp/xwidget.el: Fix some warnings raised by the byte-compiler.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:47 +0000 (15:14 +0200)]
* lisp/xwidget.el: Fix some warnings raised by the byte-compiler.

11 years ago* lisp/xwidget-test.el: Add missing provide.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:47 +0000 (15:14 +0200)]
* lisp/xwidget-test.el: Add missing provide.

11 years ago* src/xwidget.c (Fmake_xwidget): Add a docstring and add BUFFER as an optional parameter.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:43 +0000 (15:14 +0200)]
* src/xwidget.c (Fmake_xwidget): Add a docstring and add BUFFER as an optional parameter.

The docstring now lists the types accepted.
The GCPROtection has also been removed because it wasn't necessary (no
call to Feval/eval_sub either directly or indirectly).

(syms_of_xwidget): Add a comment to remind us to update the docstring of
`Fmake_xwidget' if new types are added.

11 years agoSmall fixes
Grégoire Jadi [Tue, 11 Jun 2013 13:12:58 +0000 (15:12 +0200)]
Small fixes

* lisp/xwidget.el: Do some cosmetic changes.

Align expressions, remove some whitespaces, remove duplicated provide,
replace (if foo foo bar) by (or foo bar)
* src/xwidget.c (Fmake_xwidget): Cosmetic changes and fix a comment.
* README.xwidget: Fix some typos.

11 years ago* lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as
Stefan Monnier [Tue, 11 Jun 2013 12:51:18 +0000 (08:51 -0400)]
* lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as
default for Elisp files.

11 years agoMake the example more intuitive.
Xue Fuqiao [Tue, 11 Jun 2013 11:37:56 +0000 (19:37 +0800)]
Make the example more intuitive.

* doc/lispref/files.texi (File Name Expansion): Make the example more
  intuitive.

11 years agolisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rot
Albert Krewinkel [Tue, 11 Jun 2013 07:32:25 +0000 (07:32 +0000)]
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.

11 years ago* doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
Glenn Morris [Tue, 11 Jun 2013 06:42:15 +0000 (23:42 -0700)]
* doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
(Branches): Put back milder version of pre 2013-06-07 text.

11 years ago* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
Glenn Morris [Tue, 11 Jun 2013 06:36:06 +0000 (23:36 -0700)]
* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
although define-derived-mode was doing this anyway.

Fixes: debbugs:14583
11 years ago* keyboard.c: Don't use PROP (...) as an lvalue.
Paul Eggert [Tue, 11 Jun 2013 04:15:49 +0000 (21:15 -0700)]
* 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.

11 years agolisp/gnus/eww.el (eww-tag-input): Support password fields
Lars Magne Ingebrigtsen [Tue, 11 Jun 2013 03:09:59 +0000 (03:09 +0000)]
lisp/gnus/eww.el (eww-tag-input): Support password fields
(eww-submit): Support POST

11 years agoSpelling fixes.
Paul Eggert [Mon, 10 Jun 2013 23:02:33 +0000 (16:02 -0700)]
Spelling fixes.

11 years agolisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms
Lars Magne Ingebrigtsen [Mon, 10 Jun 2013 22:28:35 +0000 (22:28 +0000)]
lisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms

11 years agolisp/gnus/eww.el (eww-tag-input): Implement submit buttons
Lars Magne Ingebrigtsen [Mon, 10 Jun 2013 22:12:47 +0000 (22:12 +0000)]
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

11 years agoDocumentation fix for 'ls' and hard links.
Paul Eggert [Mon, 10 Jun 2013 20:26:20 +0000 (13:26 -0700)]
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.

11 years agoFix ChangeLog typos and whitespace.
Juanma Barranquero [Mon, 10 Jun 2013 14:58:52 +0000 (16:58 +0200)]
Fix ChangeLog typos and whitespace.

11 years agolisp/allout.el: Fix make-variable-buffer-local call.
Juanma Barranquero [Mon, 10 Jun 2013 14:37:02 +0000 (16:37 +0200)]
lisp/allout.el: Fix make-variable-buffer-local call.

11 years agolisp/gnus/eww.el: Add form support; Make form submission work; Support POST
Lars Magne Ingebrigtsen [Mon, 10 Jun 2013 14:11:01 +0000 (14:11 +0000)]
lisp/gnus/eww.el: Add form support; Make form submission work; Support POST

11 years agolisp/gnus/sieve.el: Fix handling of PORT parameter, quitting
Albert Krewinkel [Mon, 10 Jun 2013 11:46:27 +0000 (11:46 +0000)]
lisp/gnus/sieve.el: Fix handling of PORT parameter, quitting

11 years ago* doc/lispref/files.texi (File Attributes): Fix typo.
Xue Fuqiao [Mon, 10 Jun 2013 11:19:12 +0000 (19:19 +0800)]
* doc/lispref/files.texi (File Attributes): Fix typo.

11 years agodoc/misc/epa.texi: Revert last bogus change
Katsumi Yamaoka [Mon, 10 Jun 2013 05:22:52 +0000 (05:22 +0000)]
doc/misc/epa.texi: Revert last bogus change

11 years agolisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7...
Roy Hashimoto [Mon, 10 Jun 2013 05:17:51 +0000 (05:17 +0000)]
lisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7 regexps to match messages with 0x0a bytes

11 years agoMinor cleanup in last commit in get_it_property.
Eli Zaretskii [Mon, 10 Jun 2013 04:36:06 +0000 (07:36 +0300)]
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.

11 years agoUpdate Ehsell visual-commands documentation
Aidan Gauland [Mon, 10 Jun 2013 02:41:49 +0000 (14:41 +1200)]
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.

11 years agoWrap long line from previous commit.
Aidan Gauland [Mon, 10 Jun 2013 02:35:58 +0000 (14:35 +1200)]
Wrap long line from previous commit.

11 years ago* lisp/epa.el (epa-read-file-name): New function.
Glenn Morris [Mon, 10 Jun 2013 00:32:49 +0000 (17:32 -0700)]
* 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
11 years agoFix current-bidi-paragraph-direction wrt window pointer.
Eli Zaretskii [Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)]
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.

11 years agoFix bug #14575 with window-specific overlays with line-prefix or wrap-prefix.
Eli Zaretskii [Sun, 9 Jun 2013 16:37:22 +0000 (19:37 +0300)]
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.

11 years agoMerge from gnulib.
Paul Eggert [Sun, 9 Jun 2013 15:59:30 +0000 (08:59 -0700)]
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

11 years agoMinor doc fix.
Xue Fuqiao [Sun, 9 Jun 2013 11:15:54 +0000 (19:15 +0800)]
Minor doc fix.

* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
* lisp/vc/vc-hooks.el (vc-stay-local): Doc fix.
* doc/emacs/vc1-xtra.texi (CVS Options): Fix the default value of
  `vc-cvs-stay-local'.

11 years agoAuto-commit of generated files.
Glenn Morris [Sun, 9 Jun 2013 10:19:08 +0000 (06:19 -0400)]
Auto-commit of generated files.

11 years ago* doc/emacs/vc1-xtra.texi (Revision Tags): Add a cross reference.
Xue Fuqiao [Sun, 9 Jun 2013 09:20:49 +0000 (17:20 +0800)]
* doc/emacs/vc1-xtra.texi (Revision Tags): Add a cross reference.

11 years agoFix Eshell bug
Aidan Gauland [Sun, 9 Jun 2013 06:44:47 +0000 (18:44 +1200)]
Fix Eshell bug

* eshell/em-term.el (eshell-visual-command-p): Fix bug that
  causedoutput redirection to be ignored with visual commands.

11 years agoTidy module initialisation functions
Aidan Gauland [Sun, 9 Jun 2013 06:39:40 +0000 (18:39 +1200)]
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.

11 years agoFix bug #14575 with window-specific overlays with display props.
Eli Zaretskii [Sat, 8 Jun 2013 18:28:36 +0000 (21:28 +0300)]
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.

11 years agoFix compilation issues for GNUStep and GLIB conflicts.
Jan Djärv [Sat, 8 Jun 2013 18:13:24 +0000 (20:13 +0200)]
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

11 years agoDon't advertise unsupported features in nt/INSTALL.MSYS.
Eli Zaretskii [Sat, 8 Jun 2013 15:01:45 +0000 (18:01 +0300)]
Don't advertise unsupported features in nt/INSTALL.MSYS.

11 years ago* progmodes/octave.el (octave-add-log-current-defun): New function.
Leo Liu [Sat, 8 Jun 2013 13:35:55 +0000 (21:35 +0800)]
* 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.

11 years ago* xgselect.c (xg_select): Remove call to window_system_available
Jan Djärv [Sat, 8 Jun 2013 08:48:52 +0000 (10:48 +0200)]
* 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.

11 years agoMinor tweak of nt/INSTALL.MSYS.
Eli Zaretskii [Sat, 8 Jun 2013 03:38:46 +0000 (06:38 +0300)]
Minor tweak of nt/INSTALL.MSYS.

11 years agoImprove previous bytecomp fix
Glenn Morris [Sat, 8 Jun 2013 01:35:47 +0000 (18:35 -0700)]
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.

11 years agoChangeLog fix
Glenn Morris [Sat, 8 Jun 2013 00:56:22 +0000 (20:56 -0400)]
ChangeLog fix

11 years ago* lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior.
Stefan Monnier [Fri, 7 Jun 2013 22:58:35 +0000 (18:58 -0400)]
* lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior.
(smie--opener/closer-at-point): New function.
(smie--matching-block-data): Use it.  Don't match from right after an
opener or right before a closer.  Obey smie-blink-matching-inners.
Don't signal a mismatch for repeated inners like "switch..case..case".

11 years ago* maintaining.texi (Branches): Remove text copied from other sources.
Xue Fuqiao [Fri, 7 Jun 2013 14:00:27 +0000 (22:00 +0800)]
* maintaining.texi (Branches): Remove text copied from other sources.

11 years ago* progmodes/octave.el (octave-function-header-regexp): Fix.
Leo Liu [Fri, 7 Jun 2013 13:00:47 +0000 (21:00 +0800)]
* progmodes/octave.el (octave-function-header-regexp): Fix.
(octave-help-mode-finish-hook, octave-help-mode-finish):
Remove.  Just use temp-buffer-show-hook.

Fixes: debbugs:14570
11 years ago* newcomment.el (comment-search-backward): Revert last change.
Leo Liu [Fri, 7 Jun 2013 11:48:28 +0000 (19:48 +0800)]
* newcomment.el (comment-search-backward): Revert last change.

* emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.

* progmodes/octave.el (octave-mode): Set comment-use-global-state
to t.  (Bug#14303)

Fixes: debbugs:14434 debbugs:14303
11 years agoFix "make TAGS" on MS-Windows.
Eli Zaretskii [Fri, 7 Jun 2013 09:26:02 +0000 (12:26 +0300)]
Fix "make TAGS" on MS-Windows.

 lisp/Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
 through xargs, to avoid failure due to MS-Windows limitations on
 command-line length.

 src/Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files.
 (ctagsfiles3): New variable, includes only *.m files.
 (TAGS): Use an explicit language name in the regular expressions,
 to avoid transformation of '/SOMETHING' by MSYS to
 'c:\MSYS\SOMETHING'.

11 years agoMinor improvements in nt/INSTALL.MSYS instructions.
Eli Zaretskii [Fri, 7 Jun 2013 08:31:53 +0000 (11:31 +0300)]
Minor improvements in nt/INSTALL.MSYS instructions.

 nt/INSTALL.MSYS: mingw-get is not a GUI program (yet).
 msys-automake is not suitable for MinGW builds.  Mention the
 --enable-locallisppath switch to msysconfig.sh.  Suggested by
 ׃scar Fuentes <ofv@wanadoo.es>.

11 years agoFix ChangeLog entry of last commit.
Eli Zaretskii [Fri, 7 Jun 2013 08:10:44 +0000 (11:10 +0300)]
Fix ChangeLog entry of last commit.

11 years agoFix bug #14513 with --enable-locallisppath not working on MS-Windows.
Richard Copley [Fri, 7 Jun 2013 08:08:29 +0000 (11:08 +0300)]
Fix bug #14513 with --enable-locallisppath not working on MS-Windows.

 Makefile.in (msys_to_w32): Modify to support d:\foo file names.
 (msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape): New
 variables.
 (epaths-force-w32): Use them.

 epaths.nt (PATH_SITELOADSEARCH): Fix commentary.

 epaths.in: Fix commentary to PATH_SITELOADSEARCH.

11 years ago* admin/notes/bzr: Finally got the right locations.conf syntax
Glenn Morris [Fri, 7 Jun 2013 03:41:10 +0000 (20:41 -0700)]
* admin/notes/bzr: Finally got the right locations.conf syntax

11 years agoFix typos.
Juanma Barranquero [Fri, 7 Jun 2013 03:23:57 +0000 (05:23 +0200)]
Fix typos.

11 years ago* admin/notes/bzr (Commit emails): Tweak previous.
Glenn Morris [Fri, 7 Jun 2013 03:19:29 +0000 (20:19 -0700)]
* admin/notes/bzr (Commit emails): Tweak previous.

11 years ago* admin/notes/bzr (Commit emails): Previous did not work, try again.
Glenn Morris [Fri, 7 Jun 2013 02:58:52 +0000 (19:58 -0700)]
* admin/notes/bzr (Commit emails): Previous did not work, try again.

11 years ago* admin/notes/bzr (Commit emails): More details.
Glenn Morris [Fri, 7 Jun 2013 02:55:58 +0000 (19:55 -0700)]
* admin/notes/bzr (Commit emails): More details.

11 years ago* admin/notes/bzr (Commit emails): New section.
Glenn Morris [Fri, 7 Jun 2013 02:40:15 +0000 (19:40 -0700)]
* admin/notes/bzr (Commit emails): New section.

11 years agognus-ems.el (gnus-image-type-available-p): Test `display-images-p' before `image...
Ted Zlatanov [Thu, 6 Jun 2013 22:18:53 +0000 (22:18 +0000)]
gnus-ems.el (gnus-image-type-available-p): Test `display-images-p' before `image-type-available-p'

11 years ago* lisp/font-lock.el (lisp-font-lock-keywords-2): Treat user-error like error
Glenn Morris [Thu, 6 Jun 2013 21:35:45 +0000 (17:35 -0400)]
* lisp/font-lock.el (lisp-font-lock-keywords-2): Treat user-error like error

11 years ago* prog-mode.el: Comment fixes.
Glenn Morris [Thu, 6 Jun 2013 21:32:13 +0000 (17:32 -0400)]
* prog-mode.el: Comment fixes.

11 years agobytecomp fix for bug#14565
Glenn Morris [Thu, 6 Jun 2013 21:04:43 +0000 (17:04 -0400)]
bytecomp fix for bug#14565

* lisp/emacs-lisp/bytecomp.el (byte-compile-char-before)
(byte-compile-backward-char, byte-compile-backward-word):
Handle explicit nil arguments.

11 years agoImprove the fix for bug #14558.
Eli Zaretskii [Thu, 6 Jun 2013 16:35:31 +0000 (19:35 +0300)]
Improve the fix for bug #14558.

 src/xdisp.c (note_mouse_highlight): When mouse-highlight is off,
 still need to set the mouse pointer shape and activate help-echo.

11 years agoA few porting etc. fixes for the new file monitor code.
Paul Eggert [Thu, 6 Jun 2013 07:04:35 +0000 (00:04 -0700)]
A few porting etc. fixes for the new file monitor code.

See the thread containing
<http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>.
* gfilenotify.c (dir_monitor_callback, Fgfile_add_watch)
(Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer.
(dir_monitor_callback, Fgfile_rm_watch):
Use assq_no_quit instead of Fassoc, for speed.
(dir_monitor_callback, Fgfile_rm_watch):
eassert that the monitor is a fixnum.
(dir_monitor_callback): No need for CDR_SAFE.
Simplify building of lisp with alternative tails.
(Fgfile_add_watch, Fgfile_rm_watch):
Do not assume glib functions set errno reliably on failure.
(Fgfile_add_watch): Check that the monitor survives the XIL trick,
and signal an error otherwise.
(Fgfile_rm_watch): Prefer CONSP to !NILP.
Use Fdelq instead of Fdelete, for speed.