From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Leo Vivier Newsgroups: gmane.emacs.help Subject: Spacing within org-mode tables when diacritics are used Date: Thu, 31 Aug 2017 12:19:58 -0700 Message-ID: <08d1db0b-ac82-ce2c-22eb-be06f10a6660@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504253323 6438 195.159.176.226 (1 Sep 2017 08:08:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2017 08:08:43 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 01 10:08:34 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dngzx-0000Tw-5A for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2017 10:08:17 +0200 Original-Received: from localhost ([::1]:51781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnh03-0004Oc-Vg for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2017 04:08:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnV1T-0001YF-7M for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 15:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnV1P-0000p6-TU for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 15:21:03 -0400 Original-Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:33830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnV1P-0000oo-OJ for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 15:20:59 -0400 Original-Received: by mail-pf0-x229.google.com with SMTP id l87so1649088pfj.1 for ; Thu, 31 Aug 2017 12:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=TMTIbvsbuMsI0AhCzKqYRCjj8/wBkmJVcp3gk4Bijds=; b=LQhH1XhTKEziYJFyKHWg8gJwYOCu4mqVS/mpcOEhF9AL/X21E5W9ilBXEo/o5Ifdhe a3ofcjI4GIBUfqMLYR2JTLkXZwFa3wXMpTiC9losmg+Axq8GHMVvvuEQlZbV4hRJTsmQ 6dBuVningccTE67LFNMzZUm3AXa3LPSWvDLue6hspXTTZsap88+adEtfWNTVJFfMYKCh m/s02dzG39i2Z+S6wfCr3l/PVgaiC0xkrATloXdKL5yFPPYIXRsaPv82iGohnk8xHQER oNjedMTnfEAy2DpmA9sjmjfbmlm99dW2Glo2Cvm3sSJn/JNACdC8C/1qDx4SMtyBURtm 8atQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=TMTIbvsbuMsI0AhCzKqYRCjj8/wBkmJVcp3gk4Bijds=; b=f9AkWuzU/pSHa9g1ubUjhi38+PrlxRIN3xh6OaeYVGzS5itI9iVyhDveIsGaTrUe+m sON0zaKHawFkpfQGj0qIt5TSC4gNaduw0o4t039zT9S/DX8F4IECug/0w5CEbXfUo5y/ EMYkj26FPYuXOpFahd6dZ/f640sZCxZ7QUPc1RPy68s9gbiAfNSLYT9KK2me05PO+Ugd pECf3hSwAqPS+jmTyAhLrVCGaZaalDACKfizUHhlvkD42UpXNbTyhUz1kE0AUe6ZurXc XTAZPtDwt4bvXY8jDxUUk4MTL4HKY9F1cZGvbZzjjA8gqzLavnQcgPeyA9IHMJJMWwdV je7g== X-Gm-Message-State: AHYfb5g+WZwylBJRfTA4U+Xp2rhYYbf3FKH9M348jcfS3o3cFHwWq38e QUe5+JPEDa49dIK2T40= X-Google-Smtp-Source: ADKCNb5ghM9SFJnt74ix1VCmWXHKpGaXv6s5MJQ37JFYmwNo3s7RJFr/hzmgd3TW+dig22keMkNTtA== X-Received: by 10.99.95.208 with SMTP id t199mr3610757pgb.128.1504207257595; Thu, 31 Aug 2017 12:20:57 -0700 (PDT) Original-Received: from [134.10.131.158] (c131h158.wless.reed.edu. [134.10.131.158]) by smtp.gmail.com with ESMTPSA id p89sm602038pfa.25.2017.08.31.12.20.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Aug 2017 12:20:56 -0700 (PDT) Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::229 X-Mailman-Approved-At: Fri, 01 Sep 2017 04:07:52 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114156 Archived-At: Hi everyone, I'm quite excited because it is the first time that I get to ask a question on a mailing list! I've been wandering between this list, the wikis, and SE to get my answers so far, but the problem I've encountered now wasn't addressed in any of these. Please tell me if the format of the email is not up to standard, and sorry for the inconvenience if this is the case. My problems concerns the spacing within org-mode tables when diacritics (e.g. accented letters) are used. Here's a MWE with emacs -q. | 1 | test  | test | | 2 | tést | test | | 3 | test  | test | | 4 | test  | test | The 2nd line (with the `é') as an offset of 1 space compared to the others. Pressing within any of the cells to realign the table doesn't fix it. I think this might have something to do with multibyte characters. Running (toggle-enable-multibyte-characters) shows that the é does indeed take two bytes. Setting the language environment to French via (set-language-environment 'french) solves this issue (i.e. pressing realigns the table properly), but this only last whilst the file remains opened. Would you have an idea on how to fix this? Thanks for the help. -- Leo Vivier English Studies & General Linguistics Language Assistant, French Department Reed College