From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Implementing Vertical Text support in Emacs Date: Sun, 20 Nov 2022 13:43:37 +0200 Message-ID: <83ilj96ec6.fsf@gnu.org> References: <83r13sttj6.fsf@gnu.org> <87wndi6xau.fsf@yahoo.com> <83mtebq0nd.fsf@gnu.org> <838rmtelfg.fsf@gnu.org> <83leqr9pb4.fsf@gnu.org> <83v8p5e5mt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31881"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 20 12:44:08 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1owik3-00087N-HN for ged-emacs-devel@m.gmane-mx.org; Sun, 20 Nov 2022 12:44:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owijU-0005Dm-R5; Sun, 20 Nov 2022 06:43:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owijR-0005Dc-Ha for emacs-devel@gnu.org; Sun, 20 Nov 2022 06:43:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owijQ-0007Ql-NV; Sun, 20 Nov 2022 06:43:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iJgql6LedCSC7KXgU5ZWC/ANZJook0uNfmt/6sWA1nE=; b=B+892JKE3kGrmgMfIxXt AjrWrGy2cZsqtroROoQuWc4QMir6krqLS4EL58xqSOQp2qJkhfZMh24aI4OphBRaVETlQ3Efu33jF IJStZs6uUYz/T6Wjt5vA11XfcG+YTEMo8vTtCvfDGz7VAl5IPYmuWLI360nRgRusIeYn4UCCQm0yt 7nbNNPw77rasmryd+b+3JYkI3TZjgSWBTmOW2qgFffSsvnuNp+/LqBjJh2d1bHA/wgcGgpTjyaHNn e6b2XxZZQ8JQTSGzc+Jo0Ot/M8C+zkgvnTJz5pFponfKnScuqIStHVsybx0ooScYNov10FqmLQ8gH sqF2O08xWrZCGA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owijQ-0003jC-1C; Sun, 20 Nov 2022 06:43:28 -0500 In-Reply-To: (message from =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuQ==?= Sameer Singh on Sun, 20 Nov 2022 16:48:31 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300241 Archived-At: > From: समीर सिंह Sameer Singh > Date: Sun, 20 Nov 2022 16:48:31 +0530 > Cc: emacs-devel@gnu.org > > I tried writing a vertical version of the display_line function but could not get it to work. Emacs does not > display any character after these changes. > (maybe I should have also rewrote move_it_in_display_line_to?) I don't think move_it_in_display_line_to is relevant at this early stage of your work. > Therefore forgive me for asking again, if for now I just want to make the characters appear column wise > instead of row wise, disregarding line overflow, or termination of a line etc, > do I still have to look into the display_line function, because as I recall I had once removed most of the lines > of the display_line function and Emacs was still displaying lines fines. I'm not sure I understand the question. Are you saying that if you ignore the line overflow, termination of a line, etc., you can write code that does display characters column-wise? In any case, it is hard to discuss this without seeing the code which doesn't work. Is the code you wrote available anywhere for review?