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

102187 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
3e79eb87b7 (auth-source): Require to avoid problems with binding variables.
Also clean up some unused autoloads.

Fixes: debbugs:9298
2011-08-18 00:02:49 +02:00
Chong Yidong
72ad093b97 Remove aborts from internal_condition_case*.
* src/eval.c (internal_condition_case, internal_condition_case_1)
(internal_condition_case_2, internal_condition_case_n): Remove
unnecessary aborts.

Fixes: debbugs:9081
2011-08-17 17:40:13 -04:00
Lars Magne Ingebrigtsen
57173b965f (network-stream-open-starttls): Support using starttls.el without using gnutls-cli. 2011-08-17 22:50:33 +02:00
Juri Linkov
02b404de99 * lisp/progmodes/grep.el (rgrep): Handle the case when `grep-find-command'
is a cons cell.

Fixes: debbugs:9278
2011-08-17 20:11:49 +03:00
Eli Zaretskii
35774242f9 Fix bug #9311 with loading on MS-Windows .elc files in root directories.
src/lread.c (Fload) [DOS_NT]: If `openp' returns -2, but the file
 has no `load' handler, try opening the file locally.
2011-08-17 11:50:08 +03:00
Martin Rudalics
8c9177f2b4 In display-buffer-pop-up-frame make frame with buffer to display current.
* window.el (display-buffer-pop-up-frame): Run frame creation
function with BUFFER current (as special-display-popup-frame
does).  Reported by Drew Adams.
2011-08-17 08:50:31 +02:00
Daiki Ueno
3644a0ab08 Simplify GnuPG group expansion using epg-expand-group.
* epa-mail.el: Simplify GnuPG group expansion using
epg-expand-group.
(epa-mail-group-alist, epa-mail-group-modtime)
(epa-mail-gnupg-conf-file, epa-mail-parse-groups)
(epa-mail-sync-groups, epa-mail-expand-recipient-1)
(epa-mail-expand-recipients-2, epa-mail-expand-recipients):
Remove.
2011-08-17 10:31:05 +09:00
Katsumi Yamaoka
39397fad3a nndraft.el (nndraft-update-unread-articles): Don't send delayed articles. 2011-08-17 00:10:46 +00:00
Feng Li
7c643369dd * calc/calc-ext.el (math-defintegral-2): Remove nested backquote. 2011-08-16 17:33:57 -05:00
Ken Brown
db76dd852e * src/gmalloc.c: Expand comment. 2011-08-16 16:31:32 -04:00
Alan Mackenzie
9c4aeabf55 progmodes/cc-engine.el (c-state-cache-non-literal-place): Correct to
avoid the insides of macros.
2011-08-16 20:10:40 +00:00
Eli Zaretskii
b215eee57d Fix cursor positioning at end of buffer under bidi display.
src/xdisp.c (set_cursor_from_row): Don't accept a previous candidate
 if it fails the cursor_row_p test.  Fixes cursor positioning at ZV.
2011-08-16 17:28:19 +03:00
Ken Brown
a4579d332d Fix memory allocation problems in Cygwin build (Bug#9273).
* src/gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): New
variables.
(malloc_initialize_1) [CYGWIN]: Prepare for reinitializing the
dumped emacs.
(_free_internal_nolock) [CYGWIN]: Ignore requests to free storage
in the static heap.
[CYGWIN] (special_realloc): New function.
(_realloc_internal_nolock) [CYGWIN]: Use the new function on
requests to realloc storage in the static heap.

* src/unexcw.c ( __malloc_initialized): Declare external variable.
(fixup_executable): Force the dumped emacs to reinitialize malloc.
2011-08-16 09:27:12 -04:00
Eli Zaretskii
9adfcd0bf5 Improve documentation of `special' modes.
doc/lispref/modes.texi (Major Mode Conventions): Improve the documentation
 of `mode-class' `special' modes.
