mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Space/tab mixup.
This commit is contained in:
parent
ac39a725f3
commit
db9cd97ad4
11 changed files with 21 additions and 21 deletions
|
|
@ -463,7 +463,7 @@ file_name_absolute_p (filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WINDOWSNT
|
#ifdef WINDOWSNT
|
||||||
/* Wrapper to make WSACleanup a cdecl, as required by atexit(). */
|
/* Wrapper to make WSACleanup a cdecl, as required by atexit(). */
|
||||||
void
|
void
|
||||||
__cdecl close_winsock ()
|
__cdecl close_winsock ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
;; RULES:
|
;; RULES:
|
||||||
;;
|
;;
|
||||||
;; Gomoku is a game played between two players on a rectangular board. Each
|
;; Gomoku is a game played between two players on a rectangular board. Each
|
||||||
;; player, in turn, marks a free square of its choice. The winner is the first
|
;; player, in turn, marks a free square of its choice. The winner is the first
|
||||||
;; one to mark five contiguous squares in any direction (horizontally,
|
;; one to mark five contiguous squares in any direction (horizontally,
|
||||||
;; vertically or diagonally).
|
;; vertically or diagonally).
|
||||||
|
|
@ -212,9 +212,9 @@ is non-nil."
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
;; The board is a rectangular grid. We code empty squares with 0, X's with 1
|
;; The board is a rectangular grid. We code empty squares with 0, X's with 1
|
||||||
;; and O's with 6. The rectangle is recorded in a one dimensional vector
|
;; and O's with 6. The rectangle is recorded in a one dimensional vector
|
||||||
;; containing padding squares (coded with -1). These squares allow us to
|
;; containing padding squares (coded with -1). These squares allow us to
|
||||||
;; detect when we are trying to move out of the board. We denote a square by
|
;; detect when we are trying to move out of the board. We denote a square by
|
||||||
;; its (X,Y) coords, or by the INDEX corresponding to them in the vector. The
|
;; its (X,Y) coords, or by the INDEX corresponding to them in the vector. The
|
||||||
;; leftmost topmost square has coords (1,1) and index gomoku-board-width + 2.
|
;; leftmost topmost square has coords (1,1) and index gomoku-board-width + 2.
|
||||||
;; Similarly, vectors between squares may be given by two DX, DY coords or by
|
;; Similarly, vectors between squares may be given by two DX, DY coords or by
|
||||||
|
|
|
||||||
|
|
@ -5706,7 +5706,7 @@ make_lispy_event (event)
|
||||||
position = make_lispy_position (f, &event->x, &event->y,
|
position = make_lispy_position (f, &event->x, &event->y,
|
||||||
event->timestamp);
|
event->timestamp);
|
||||||
|
|
||||||
/* Set double or triple modifiers to indicate the wheel speed. */
|
/* Set double or triple modifiers to indicate the wheel speed. */
|
||||||
{
|
{
|
||||||
/* On window-system frames, use the value of
|
/* On window-system frames, use the value of
|
||||||
double-click-fuzz as is. On other frames, interpret it
|
double-click-fuzz as is. On other frames, interpret it
|
||||||
|
|
@ -5760,7 +5760,7 @@ make_lispy_event (event)
|
||||||
|
|
||||||
if (event->modifiers & up_modifier)
|
if (event->modifiers & up_modifier)
|
||||||
{
|
{
|
||||||
/* Emit a wheel-up event. */
|
/* Emit a wheel-up event. */
|
||||||
event->modifiers &= ~up_modifier;
|
event->modifiers &= ~up_modifier;
|
||||||
symbol_num = 0;
|
symbol_num = 0;
|
||||||
}
|
}
|
||||||
|
|
@ -5775,7 +5775,7 @@ make_lispy_event (event)
|
||||||
the up_modifier set. */
|
the up_modifier set. */
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
/* Get the symbol we should use for the wheel event. */
|
/* Get the symbol we should use for the wheel event. */
|
||||||
head = modify_event_symbol (symbol_num,
|
head = modify_event_symbol (symbol_num,
|
||||||
event->modifiers,
|
event->modifiers,
|
||||||
Qmouse_click,
|
Qmouse_click,
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ Boston, MA 02110-1301, USA. */
|
||||||
#define IBMR2AIX
|
#define IBMR2AIX
|
||||||
|
|
||||||
/* Use type int rather than a union, to represent Lisp_Object */
|
/* Use type int rather than a union, to represent Lisp_Object */
|
||||||
/* This is desirable for most machines. */
|
/* This is desirable for most machines. */
|
||||||
|
|
||||||
#define NO_UNION_TYPE
|
#define NO_UNION_TYPE
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
/* The data segment in this machine always starts at address 0x20000000.
|
/* The data segment in this machine always starts at address 0x20000000.
|
||||||
An address of data cannot be stored correctly in a Lisp object;
|
An address of data cannot be stored correctly in a Lisp object;
|
||||||
we always lose the high bits. We must tell XPNTR to add them back. */
|
we always lose the high bits. We must tell XPNTR to add them back. */
|
||||||
|
|
||||||
#ifndef USG5_4
|
#ifndef USG5_4
|
||||||
#define DATA_SEG_BITS 0x20000000
|
#define DATA_SEG_BITS 0x20000000
|
||||||
|
|
@ -86,7 +86,7 @@ Boston, MA 02110-1301, USA. */
|
||||||
#define PURE_SEG_BITS 0x30000000
|
#define PURE_SEG_BITS 0x30000000
|
||||||
|
|
||||||
/* Use shared memory. */
|
/* Use shared memory. */
|
||||||
/* This is turned off because it does not always work. See etc/AIX.DUMP. */
|
/* This is turned off because it does not always work. See etc/AIX.DUMP. */
|
||||||
/* #define HAVE_SHM */
|
/* #define HAVE_SHM */
|
||||||
#define SHMKEY 5305035 /* used for shared memory code segments */
|
#define SHMKEY 5305035 /* used for shared memory code segments */
|
||||||
#endif /* CANNOT_DUMP */
|
#endif /* CANNOT_DUMP */
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ Boston, MA 02110-1301, USA. */
|
||||||
#define NO_REMAP
|
#define NO_REMAP
|
||||||
|
|
||||||
/* Define TEXT_START_ADDR if your linker don't set execute point to _start.
|
/* Define TEXT_START_ADDR if your linker don't set execute point to _start.
|
||||||
If it needed, temacs always CORE-DUMP. */
|
If it needed, temacs always CORE-DUMP. */
|
||||||
|
|
||||||
#define TEXT_START_ADDR __start
|
#define TEXT_START_ADDR __start
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2639,7 +2639,7 @@ check_x (void)
|
||||||
#define Ctrl 0x0200 /* ctrl scan-code */
|
#define Ctrl 0x0200 /* ctrl scan-code */
|
||||||
#define Shift 0x0400 /* shift scan-code */
|
#define Shift 0x0400 /* shift scan-code */
|
||||||
|
|
||||||
static int extended_kbd; /* 101 (102) keyboard present. */
|
static int extended_kbd; /* 101 (102) keyboard present. */
|
||||||
|
|
||||||
struct kbd_translate {
|
struct kbd_translate {
|
||||||
unsigned char sc;
|
unsigned char sc;
|
||||||
|
|
|
||||||
|
|
@ -1470,7 +1470,7 @@ skip_chars (forwardp, syntaxp, string, lim, handle_iso_classes)
|
||||||
const unsigned char *class_beg = str + i_byte + 1;
|
const unsigned char *class_beg = str + i_byte + 1;
|
||||||
const unsigned char *class_end = class_beg;
|
const unsigned char *class_end = class_beg;
|
||||||
const unsigned char *class_limit = str + size_byte - 2;
|
const unsigned char *class_limit = str + size_byte - 2;
|
||||||
/* Leave room for the null. */
|
/* Leave room for the null. */
|
||||||
unsigned char class_name[CHAR_CLASS_MAX_LENGTH + 1];
|
unsigned char class_name[CHAR_CLASS_MAX_LENGTH + 1];
|
||||||
re_wctype_t cc;
|
re_wctype_t cc;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3756,7 +3756,7 @@ set_file_times (filename, atime, mtime)
|
||||||
* sdcsvax!rmr or rmr@uscd
|
* sdcsvax!rmr or rmr@uscd
|
||||||
*
|
*
|
||||||
* Severely hacked over by John Gilmore to make a 4.2BSD compatible
|
* Severely hacked over by John Gilmore to make a 4.2BSD compatible
|
||||||
* subroutine. 11Mar86; hoptoad!gnu
|
* subroutine. 11Mar86; hoptoad!gnu
|
||||||
*
|
*
|
||||||
* Modified by rmtodd@uokmax 6-28-87 -- when making an already existing dir,
|
* Modified by rmtodd@uokmax 6-28-87 -- when making an already existing dir,
|
||||||
* subroutine didn't return EEXIST. It does now.
|
* subroutine didn't return EEXIST. It does now.
|
||||||
|
|
|
||||||
|
|
@ -4439,7 +4439,7 @@ w32_read_socket (sd, expected, hold_quit)
|
||||||
/* Ignore any mouse motion that happened before this
|
/* Ignore any mouse motion that happened before this
|
||||||
event; any subsequent mouse-movement Emacs events
|
event; any subsequent mouse-movement Emacs events
|
||||||
should reflect only motion after the
|
should reflect only motion after the
|
||||||
ButtonPress. */
|
ButtonPress. */
|
||||||
f->mouse_moved = 0;
|
f->mouse_moved = 0;
|
||||||
}
|
}
|
||||||
last_mouse_frame = f;
|
last_mouse_frame = f;
|
||||||
|
|
|
||||||
|
|
@ -17384,7 +17384,7 @@ pint2str (buf, width, d)
|
||||||
|
|
||||||
/* Write a null-terminated, right justified decimal and "human
|
/* Write a null-terminated, right justified decimal and "human
|
||||||
readable" representation of the nonnegative integer D to BUF using
|
readable" representation of the nonnegative integer D to BUF using
|
||||||
a minimal field width WIDTH. D should be smaller than 999.5e24. */
|
a minimal field width WIDTH. D should be smaller than 999.5e24. */
|
||||||
|
|
||||||
static const char power_letter[] =
|
static const char power_letter[] =
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -835,7 +835,7 @@ x_reply_selection_request (event, format, data, size, type)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Now wait for the requester to ack this chunk by deleting the
|
/* Now wait for the requester to ack this chunk by deleting the
|
||||||
property. This can run random lisp code or signal. */
|
property. This can run random lisp code or signal. */
|
||||||
TRACE1 ("Waiting for increment ACK (deletion of %s)",
|
TRACE1 ("Waiting for increment ACK (deletion of %s)",
|
||||||
XGetAtomName (display, reply.property));
|
XGetAtomName (display, reply.property));
|
||||||
wait_for_property_change (wait_object);
|
wait_for_property_change (wait_object);
|
||||||
|
|
@ -2710,11 +2710,11 @@ FRAME is on. If FRAME is nil, the selected frame is used. */)
|
||||||
else
|
else
|
||||||
error ("ATOM must be a symbol or a string");
|
error ("ATOM must be a symbol or a string");
|
||||||
|
|
||||||
for (i = 0; i < dpyinfo->x_dnd_atoms_length; ++i)
|
for (i = 0; i < dpyinfo->x_dnd_atoms_length; ++i)
|
||||||
if (dpyinfo->x_dnd_atoms[i] == x_atom)
|
if (dpyinfo->x_dnd_atoms[i] == x_atom)
|
||||||
return Qnil;
|
return Qnil;
|
||||||
|
|
||||||
if (dpyinfo->x_dnd_atoms_length == dpyinfo->x_dnd_atoms_size)
|
if (dpyinfo->x_dnd_atoms_length == dpyinfo->x_dnd_atoms_size)
|
||||||
{
|
{
|
||||||
dpyinfo->x_dnd_atoms_size *= 2;
|
dpyinfo->x_dnd_atoms_size *= 2;
|
||||||
dpyinfo->x_dnd_atoms = xrealloc (dpyinfo->x_dnd_atoms,
|
dpyinfo->x_dnd_atoms = xrealloc (dpyinfo->x_dnd_atoms,
|
||||||
|
|
@ -2744,7 +2744,7 @@ x_handle_dnd_message (f, event, dpyinfo, bufp)
|
||||||
int idata[5];
|
int idata[5];
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < dpyinfo->x_dnd_atoms_length; ++i)
|
for (i = 0; i < dpyinfo->x_dnd_atoms_length; ++i)
|
||||||
if (dpyinfo->x_dnd_atoms[i] == event->message_type) break;
|
if (dpyinfo->x_dnd_atoms[i] == event->message_type) break;
|
||||||
|
|
||||||
if (i == dpyinfo->x_dnd_atoms_length) return 0;
|
if (i == dpyinfo->x_dnd_atoms_length) return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue