From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Susi Newsgroups: gmane.emacs.help Subject: table rotation Date: Mon, 23 Sep 2019 10:39:46 -0400 Message-ID: <875zljm5zh.fsf@vps.thesusis.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6950"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 0.9.18; emacs 25.2.2 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 23 16:40:20 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCPVh-0001el-8i for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 16:40:17 +0200 Original-Received: from localhost ([::1]:57452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCPVf-0005R6-0H for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 10:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40367) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCPVE-0005N9-Td for help-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:39:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCPVD-0005aM-Uu for help-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:39:48 -0400 Original-Received: from vps.thesusis.net ([34.202.238.73]:43016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCPVD-0005Zv-Qp for help-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:39:47 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id 2D9802943E for ; Mon, 23 Sep 2019 10:39:47 -0400 (EDT) Original-Received: from vps.thesusis.net ([127.0.0.1]) by localhost (ip-172-26-1-203.ec2.internal [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kVfxQiuTa8GP for ; Mon, 23 Sep 2019 10:39:46 -0400 (EDT) Original-Received: by vps.thesusis.net (Postfix, from userid 1000) id 6B7D229446; Mon, 23 Sep 2019 10:39:46 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 34.202.238.73 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:121549 Archived-At: I have a need to rotate the values in a table. My first thought was to do this with a repeat count on a macro that kills, yanks, and moves to the next cell, but table-forward-cell moves to the next row when you reach the last column instead of back to the first column in the row. Then I thought I could write some elisp to do it, but while I found a function to get the table dimentions, I don't see one to either get point's current location within the table, or move it to a specific cell. Thoughts?