1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

110285 Commits

Author SHA1 Message Date
Dmitry Antipov
42926ec878 * font.c (Ffont_get_glyphs): Use convenient LGLYPH_NEW.
* ftfont.c (ftfont_shape_by_flt): Likewise.
* w32uniscribe.c (uniscribe_shape): Likewise.
2013-03-04 11:41:01 +04:00
Paul Eggert
39004030f6 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art. 2013-03-03 23:39:48 -08:00
Glenn Morris
cb05411f52 * files.el (inhibit-local-variables-regexps): Add .diff and .patch.
Fixes: debbugs:13862
2013-03-03 23:37:30 -08:00
Paul Eggert
f5572543da Fix encoding problem in javat-wy.el.
* admin/grammars/java-tags.wy (CHAR): Remove "('\u0000' to '\uffff')"
from summary, as this causes javat-wy.el to contain both a null byte
and a byte sequence that is not valid UTF-8, which is inconvenient.
* lisp/cedet/semantic/wisent/javat-wy.el: Regenerate.
2013-03-03 23:25:17 -08:00
Paul Eggert
f858ded230 Add and/or fix coding tags for refcard sources. 2013-03-03 18:39:05 -08:00
Glenn Morris
9450ac063c * emacs-lisp-intro.texi (Simple Extension): Fix typos. 2013-03-03 10:44:56 -08:00
Michael Albinus
eeb8473937 * tramp.texi (External methods): Tramp does not connect Android
devices by itself.
2013-03-03 12:47:20 +01:00
Michael Albinus
9a0f9ec39a * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
whether the "su" command is available on the device.
2013-03-03 11:31:01 +01:00
Paul Eggert
50d8b29da3 * bzrmerge.el (bzrmerge-apply): Omit Latin-1 char from diagnostic.
If there were a real need, it should be UTF-8 anyway.
2013-03-02 23:26:39 -08:00
Paul Eggert
7254ac084a Spelling fixes. 2013-03-02 22:40:21 -08:00
Glenn Morris
4aff132c63 * make-dist: Remove lzma (it's replaced by xz). 2013-03-02 18:43:30 -08:00
Glenn Morris
0273a42845 Merge from emacs-24; up to 2012-12-24T06:24:08Z!eggert@cs.ucla.edu 2013-03-02 18:39:57 -08:00
Glenn Morris
7002f0da70 Fix date of merged ChangeLog entry 2013-03-02 18:38:33 -08:00
Glenn Morris
cfe1c0af97 * emacs-lisp-intro.texi (defcustom): Fix typo. 2013-03-02 18:37:26 -08:00
Glenn Morris
2d7d23256f * emacs-lisp-intro.texi (Digression into C): Update example. 2013-03-02 18:34:48 -08:00
Glenn Morris
9bed73f343 * doc/lispref/objects.texi (Symbol Type): Fix typo. 2013-03-02 18:09:31 -08:00
Bill Wohler
ba8058d7d7 Merge from mh-e; up to 2012-01-03T02:14:40Z!lekktu@gmail.com. 2013-03-02 16:12:29 -08:00
Bill Wohler
91881c0722 Release MH-E version 8.5.
* mh-e.el (Version, mh-version): Update for release 8.5.
2013-03-02 16:04:12 -08:00
Bill Wohler
5a3cbc037f Release MH-E version 8.5.
* NEWS, MH-E-NEWS: Update for MH-E release 8.5.
2013-03-02 16:02:19 -08:00
Bill Wohler
fc0c5af838 * mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH): Update for
release 8.5. 