2011-08-16 11:40:31 +03:00
Eli Zaretskii
1086287381 Document the new "mirroring" Unicode character property.
src/nonascii.texi (Character Properties): Document the `mirroring'
 property.  Add index entries.
2011-08-16 11:26:46 +03:00
Eli Zaretskii
1ea897d542 Improve documentation of regexp search for categories.
doc/lispref/searching.texi (Regexp Backslash): Document how to display
 existing categories.  Mention the possibility of adding
 categories, and add an xref to where this is described.  Add an
 index entry.
 doc/lispref/syntax.texi (Categories): Add an example of defining a new
 category and category table.
2011-08-16 10:53:33 +03:00
Bastien Guerry
5b409b390c Fix Org ChangeLog entries and remove arch-tag. 2011-08-16 09:13:02 +02:00
Richard M. Stallman
04963aa8ff epa-mail.el handles GnuPG groups. 2011-08-16 00:04:27 -04:00
Richard M. Stallman
177549d04c Add rmail-epa-decrypt command. 2011-08-15 22:29:15 -04:00
Richard M. Stallman
44fede4d8e Fix previous change. 2011-08-15 22:18:10 -04:00
Richard M. Stallman
fe38beefad Fix previous change. 2011-08-15 22:06:32 -04:00
Richard M. Stallman
3a99bf64df Bug fix for finding coding system. New COPY-FUNCTION feature
for epa-decrypt-region.
2011-08-15 21:40:26 -04:00
Paul Eggert
3ebec5517e * bidi.c (bidi_initialize): Remove unused local. 2011-08-15 11:54:18 -07:00
Eli Zaretskii
474a84653b Use uniprop tables instead of biditype.h and bidimirror.h.
src/bidi.c (bidi_initialize): Use uniprop_table instead of including
 biditype.h and bidimirror.h.
 src/biditype.h: File removed.
 src/bidimirror.h: File removed.
 src/deps.mk (bidi.o): Remove biditype.h and
 bidimirror.h.
 src/makefile.w32-in ($(BLD)/bidi.$(O)): Remove biditype.h and
 bidimirror.h.
 src/dispextern.h: Fix a typo in the comment to bidi_type_t.
 src/chartab.c: Improve commentary for the uniprop_table API.

 admin/unidata/bidimirror.awk: File removed.
 admin/unidata/biditype.awk: File removed.
 admin/unidata/makefile.w32-in (all): Remove src/biditype.h and
 src/bidimirror.h.
 (../../src/biditype.h, ../../src/bidimirror.h): Deleted.
 admin/unidata/Makefile.in (all): Remove src/biditype.h and
 src/bidimirror.h.
 (../../src/biditype.h, ../../src/bidimirror.h): Deleted.
2011-08-15 20:47:25 +03:00
Stefan Monnier
934eacb93d * lisp/minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
and "a2b" to "ab" for `prefix'.
2011-08-15 12:10:39 -04:00
Bastien Guerry
ce57c2fe30 Add org.texi and orgcard.tex for Org version 7.7. 2011-08-15 17:00:34 +02:00
Bastien Guerry
5cb0563318 Fix misformatted ChangeLog entries for Org. 2011-08-15 16:56:47 +02:00
Bastien Guerry
d99aebc0c3 lisp/org/ChangeLog: Fix the ChangeLog entry of Ethan Ligon. 2011-08-15 16:34:17 +02:00
Bastien Guerry
d4423e17ee lisp/org/ChangeLog: add "(tiny change)" where required.
Thanks to Glenn Morris for pointing out possible problems.
2011-08-15 16:32:07 +02:00
Glenn Morris
85949b6cb5 Auto-commit of loaddefs files. 2011-08-15 06:21:47 -04:00
Eli Zaretskii
3241331411 Support RLE/RLO/LRE/LRO for determining paragraph direction.
src/bidi.c (bidi_paragraph_init): Support zero value of
 bidi_ignore_explicit_marks_for_paragraph_level.
2011-08-15 11:16:09 +03:00
Eli Zaretskii
9fd8be0026 Another part of fixing bug #9296 with vertical cursor motion.
src/xdisp.c (move_it_in_display_line_to): Don't reset pixel
 coordinates of the iterator when restoring from ppos_it.
2011-08-15 09:44:48 +03:00
Chong Yidong
de148fee1a Minor fix to last change. 2011-08-14 14:13:35 -04:00
Chong Yidong
d024fb4ec9 Avoid deleting ibuffer named filters by default.
* lisp/ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
filter groups.
(ibuffer-included-in-filter-p-1): Use it.  Suggested by Noam
Postavsky.

Fixes: debbugs:8804
2011-08-14 14:08:20 -04:00
Kenichi Handa
5cf2b69bdb Avoid crash with invalid default-process-coding-system.
* src/process.c (create_process): Call setup_process_coding_systems
after the pid of the process is set to -1.
2011-08-14 13:51:08 -04:00
Eli Zaretskii
daf17d00fb Fix bug #9296 with vertical cursor motion on images.
src/xdisp.c (move_it_in_display_line_to): Don't invoke
 IT_RESET_X_ASCENT_DESCENT when iterator position was restored from
 ppos_it.  Fixes vertical cursor motion when line beginning is
 covered by an image.
