Questions tagged [column]

41 questions
9
votes
1 answer

Calculate emacs org property from another property

I have an Emacs Org file with list of tasks with a set of properties each one. Say I have three properties called ESTIMATED, SPENT and REMAINING, which account for the number of hours that I estimated the task will take to be done (ESTIMATED), the…
J C Gonzalez
  • 365
  • 4
  • 9
8
votes
3 answers

How to select (and copy) a column of an org table *without* rectangle selection?

It seems to me that the normal way to copy a column of an org table is by rectangle selection (see here). That is, first the column is selected by marking all of it by hand, and then it is copied with org-table-copy-region or the like. What I would…
Timm
  • 1,549
  • 12
  • 23
6
votes
1 answer

Built-in function to get column at point

Is there a built-in function that does this: (defun mk-column-at (point) "Return column number at POINT." (save-excursion (goto-char point) (current-column)))
Mark Karpov
  • 4,893
  • 1
  • 24
  • 53
4
votes
0 answers

Are zero-based column numbers an Emacs idiosyncrasy?

The first line of a text file is line number 1 in probably every application I have ever come across, including Emacs. Every application I have at hand also uses column number 1 for the first column of each line. Except for Emacs, which says it is…
Lassi
  • 377
  • 1
  • 7
4
votes
2 answers

Move to goal-column inserting spaces if necessary

I have a bunch of lines of text and I'm trying to insert text starting at a certain column on each line. For example: 'Some text' This is ok 'Another longer text' ask Ram 'weird stuff' see other file 'more lines' 'even more…
ShreevatsaR
  • 880
  • 6
  • 19
4
votes
2 answers

How can I get :LOGBOOK: into Column View?

The items in my org-mode file will have a number of properties relating to data points that I need to capture. In conjunction with this, I'd like to continue using C-c C-z to log notes tracking progress against each item. The end goal is to get…
xeijin
  • 101
  • 8
4
votes
1 answer

Can Ibuffer show buffers last viewing time?

I was wondering if it is possible to have a column in Ibuffer that shows the last viewing time. In the default view I can see these columns: MR Name Size Mode Filename/Process -- ---- ---- ---- …
nephewtom
  • 2,219
  • 17
  • 29
4
votes
2 answers

How to generate list of hex numbers?

I am using emacs with org mode. Question 1: I want to number a column in a table in hex. E.g. | 0x00 | xyz | .. | | 0x01 | abc | .. | I want to auto generate first column. Any ideas how to do this in org mode? Question 2: How to generate a list of…
sakura
  • 143
  • 3
4
votes
1 answer

Is it possible to display a text file in two or more columns without changing the text file itself?

Is it possible to display a text file in two or more columns without changing the text file itself? I sometimes deal with a text file that contains a long list each of whose items are short. By default, if I had a list like below: * a * b * c *…
stacko
  • 1,577
  • 1
  • 11
  • 18
4
votes
3 answers

Copy a column of uneven width that ends with a specific character

I have a data file that looks as follows ALGO = Fast EDIFF = 6.7e-05 ENCUT = 520 IBRION = 2 ICHARG = 1 ISIF = 2 ISMEAR = 0 ISPIN = 2 I'm interested in copying the first column of uneven width but where every element ends with an = character. The…
rambalachandran
  • 245
  • 1
  • 12
3
votes
1 answer

org spreadsheet and collapsing columns

I have a long spreadsheet 30 rows and 60 columns . It is difficult to work on columns as I can not freeze the columns. Is it possible to collapse the columns ?
Vaibhav
  • 573
  • 3
  • 15
3
votes
1 answer

Insert column in org-mode moves the content

I am trying to insert a column in a table in org-mode and I get the content moved. For example, I have this table: | Name | Age | |--------+-----| | Tarzan | 40 | | Jane | 39 | Now I want to insert a column between Name and Age. So I add a…
nephewtom
  • 2,219
  • 17
  • 29
3
votes
0 answers

Orgmode checkbox-list progress in column-view

I would like to have a Progress Column in Column view that shows the Checkbox count for headlines / subtasks . I can make the count show after the subtask / headline by adding the [/] cookie, but I I can't make them show in the Column view. I have…
TNT
  • 151
  • 6
2
votes
2 answers

Sort lines omitting a prefix of a certain length?

Many of my python files have an import section that looks like this: from datetime import datetime, timedelta from typing import Callable import numpy as np import pandas as pd I'd like to sort those lines by the library names. I'd like to run…
2
votes
0 answers

Is it possible to override the column width in Emacs?

I'm using graphical GNU Emacs 26.3 on Windows. At least on Windows, Emacs determines column width by looking at the AveCharWidth field in the font's OS/2 table. As the name suggests, this field contains the average width of all non-zero-width…
niconii
  • 29
  • 3
1
2 3