* mh-e.texi (Preface, Conventions, Getting Started)
(Using This Manual, Folder Selection, Viewing, Aliases)
(Identities, Speedbar, Menu Bar, Tool Bar, Scan Line Formats)
(Bug Reports, Mailing Lists, MH FAQ and Support, Getting MH-E): Update
URLs.
2013-03-02 15:20:11 -08:00
Bill Wohler
aef2281c76 Merge from trunk; up to 2013-03-02T21:05:52Z!eggert@cs.ucla.edu. 2013-03-02 14:55:12 -08:00
Paul Eggert
2db4137542 * filelock.c (lock_file): Don't access freed storage. 2013-03-02 13:05:52 -08:00
Paul Eggert
b5029e230d The lock for FILE is now .#FILE or .#-FILE.
The old approach, which fell back on DIR/.#FILE.0 through
DIR/.#FILE.9, had race conditions that could not be easily fixed.
If DIR/.#FILE is a non-symlink file, Emacs now does not create a
lock file for DIR/FILE; that is, DIR/FILE is no longer partly
protected by a lock if DIR/.#FILE is a non-symlink file ("partly"
because the locking mechanism was never reliable in that case).
This patch fixes this and other bugs discovered by a code
inspection that was prompted by
<http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00531.html>.
Also, this patch switches to .#-FILE (not .#FILE) on MS-Windows,
to avoid interoperability problems between the MS-Windows and
non-MS-Windows implementations.  MS-Windows and non-MS-Windows
instances of Emacs now ignore each others' locks.
* etc/NEWS: Document this.
* src/filelock.c (defined_WINDOWSNT): New constant.
(MAKE_LOCK_NAME, fill_in_lock_file_name):
Don't create DIR/.#FILE.0 through DIR/.#FILE.9.  Instead, create
DIR/.#FILE symlinks on non-MS-Windows hosts, and DIR/.#-FILE
regular files on MS-Windows hosts.
(MAKE_LOCK_NAME, unlock_file, Ffile_locked_p):
Use SAFE_ALLOCA to avoid problems with long file names.
(MAX_LFINFO): Now a local constant, not a global macro.
(IS_LOCK_FILE): Remove.
(lock_file_1): Don't inspect errno if symlink call succeeds;
that's not portable.
(lock_file): Document that this function can return if lock
creation fails.

