Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [column]

The tag has no usage guidance.

2
votes
1answer
48 views

How to highlight 80 columns when it contains a single % at the start

How can I highlight 80 columns when a line has a single % at the very start? What I am looking for is that lines with a single % stand out by a colored rectangle 1 character high and 80 columns wide.
3
votes
0answers
53 views

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 ...
0
votes
1answer
48 views

How to align specific columns, for several lines simultaneously?

Consider i want to make something like this row one goes like this row two goes like this woops like this woops like what happend now and i want the like to be aligned in all sentences, something ...
1
vote
1answer
28 views

Why is check-ert output cut at 70 characters column?

Sometimes when packaging emacs packages for Debian, I need to debug test failures. Then the debugging output is cut at 70 characters like in this bug report: https://bugs.debian.org/cgi-bin/bugreport....
0
votes
2answers
41 views

Scroll vertically while keeping horizontal position

I'm viewing a file containing visually aligned columns in truncate line mode, and would like to scroll vertically without changing my horizontal scroll position. But scroll-down always moves the ...
0
votes
1answer
36 views

how add vertical column to vertical column

I have column of text like this: Abba Foo Boo M and I want to transform it to: Abba = Abba Foo = Foo Boo = Boo M = M I can add " = " to end column of text via C-x space and M-x string-insert-...
0
votes
1answer
55 views

setting default columns in org column mode into init file

Trying to set preferred columns in ORG column mode. this works perfectly if I put it on head of the file: #+COLUMNS: %45ITEM %TAGS %PRIORITY %TODO %CLOSED %SCHEDULED But I avoid to repeat it for ...
0
votes
1answer
41 views

How to trim text on each line, starting with the first space

Windows 10, Emacs 25.1 Suppose I has text: Advertisment d184f52a-14d7-dddddddddd ZAnelik 1c970d12-6c67-44e1-cccccccccccc Avers b0f0dd6b-a43f-4e40-b0ebbbbbbbbb BAVERS_MIGOM_OLD ...
0
votes
1answer
30 views

How to make a certain column number the first one shown

If I want a certain row to be the first that is shown, I press C-l C-l. Now I'm looking for the same thing with columns. I imagine it like this: I move the cursor to the desired column, do "blank", ...
0
votes
0answers
81 views

org-agenda column view: displaying abbreviated FILE property

I would like to display file names in my global TODO list in column view without directories and extensions. (setq org-columns-default-format "%TODO %FILE %ITEM") followed by C-catC-cC-xC-c leads to ...
1
vote
1answer
82 views

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 ?
1
vote
0answers
35 views

Different summaries at different levels in org-columns

I'm trying to use org-mode for keeping track of my grades in university. My grades are all numerical from 0 to 10. I want the column view to output my average score and the final grade of each subject,...
5
votes
0answers
113 views

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 ...
0
votes
1answer
53 views

How to get the column number of matching text?

In the help there is looking-at function which should populate match-data which could be accessed with match-end function. So I have the text : 1. hello world The cursor is on 1 and I issue the ...
3
votes
1answer
190 views

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' ...
3
votes
1answer
379 views

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 ...
0
votes
1answer
102 views

Editing python, yaml etc: how to show lines for each column?

How can I show a barely visible line for each column so that column-based indenting for python/yaml code is easier in emacs? I understand I can see the column number, but I would like a more visual ...
1
vote
0answers
78 views

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/...
0
votes
1answer
258 views

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 ...
0
votes
2answers
390 views

emacs counts German umlaut as two columns

I have been writing a document with a not monospaced font, because it is not code but only text. This is a document written in reStructuredText, with the file ending .rst and when it is opened in ...
4
votes
2answers
250 views

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 ...
2
votes
0answers
185 views

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 ...
5
votes
3answers
2k views

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 ...
1
vote
0answers
270 views

How to set column highlight background color for wrapped lines in terminal mode?

I'm new to emacs (spacemacs). I've set up the col-highlight package in my .spacemacs like so: (column-highlight-mode 1) (set-face-attribute 'col-highlight nil :inherit 'hl-line :background) in ...
4
votes
1answer
114 views

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 ...
4
votes
3answers
174 views

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 ...
4
votes
1answer
147 views

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)))