Juanma Barranquero
e35fc9628c
Fixes to emacsclient.c for GNU/Linux.
...
[!WINDOWSNT] <top level>: Include <netinet/in.h> and <sys/ioctl.h>.
(INVALID_SOCKET): Define.
(initialize_sockets): Put #endif at the right place.
(set_local_socket): Use progname, not argv[0].
2006-10-31 09:08:24 +00:00
YAMAMOTO Mitsuharu
6ceb805857
(create_apple_event_from_event_ref)
...
(create_apple_event_from_drag_ref, xrm_merge_string_database)
(xrm_get_resource, xrm_get_preference_database): Add const
qualifier to arguments in externs.
2006-10-31 08:33:53 +00:00
YAMAMOTO Mitsuharu
369a7a37d8
(mac_create_bitmap_from_bitmap_data): Make variable
...
`swap_nibbles' static const.
(atsu_get_text_layout_with_text_ptr): Make variables `lengths',
`tags', `sizes', `values' static const.
(mac_draw_string_common): Make variables `context' static. Make
variables `tags', `sizes', and `values' static const.
(pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click)
(xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match)
(mac_to_x_fontname, parse_x_font_name, add_mac_font_name)
(mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window)
(mac_store_event_ref_as_apple_event, mac_make_rdb): Add const
qualifier to arguments.
(xlfd_scalable_fields, keycode_to_xkeysym_table)
(fn_keycode_to_keycode_table): Make static const.
(mac_load_query_font): Make variables `tags', `sizes', `values',
`types', and `selectors' static const.
(mac_handle_command_event, mac_handle_window_event): Make
variables `names' and `types' static const.
(init_command_handler, install_window_handler): Make variables
`specs*' static const.
(mac_handle_font_event, mac_handle_text_input_event)
(mac_store_service_event): Make variables `names' and `types'
const. Make variables `names_*' and `types_*' static const.
2006-10-31 08:32:56 +00:00
YAMAMOTO Mitsuharu
11e0f75563
(init_service_handler): Make variable `specs' static
...
const.
2006-10-31 08:32:25 +00:00
YAMAMOTO Mitsuharu
37a39780ff
(install_menu_quit_handler): Make variable `typesList'
...
static const.
(name_is_separator): Add const qualifier to arguments.
2006-10-31 08:32:08 +00:00
YAMAMOTO Mitsuharu
e4e64b037b
(mac_color_map): Make static const.
...
(mac_color_map_lookup): Add const qualifier to arguments.
2006-10-31 08:31:50 +00:00
YAMAMOTO Mitsuharu
37a9ab8638
(create_apple_event_from_event_ref)
...
(create_apple_event_from_drag_ref, skip_white_space, parse_comment)
(parse_include_file, parse_binding, parse_component)
(parse_resource_name, parse_value, parse_resource_line)
(xrm_merge_string_database, xrm_get_resource)
(xrm_get_preference_database): Add const qualifier to arguments.
[MAC_OSX] (sys_select): Make variable `context' static const.
2006-10-31 08:31:30 +00:00
YAMAMOTO Mitsuharu
46accb8f6d
[MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v)
...
(xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h)
(xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key)
(xpm_load_image): Add const qualifier to arguments.
[MAC_OS] (xpm_color_key_strings): Make static const.
2006-10-31 08:31:01 +00:00
Kenichi Handa
7147863a1c
(xic_create_xfontset): Fix previous change.
2006-10-31 06:42:59 +00:00
Miles Bader
24b86c51ee
Add arch tagline
2006-10-31 02:08:16 +00:00
Juanma Barranquero
ecc5405763
*** empty log message ***
2006-10-31 01:08:02 +00:00
Juanma Barranquero
d759dcce76
(ada-prj-new): Change maintainer, apply whitespace-cleanup, checkdoc. Minor
...
improvements to many doc strings and comments.
(ada-prj-display-page): Change buffer name to more accurately reflect function.
2006-10-31 01:02:41 +00:00
Juanma Barranquero
88581e6183
Change maintainer, apply whitespace-cleanup, checkdoc.
...
(ada-func-or-proc-name): Add doc string.
2006-10-31 00:59:42 +00:00
Juanma Barranquero
417451fe30
(ada-compile-current): Don't add newlines to commands.
2006-10-31 00:57:56 +00:00
Juanma Barranquero
aa0b693297
Add support for TCP sockets.
...
(SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL, INITIALIZE): New
macros.
(IOCTL_BOOL_ARG): New typedef.
(server_file): New global variable.
(longopts): New option --server-file.
(decode_options): Process new option --server-file and environment variable
EMACS_SERVER_FILE.
(print_help_and_exit): Document new option.
(fail): If no connection available and no alternate editor, suggest using
options to make them explicit.
(AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
(send_buffer, sblen): New variables.
(send_to_emacs): New function to buffer output and send it with send().
(quote_file_name): Use SEND_STRING.
(close_winsock, initialize_sockets): New functions to load and unload Winsock.
(get_server_config, set_tcp_socket): New functions to create and set up TCP
sockets.
(set_local_socket): New function to create and set up Unix socket (code moved
from previous implementation).
(set_socket): New function to chose between TCP and Unix sockets.
(main): Use SEND_STRING and SEND_QUOTED. Most code moved to set_local_socket.
Use set_socket. Get answers from server.el with recv(), not file stream
functions.
2006-10-31 00:21:19 +00:00
Juanma Barranquero
d20f2a6a3d
(ALL): Add emacsclient.
...
(ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
(emacsclient, $(BLD)/emacsclient.exe): New targets.
(install): Install emacsclient.
2006-10-31 00:19:38 +00:00
Juanma Barranquero
337e3c70f8
Add support for TCP sockets.
...
(server-use-tcp, server-host, server-auth-dir): New options.
(server-auth-key): New variable.
(server-ensure-safe-dir): Create nonexistent parent dirs. Ignore Unix-style
file modes on Windows.
(server-start): Crete a TCP or Unix socket according to the value of
`server-use-tcp'. For TCP sockets, create the id/auth file in `server-auth-dir'
directory.
(server-process-filter): Delete process if authentication fails (which never
happens for Unix sockets).
2006-10-30 23:24:18 +00:00
Chong Yidong
41c98a5ec0
* Makefile.in (lwlib-utils.o): Use CPPFLAGS.
2006-10-30 23:12:40 +00:00
Chong Yidong
1ea69d1e53
Tweak last fix.
2006-10-30 23:05:35 +00:00
Chong Yidong
78667db702
* s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and
...
/usr/pkg/lib to library search path.
2006-10-30 23:04:39 +00:00
David Kastrup
2d1dd54d7d
(add-to-list): Don't continue checking if a match has
...
been found.
2006-10-30 22:49:04 +00:00
Robert J. Chassell
5fb9c53c67
* emacs-lisp-intro.texi: Many changes since it turned out that
...
many `simple' functions were rewritten. Changes to the text
regarding zap-to-char, mark-whole-buffer, append-to-buffer,
copy-to-buffer, beginning-of-buffer, what-line, and possibly
others. (I have not reviewed all yet.) This instance does build
for Info and TeX.
2006-10-30 22:15:21 +00:00
Chong Yidong
024ccae399
* tutorial.el: Move defvars to avoid bytecomp warnings.
...
(tutorial--find-changed-keys): Check if viper-current-state is
bound before using it.
(help-with-tutorial): Check if viper-tutorial is defined before
using it.
2006-10-30 21:34:15 +00:00
Chong Yidong
b3fcf4f50e
Fix last fix.
2006-10-30 14:56:44 +00:00
Chong Yidong
cb753f5241
* tutorial.el: Move defvars to avoid bytecomp warnings.
...
(tutorial--find-changed-keys): Check if viper-current-state is
bound before using it.
(help-with-tutorial): Check if viper-tutorial is defined before
using it.
2006-10-30 14:52:56 +00:00
Chong Yidong
6db93af0c3
* help-fns.el (help-with-tutorial): Moved to tutorial.el.
...
* tutorial.el: New file.
(help-with-tutorial): Moved here from help-fns.el. Added help for
rebound keys. Fixed resume of tutorial.
(tutorial--describe-nonstandard-key, tutorial--sort-keys)
(tutorial--find-changed-keys, tutorial--display-changes)
(tutorial--saved-dir, tutorial--saved-file)
(tutorial--save-tutorial): New functions to support the changes in
help-with-tutorial.
2006-10-30 14:30:59 +00:00
Chong Yidong
c0af0f6e14
* make-dist: Add makefile.w32-in to the man, lispref and lispintro
...
directories.
2006-10-30 14:20:47 +00:00
Chong Yidong
c5bd92c9c1
* makefile.w32-in: revert last change.
2006-10-30 14:15:57 +00:00
Chong Yidong
772033adc2
* makefile.w32-in: Revert last change.
2006-10-30 14:15:15 +00:00
Miles Bader
ab785936c8
Merge from gnus--rel--5.10
...
Patches applied:
* gnus--rel--5.10 (patch 160)
- Update from CVS
2006-10-29 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/mm-util.el (mm-codepage-iso-8859-list, mm-codepage-ibm-list): New
variables.
(mm-setup-codepage-iso-8859, mm-setup-codepage-ibm): New functions.
(mm-charset-synonym-alist): Move some entries to
mm-codepage-iso-8859-list.
(mm-charset-synonym-alist, mm-charset-override-alist): Add
iso-8859-8/windows-1255 and iso-8859-9/windows-1254.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-489
2006-10-30 08:47:46 +00:00
Kenichi Handa
e1ee3b548b
(revert-buffer): If a unibyte buffer is being reverted
...
with a coding system for multibyte, set buffer multibyte before
calling insert-file-contents.
2006-10-30 07:40:14 +00:00
Stefan Monnier
7acc677bf1
(server-select-display): Use a dummy buffer to detect when
...
the frame is later used.
(server-select-display): New function.
(server-process-filter): Use it to detect unused temp frames.
2006-10-30 07:29:37 +00:00
Juanma Barranquero
4da0d3f794
(WinMain): Process all recognized arguments, not just the first one.
...
Remove unused variable sec_desc.
2006-10-29 22:47:15 +00:00
Chong Yidong
4713fa7667
* configure: Regenerate using autoconf 2.59.
2006-10-29 22:09:26 +00:00
Chong Yidong
8d31e37330
* ralloc.c (relinquish): Use a long for excess space counter to
...
handle 64-bit case correctly.
2006-10-29 21:54:18 +00:00
Chong Yidong
afa0f40bdb
* configure.in: Enable x86-64 OpenBSD compilation.
2006-10-29 21:49:24 +00:00
Chong Yidong
1dbfd8e389
* m/amdx86-64.h: Add defines for OpenBSD x86-64.
2006-10-29 21:48:58 +00:00
Chong Yidong
b4e4dc3c1f
* Makefile.in: Use relative paths to avoid advertising filesystem
...
contents during compilation.
* makefile.w32-in: Likewise.
2006-10-29 21:36:17 +00:00
Chong Yidong
a1b40c181b
* makefile.w32-in: Use relative paths to avoid advertising filesystem
...
contents during compilation.
2006-10-29 21:33:23 +00:00
Chong Yidong
cbdeee32c1
* Makefile.in: Use relative paths to avoid advertising filesystem
...
contents during compilation.
2006-10-29 21:31:19 +00:00
Magnus Henoch
080234b693
(url-open-stream): Really use asynchronous connections (accidentally
...
disabled during debugging).
2006-10-29 21:00:50 +00:00
Juanma Barranquero
5d1b4ae30f
*** empty log message ***
2006-10-29 15:59:13 +00:00
Juanma Barranquero
f70b58b0ca
Change maintainer, apply whitespace-clean, checkdoc. Minor improvements to many
...
doc strings.
(ada-mode-version): New function.
(ada-create-menu): Menu operations are available for all supported compilers.
2006-10-29 15:29:57 +00:00
Lars Hansen
8e7225a262
(with-parsed-tramp-file-name): Correct debug spec. Highlight as keyword.
...
(tramp-do-copy-or-rename-file): Correct data for 'file-already-exists.
Don't call tramp-method-out-of-band-p for local files.
(tramp-touch): Quote file name.
2006-10-29 12:55:35 +00:00
Miles Bader
b90a614915
Merge from gnus--rel--5.10
...
Patches applied:
* gnus--rel--5.10 (patch 156-159)
- Merge from emacs--devo--0
- Update from CVS
2006-10-29 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-sum.el (gnus-set-mode-line): Quote % in group name.
2006-10-28 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string): Make it compatible
with Emacs 21 and XEmacs.
2006-10-26 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/mm-view.el: Add interactive arg to html2text autoload.
2006-10-25 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-sum.el (gnus-summary-move-article): Use no-encode for `B B'.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-487
2006-10-29 07:36:46 +00:00
Miles Bader
fdcd003e28
Add arch tagline
2006-10-28 23:22:07 +00:00
Juanma Barranquero
856bb2b0ee
*** empty log message ***
2006-10-28 22:09:25 +00:00
Juanma Barranquero
473d3c06d8
(Fdisplay_buffer): Fix typo in docstring.
2006-10-28 22:03:51 +00:00
Glenn Morris
9f6ee97abb
New package cal-html.el.
2006-10-28 22:02:20 +00:00
Glenn Morris
e6526a2ff5
Add cal-html.el author.
2006-10-28 22:01:18 +00:00