2011-08-14 14:10:19 +03:00
Jan Djärv
08e3161a51 Fix that executing applescript may hang emacs uninterruptedly.
* nsfns.m (as_script, as_result, as_status): New static variables.
(ns_run_ascript): New function.
(Fns_do_applescript): Set variables as_*. Make an NSApplicationDefined
event with data2 set to NSAPP_DATA2_RUNASSCRIPT, post it and then start
the event loop.  Get status from as_status.

* nsterm.h (ns_run_ascript): Declare.
(NSAPP_DATA2_RUNASSCRIPT): Define.

* nsterm.m (sendEvent): If event is NSApplicationDefined and
data2 is NSAPP_DATA2_RUNASSCRIPT, call ns_run_ascript and then exit
the event loop (Bug#7276).
2011-08-14 12:39:38 +02:00
Glenn Morris
7417b37cce Auto-commit of generated files. 2011-08-14 06:19:49 -04:00
Andreas Schwab
a3720aa275 Follow variable naming convention
* src/gnutls.c (QCgnutls_bootprop_priority)
(QCgnutls_bootprop_trustfiles, QCgnutls_bootprop_keylist)
(QCgnutls_bootprop_crlfiles, QCgnutls_bootprop_callbacks)
(QCgnutls_bootprop_loglevel, QCgnutls_bootprop_hostname)
(QCgnutls_bootprop_min_prime_bits, QCgnutls_bootprop_verify_flags)
(QCgnutls_bootprop_verify_hostname_error)
(QCgnutls_bootprop_callbacks_verify): Rename from
Qgnutls_bootprop_..., all uses changed.

* src/xfaces.c (QCignore_defface): Rename from Qignore_defface, all
uses changed.
2011-08-14 11:08:02 +02:00
Andreas Schwab
b5f0301637 Whitespace cleanup 2011-08-14 11:08:01 +02:00
Paul Eggert
a29eb766a6 * src/xdisp.c (compute_display_string_pos): Fix bzr merge glitch. 2011-08-13 23:04:44 -07:00
Paul Eggert
19d5c50cbb * xfaces.c (Qframe_set_background_mode): Now static.
* dispextern.h (Qframe_set_background_mode): Remove decl.
2011-08-13 22:28:42 -07:00
Paul Eggert
0a0d27fb45 * process.c (Fnetwork_interface_info): Declare local only if needed. 2011-08-13 22:23:51 -07:00
Paul Eggert
358e1dd2b2 Merge from trunk. 2011-08-13 22:11:36 -07:00
Jan Djärv
377538cbcf Fix network-interface-list|info on newer BSD derived OS:es.
* configure.in: Add header check: sys/socket.h,
ifaddrs.h, net/if_dl.h.  Check for getifaddrs and freeifaddrs.
Check for sa_len in struct ifreq.ifr_addr (Bug#8477).

* src/process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477).
(Fnetwork_interface_list): Allocate in increments of bytes instead
of sizeof (struct ifreq).  Iterate over ifconf.ifc_req by counting
bytes (Bug#8477).  Count bytes correctly when ifr_addr is a struct
sockaddr.
(struct ifflag_def): notrailers is smart on OSX.
(Fnetwork_interface_info): Handle case when ifr_flags is negative.
Get hardware address with getifaddrs if available.
2011-08-13 12:48:03 +02:00
Andreas Schwab
1bca59fe75 * lisp/gnus/gnus-score.el (gnus-all-score-files): Use copy-sequence instead of
copy-list.
2011-08-13 10:55:53 +02:00
Juanma Barranquero
62f1ca498c lisp/startup.el (argi): Declare as global variable (bug#9275). 2011-08-12 22:45:45 +02:00
Sam Steingold
29dbb8f772 * lisp/gnus/gnus-score.el (gnus-score-find-alist): Keep the score files already
in the reverse order to avoid modifying the cache with `nreverse'.
(gnus-all-score-files): Do not modify the value returned by
`gnus-score-find-alist' because it lives in a cache variable.
(gnus-current-home-score-file): No need to `nreverse' the return value
of `gnus-score-find-alist', it is already in the correct order.
2011-08-12 14:52:40 -04:00
Chong Yidong
1a834b22e8 Move etc/grammars to admin/grammars. 2011-08-12 12:33:28 -04:00
Chong Yidong
6166381edd admin/make-dist: Add admin/ to source tarballs.
admin/charsets/mapfiles/*.gz: Delete.  Add gunzipped versions.

See emacs-devel thread at

  http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00347.html
2011-08-12 12:24:44 -04:00