unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Colin Walters <walters@verbum.org>
Subject: Re: the overloading of `tab-width'
Date: 15 Jun 2002 14:21:27 -0400	[thread overview]
Message-ID: <1024165287.12055.591.camel@space-ghost> (raw)
In-Reply-To: <1024162700.14414.578.camel@space-ghost>

[-- Attachment #1: Type: text/plain, Size: 58 bytes --]

Ah, and you probably need the patch for xdisp.c...








[-- Attachment #2: xdisp.patch --]
[-- Type: text/x-patch, Size: 708 bytes --]

Index: src/xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.755
diff -u -d -r1.755 xdisp.c
--- src/xdisp.c	12 Jun 2002 09:37:34 -0000	1.755
+++ src/xdisp.c	15 Jun 2002 18:20:51 -0000
@@ -1614,7 +1614,8 @@
     it->redisplay_end_trigger_charpos = XINT (w->redisplay_end_trigger);
 
   /* Correct bogus values of tab_width.  */
-  it->tab_width = XINT (current_buffer->tab_width);
+  it->tab_width = INTEGERP (current_buffer->display_tab_width) ?
+    current_buffer->display_tab_width : XINT (current_buffer->tab_width);
   if (it->tab_width <= 0 || it->tab_width > 1000)
     it->tab_width = 8;
 

  reply	other threads:[~2002-06-15 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-15 17:38 the overloading of `tab-width' Colin Walters
2002-06-15 18:21 ` Colin Walters [this message]
2002-06-15 18:57 ` Kai Großjohann
2002-06-16 23:28 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1024165287.12055.591.camel@space-ghost \
    --to=walters@verbum.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).