How to change minibuffer location in Emacs? [duplicate] - emacs

This question already has answers here:
is it possible to move the emacs minibuffer to the top of the screen?
(4 answers)
Using getopts to process long and short command line options
(32 answers)
Closed 9 years ago.
I'm tired to move my eye to minibuffer that is bottom of Emacs.
So I want to minimize eye movement. Is there any solution for this? I want something like as following.
Setting minibuf location on top of current frame.(I don't know It's effective or not. )
If I typed M-x, minibuf show up center of current frame.(I think it's effective.)

I find it helps to have the minibuffer always in the same place on my screen --- IOW, a standalone minibuffer frame. Yes, that involves eye movement, but always to the same place. You might find that this helps. See library oneonone.el for an implementation that is easy to try.

Related

How can I make the lines to enter on a new line on auto as I write across on Vscode? [duplicate]

This question already has answers here:
How do I turn on text wrapping by default in VS Code
(10 answers)
Closed last year.
The code in Vscode is not entering a new line on auto as I write across. It just keeps going sideways making it hard to see all the code.
Go to View then enable Word wrap.

Select Text in vertical in Matlab text Editor [duplicate]

This question already has an answer here:
Multi-cursor Editing possibility in MATLAB Editor?
(1 answer)
Closed 5 months ago.
Is there a way for selecting text in vertical in Matlab Text Editor?
What I mean is something equivalent to Alt+Shift in Atom text editor for example:
Even a hack is appreciated. What I do normally (when I need this functionality) is to open the same text-file with Atom. But, of course, to be able to modify inside the same Matlab can make me save time.
Starting from MATLAB version R2021b, not only the live editor, but also the editor allows column selection using the mouse while pressing the ALT-key (or the Option-key on MacOS).
A description of this feature can be found here:
https://www.mathworks.com/help/matlab/matlab_prog/edit-and-format-code.html

Scroll outside or below content in Eclipse [duplicate]

This question already has an answer here:
How can I get Eclipse to scroll past the bottom of the document?
(1 answer)
Closed 5 years ago.
I would like to be able to scroll further down in Eclipse, below the last line of content in the file.
A lot of editors/IDEs support this, IntelliJ and TextPad, for instance. Vim if enabled.
It's a bit annoying having to put 20 empty lines in the bottom of every file in order for the code I'm writing to appear in the middle of the screen.
Any suggestions?
I've only found a few hits on Google, that are old. And I'm not sure what this is named, so if you have a word for it please tell, as it will help me in my search.
As it seems it's not possible at the moment, I would like suggestions on how to best overcome this issue.
Thanks.
This is a known limitation, and there is a bug opened for this - https://bugs.eclipse.org/bugs/show_bug.cgi?id=362540. You can add your thoughts to the bug.

diff between frame and window in emacs [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just started to use EMACS, it's amazing.
So I had this question, what's the difference between a window and a frame ?
my understanding is :
you can press a 'q' to quit a frame not a window.
frame is composed of a series of windows
frame will contain a subset of all buffers.
frame is more like the concept of project while window is the for each file.
3 and 4 are not correct seemingly, as when I try to jump between frames I still saw all the buffers.
so are my understanding correct? or I am not doing it in a correct way ?
is there project like function for EMACS to organize buffers into different projects, so that when I jump between buffers, I only saw the buffers localize to that project?
can some one talk more about the project concept in EMACs related with the frame and window?
This is a bit confusing, but it's all due to history. Emacs was first created back in the days of text terminals, before the GUI was common. All you had was lines of monospaced text, usually around 80 columns by 24 rows. Emacs had the ability to split the screen into multiple windows, so you could see more than one file at once.
Then graphical terminals and the GUI came along, and "window" came to mean the GUI variety. But Emacs had dozens of functions and variables with "window" in their names, which dealt with its split-screen type of window. Renaming those functions would break all the Emacs Lisp code that used them. Therefore, when Emacs gained a GUI interface, its designers decided that it would be easier to come up with a new term to mean "GUI window", and keep "window" to mean "old-style Emacs window". The new term they came up with was "frame" (because frames are what surround windows).
So when Emacs talks about a "frame", it means the same thing that other programs would call a "window". In Emacs, a frame is basically a terminal emulator that can be resized on demand. Each frame acts pretty much like an Emacs running in a text terminal; the frame can contain one or more old-style Emacs windows.
However, all the frames of a single Emacs process are linked. Any buffer can be displayed in any window of any frame, and you can have the same buffer displayed in multiple windows and/or frames at the same time.
You can find more details in the chapter of the Emacs manual on "Frames".
So your (3) is not correct; every buffer is available in every frame. (4) is not really correct either; it's up to you how many frames and/or windows you want to use. Personally, I normally use 1 frame with 1 or 2 windows. I occasionally use a second frame if I want more space to display one file while working on 1 or 2 other files.

adaptive indentation in emacs? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Emacs code to automatically set indent-tabs-mode according to existing code
When I'm editing old files in a group where other people may work on them tomorrow or ten years from now, I like to adopt the file's existing tab or space indentation scheme for my additions/changes - that's just being polite, but it's currently something of a hassle. Does anyone have a way for emacs to look for the current indentation scheme in the file or at least the neighboring lines and use that for Tab indentation?
The following sound promising:
http://www.emacswiki.org/emacs/GuessStyle
https://savannah.nongnu.org/projects/dtrt-indent/
http://www.emacswiki.org/emacs/FuzzyFormat
A comparison/review would be interesting.