Fixes: debbugs:13807
2013-03-02 12:41:53 -08:00
Glenn Morris
06b583dec7 Merge from emacs-24; up to 2012-12-23T17:06:58Z!eliz@gnu.org 2013-03-02 12:10:05 -08:00
Paul Eggert
81c23309e4 * textprop.c: Use bool for booleans.
(validate_interval_range, Fadd_text_properties)
(Fremove_text_properties): Prefer bool to int when either works.
2013-03-02 10:39:34 -08:00
Glenn Morris
c175d44072 Auto-commit of generated files. 2013-03-02 06:17:34 -05:00
Eli Zaretskii
18f2ac090d Protect against changes of interval tree when adding/removing text props.
src/textprop.c (Fadd_text_properties, Fremove_text_properties): If
 the interval tree changes as a side effect of calling
 modify_region, re-do processing starting from the call to
 validate_interval_range.  (Bug#13743)
2013-03-02 11:28:53 +02:00
Eli Zaretskii
c856b8d467 Revert last commit; fixed on emacs-24 branch instead. 2013-03-02 11:02:12 +02:00
Eli Zaretskii
474b43d90f Fix bug #13734 with errors in lisp.h macro expansion.
src/lisp.h (XPNTR) [!USE_LSB_TAG]: Fix parentheses nesting.
2013-03-02 10:19:45 +02:00
Andreas Schwab
b270d11649 Fixes: debbugs:13734
* lisp.h (XPNTR) [!USE_LSB_TAG]: Remove extra paren.
2013-03-02 08:48:18 +01:00
Bastien Guerry
8725b74640 Fix typo in comment (bug#13851).
Thanks to Reuben Thomas for reporting this.
2013-03-02 08:19:10 +01:00
Michael Albinus
c9400cdf0e * tramp.texi (External methods): Explain user name and host name
specification for "adb".
2013-03-01 22:14:59 +01:00
Michael Albinus
7d11fc2763 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
(tramp-adb-handle-process-file): Remove superfluous setting.
(tramp-adb-command-exit-status): Handle case that COMMAND is nil.
(tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
(tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2013-03-01 22:12:26 +01:00
Stefan Monnier
b5a5723d4e * lisp/textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
(ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
(ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
Use dict-key rather than dict-name for the error message.
2013-03-01 12:46:57 -05:00
Thierry Volpiatto
7944eaa336 * lisp/net/net-utils.el (net-utils-run-simple): Don't display-buffer
when reverting.

Fixes: debbugs:13831
2013-03-01 12:27:57 -05:00
Agustín Martín
325b66a6d1 textmodes/ispell.el: Expand hunspell affix-file paths. Improve debug messages printing.
* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
  Always expand affix-file before storing to protect against changed
  `default-directory'.
  (ispell-print-if-debug): Make sure message is printed at the end
  of the debug buffer.
2013-03-01 18:13:04 +01:00
Paul Eggert
89bd9d3685 Merge from gnulib.
2013-02-21 putenv: port better to native Windows
2013-02-18 extern-inline: avoid compilation error with HP-UX cc
2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv
2013-03-01 07:16:43 -08:00
Glenn Morris
fa4c60b8e4 Auto-commit of loaddefs files. 2013-03-01 07:17:43 -05:00
Glenn Morris
a4837536e2 Auto-commit of loaddefs files. 2013-03-01 06:17:35 -05:00
Glenn Morris
dba3cda3d2 NEWS copyedits 2013-03-01 00:24:44 -08:00
Michael Albinus
19dc8b9eb5 * NEWS: Fix Tramp "adb" entry. Extend list of discontinued Tramp methods. 2013-03-01 09:24:19 +01:00
Michael Albinus
adb7352b32 * tramp.texi (Inline methods): Remove "ssh1", "ssh2", "plink1"
and "plink2" entries.  "plink2" is obsolete for a long time.
(External methods): Remove "scp1" and "scp2" entries.
2013-03-01 09:16:13 +01:00
Michael Albinus
36a8b68b33 * net/tramp.el (tramp-obsolete-methods): New defconst.
(tramp-warned-obsolete-methods): New defvar.
(tramp-find-method): Check for obsolete methods.  Map them to a
replacement method if appropriate.

* net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
Remove methods.
(top): Remove completion functions for "scp1", "scp2", "ssh1",
"ssh2" and "plink1".
2013-03-01 09:13:53 +01:00
Dale Sedivec
4a83d19e56 * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function):
Return valid syntax-table property value when converting
quotes within text from string syntax to punctuation syntax.

Fixes: debbugs:13844
2013-02-28 22:43:57 -05:00
Dmitry Gutov
c19279e467 * etc/NEWS: Add entries for ruby-mode. 2013-03-01 02:18:25 +04:00
Juri Linkov
9d232fc451 * lisp/dired-aux.el (dired-diff): If file at point is a backup file,
use its original as the default value, and reverse the order
of arguments to the `diff' call.  Doc fix.

Fixes: debbugs:13772
2013-02-28 23:51:11 +02:00
Michael Albinus
779451da53 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
(tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
2013-02-28 20:33:03 +01:00
Michael Albinus
538d9b9439 * tramp.texi (External methods): Mention `tramp-adb-program'. 2013-02-28 20:29:41 +01:00
Agustín Martín
ef3761e3f4 Initial support for hunspell dictionaries auto-detection (Bug#13639)
* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
	Ask hunspell about available and default dictionaries.
	(ispell-parse-hunspell-affix-file): Extract relevant info from
	hunspell affix file.
	(ispell-hunspell-fill-dictionary-entry): Fill non-initialized
	`ispell-dictionary-alist' entry for given dictionary after info
	provided by `ispell-parse-hunspell-affix-file'.
	(ispell-hunspell-dict-paths-alist): New defvar to contain an alist
	of parsed hunspell dicts and associated affix files.
	(ispell-hunspell-dictionary-alist): New defvar to contain an alist
	of parsed hunspell dicts and associated parameters.
	(ispell-set-spellchecker-params):
	Call `ispell-find-hunspell-dictionaries' if hunspell and not
	previously done.
	(ispell-start-process):
	Call `ispell-hunspell-fill-dictionary-entry' for current
	dictionary if it is not initialized.

Some additional details about the implementation:

(ispell-hunspell-dict-paths-alist): Alist that contains a list of
  parsed hunspell dicts and associated affix files.

(ispell-hunspell-dictionary-alist): Alist of parsed hunspell dicts and
  associated parameters. It is initially just a list of found
  dictionaries except for the default dictionary where is filled with
  proper parameters.

When spellchecker is initialized by (ispell-set-spellchecker-params)
if the conditions: is hunspell, communication can be set to UTF-8 and
Emacs flavor supports [:alpha:] are matched installed hunspell
dictionaries are parsed and info passed to
`ispell-hunspell-dictionary-alist', either full for default dictionary
or just name for other dictionaries. These entries are used for
`ispell-dictionary-alist' if not overriden.

Before starting hunspell process in (ispell-start-process), if
`ispell-dictionary-alist' entry is not yet initialized
(ispell-hunspell-fill-dictionary-entry) is called to fill that entry
(and all pending entries using the same affix file) after info
extracted by (ispell-parse-hunspell-affix-file) from the associated
affix file.

hunspell process will then be started as usual. This delayed procedure
is used to avoid that in systems containing many hunspell dictionaries
all affix files are parsed (if there are many, time may be noticeable)
for just one used dictionary.
2013-02-28 20:01:34 +01:00
Stefan Monnier
930de676ac * lisp/imenu.el: Comment nitpicks. 2013-02-28 12:15:08 -05:00