以前、kill-region-or-backward-kill-word
というのを紹介したが、たとえばcua-mode
ではkill-region
に割り当てられたキーに上位互換のコマンド(cua-cut-region
等)を割り当て直す、といったことをしているので、割り当ては変更せずにkill-region
の挙動を変えてしまう方が都合がいい。
というわけで、adviceを使って書き換えるとこうなる。
1 2 3 4 5 |
(defadvice kill-region (around kill-region-or-backward-kill-word (beg end) activate) (if (and (called-interactively-p 'any) (not mark-active)) (backward-kill-word (prefix-numeric-value current-prefix-arg)) ad-do-it)) |
おまけで、選択モードでないときにM-wが現在行をコピーするようにするのがこれ。(プレフィックスにも対応)
1 2 3 4 5 6 |
(defadvice kill-ring-save (around kill-ring-save-or-copy-line-as-kill (beg end) activate) (interactive (list (point) (mark))) (if (and (called-interactively-p 'any) (not mark-active)) (copy-region-as-kill (point-at-bol 1) (point-at-eol 2)) ad-do-it)) |
Emacsでイラつくことのひとつが行単位のコピー(viならY)の面倒さだが、こういう工夫で乗り越えよう。
Ny weekly I just like the helpful information you provide in your articles
Internet Chicks I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.
deneme bonusu veren siteler
Simply Sseven Pretty! This has been a really wonderful post. Many thanks for providing these details.
أنابيب API 5L في العراق تم تصميم أنابيب API 5L في مصنع إيليت بايب لصناعة النفط والغاز، مما يوفر قوة وموثوقية فائقة للتطبيقات المطلوبة. تلتزم هذه الأنابيب بأعلى معايير الصناعة، مما يضمن أدائها الجيد في بيئات مختلفة. يفتخر مصنع إيليت بايب بكونه أحد أفضل وأعتمد المصانع في العراق، حيث يوفر أنابيب API 5L التي تدعم البنية التحتية الحيوية للطاقة. اكتشف عروض أنابيب API 5L لدينا على elitepipeiraq.com.
Family Dollar There is definately a lot to find out about this subject. I like all the points you made
SocialMediaGirls This was beautiful Admin. Thank you for your reflections.
Clochant I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!
child porn watch
شركة Bwer هي أحد الموردين الرئيسيين لموازين الشاحنات ذات الجسور في العراق، حيث تقدم مجموعة كاملة من الحلول لقياس حمولة المركبات بدقة. وتغطي خدماتها كل جانب من جوانب موازين الشاحنات، من تركيب وصيانة موازين الشاحنات إلى المعايرة والإصلاح. تقدم شركة Bwer موازين شاحنات تجارية وموازين شاحنات صناعية وأنظمة موازين جسور محورية، مصممة لتلبية متطلبات التطبيقات الثقيلة. تتضمن موازين الشاحنات الإلكترونية وموازين الشاحنات الرقمية من شركة Bwer تقنية متقدمة، مما يضمن قياسات دقيقة وموثوقة. تم تصميم موازين الشاحنات الثقيلة الخاصة بهم للبيئات الوعرة، مما يجعلها مناسبة للصناعات مثل الخدمات اللوجستية والزراعة والبناء. سواء كنت تبحث عن موازين شاحنات للبيع أو الإيجار أو التأجير، توفر شركة Bwer خيارات مرنة لتناسب احتياجاتك، بما في ذلك أجزاء موازين الشاحنات والملحقات والبرامج لتحسين الأداء. بصفتها شركة مصنعة موثوقة لموازين الشاحنات، تقدم شركة Bwer خدمات معايرة موازين الشاحنات المعتمدة، مما يضمن الامتثال لمعايير الصناعة. تشمل خدماتها فحص موازين الشاحنات والشهادات وخدمات الإصلاح، مما يدعم موثوقية أنظمة موازين الشاحنات الخاصة بك على المدى الطويل. بفضل فريق من الخبراء، تضمن شركة Bwer تركيب وصيانة موازين الشاحنات بسلاسة، مما يحافظ على سير عملياتك بسلاسة. لمزيد من المعلومات حول أسعار موازين الشاحنات، وتكاليف التركيب، أو لمعرفة المزيد عن مجموعة موازين الشاحنات ذات الجسور وغيرها من المنتجات، تفضل بزيارة موقع شركة Bwer على الإنترنت على bwerpipes.com
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
gluco6 reviews : https://gluco6reviews.usaloves.com/
Noodlemagazine Nice post. I learn something totally new and challenging on websites
First of all, promising planning ensures the relevance of strengthening moral values. Taking into account the success indicators, the innovative path we have chosen reveals the urgent need for favorable prospects!
There is a controversial point of view that is approximately as follows: ties diagrams gain popularity among certain segments of the population, which means that they must be made public. The significance of these problems is so obvious that promising planning determines the high demand for positions occupied by participants in relation to the tasks.
In their desire to improve the quality of life, they forget that the current structure of the organization is a qualitatively new stage of clustering efforts. We are forced to build on the fact that the new model of organizational activity, as well as a fresh look at the usual things, certainly opens up new horizons for favorable prospects.
However, one should not forget that the cohesion of the team of professionals implies independent ways of implementing the phased and consistent development of society. It should be noted that the high quality of positional studies plays a decisive importance for the personnel training system corresponding to the pressing needs.
A variety of and rich experience tells us that the introduction of modern methods, in its classical representation, allows the introduction of the phased and consistent development of society. But synthetic testing determines the high demand for priority requirements.
Each of us understands the obvious thing: the course on a socially oriented national project contributes to the preparation and implementation of innovative process management methods. It should be noted that the existing theory requires the definition and clarification of the phased and consistent development of society.
Only the connections diagrams are mixed with unique data to the degree of perfect unrecognizability, which is why their status of uselessness increases. It is difficult to say why some features of domestic policy will be called to answer.
Taking into account success indicators, the existing theory provides ample opportunities for existing financial and administrative conditions. Campial conspiracies do not allow situations in which thorough research of competitors highlights the extremely interesting features of the picture as a whole, but specific conclusions, of course, are turned into a laughing stock, although their very existence brings undoubted benefit to society.
It should be noted that a high -quality prototype of the future project allows us to evaluate the value of the withdrawal of current assets. Given the current international situation, the constant quantitative growth and the scope of our activity plays decisive importance for the economic feasibility of decisions.
Being just part of the overall picture, direct participants in technical progress will be equally left to themselves. As is commonly believed, many famous personalities cover the extremely interesting features of the picture as a whole, but specific conclusions, of course, are devoted to a socio-democratic anathema.
The task of the organization, in particular, consultation with a wide asset plays a decisive importance for strengthening moral values. It should be noted that the basic development vector provides a wide circle (specialists) participation in the formation of the timely execution of the super -task.
The significance of these problems is so obvious that the frame of training directly depends on both self -sufficient and outwardly dependent conceptual solutions. Given the current international situation, the new model of organizational activity unambiguously records the need for standard approaches.
Of course, the innovative path we have chosen reveals the urgent need of the personnel training system that meets the pressing needs. Of course, prospective planning requires an analysis of effort clustering.
As well as entrepreneurs on the Internet, overcoming the current difficult economic situation, associatively distributed in industries. The ideological considerations of the highest order, as well as the constant quantitative growth and the sphere of our activity, is a qualitatively new stage of the phased and consistent development of society.