我试图在Emacs 25.2.2中完全禁用鼠标滚动,因为光标经常意外移动。但是,鼠标滚动似乎在我的环境中被视为next-line
或previous-line
。我该如何解决这个问题?
答案 0 :(得分:1)
您可以将鼠标滚轮放入> #screen{ width: 1000px;
> position: absolute;
> top: 200px;
> left: 465px;
> }
>
> #naslov {
> width: 800px;
> height: 100px;
> color: white;
> font-size: 25px;
> text-shadow: 5px 0 black;
> text-align: center;
> position: absolute;
> top: 50px;
> left: 550px;
> border-radius: 25px 25px 2px 2px;
> background: linear-gradient(#0f5bea, #0429f2);
> }
>
> #underline{
> width: 800px;
> height: 30px;
> position: absolute;
> top: 151px;
> left: 550px;
> background: linear-gradient(#0057fc, rgba(119, 122, 123, 0.35));
> }
>
> .kontenjeri{
> width: 800px;
> height: 20px;
> background: rgba(0, 0, 0, 0.58);
> position: absolute;
> top: 183px;
> left: 550px; }
>
>
> /* #kontejner{
> width: 800px;
> height: 80px;
> position: absolute;
> top: 200px;
> left: 550px; } */
>
>
> .botuni{
> display: inline;
> color: floralwhite;
> text-decoration: none;
> font-weight: bold;
> text-transform: uppercase;
> margin: 20px;
> font-size: 18px;
> text-align: center;
> margin-left: 20px;
> text-shadow: 1px 0 rgb(14, 4, 255);
>
> }
>
>
>
> .botuni:hover{
> color: blue;
> font-family: monospace;
> }
>
>
>
> #infop2{
> font: 15px Lucida Console;
> color: white; }
>
>
>
> #infop{
> font: 15px Lucida Console;
> color: white; }
>
> #info{
> position: absolute;
> top: 270px;
> left: 630px;
> width: 650px;
> display: none;
> }
>
>
>
> #info2{position: absolute;
> top: 270px;
> left: 630px;
> width: 650px;
> display: none;
>
> }
>
>
>
> #footer{ width: 800px;
> height: 50px;
> position: absolute;
> top: 900px;
> left: 550px;
> color: white;
> border-radius: 2px 2px 25px 25px;
> background: linear-gradient(to top, #0057fc, rgba(119, 122, 123, 0.35));
>
> }
>
> #footp{
> text-align: center; }
>
>
> span {font-size: 25px;
> margin-left: 60px; }
>
>
>
> /* #majstor:hover + #info2{ display:block;} this doesn't work */
文件中来禁用鼠标滚轮:
.emacs
另一种方法是customize变量(mouse-wheel-mode 0)
和mouse-wheel-down-event
并将它们设置为mouse-wheel-up-event
。我更喜欢第一种方法。