選択範囲をリストに指定した文字で置換します。 複数行を半角スペース一つあけて1行に連結 選択 -> M-x my-join-multi-lines ブログ用にエスケープ 選択 -> M-x my-escape-region-for-blog-post 全角数字を半角数字に 選択 -> M-x my-convert-to-single-byte-number 半角数字を全角数字に 選択 -> M-x my-convert-to-multi-byte-number 句読点などの約物を半角に 選択 -> M-x my-convert-yakumono-to-half-width (defun my-replace-strings-in-region-by-list ($list) "Replace strings in a region according to $list" (if mark-
![Emacsで選択範囲の文字を特定の用途へ置換する関数を作っておく - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/90e9f2a197b20ea3b7016801e2aa43320867df64/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZoPTMzNiZ0eHQ9RW1hY3MlRTMlODElQTclRTklODElQjglRTYlOEElOUUlRTclQUYlODQlRTUlOUIlQjIlRTMlODElQUUlRTYlOTYlODclRTUlQUQlOTclRTMlODIlOTIlRTclODklQjklRTUlQUUlOUElRTMlODElQUUlRTclOTQlQTglRTklODAlOTQlRTMlODElQjglRTclQkQlQUUlRTYlOEYlOUIlRTMlODElOTklRTMlODIlOEIlRTklOTYlQTIlRTYlOTUlQjAlRTMlODIlOTIlRTQlQkQlOUMlRTMlODElQTMlRTMlODElQTYlRTMlODElOEElRTMlODElOEYmdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT01NiZ0eHQtY2xpcD1lbGxpcHNpcyZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPWRjMzBjNDM1NmUyMDUwOWQwMzM1YWY4YmVmMzQyNjc1%26mark-x%3D142%26mark-y%3D112%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwU2hpbmdvRnVrdXlhbWEmdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPTU3YTUzNzE0ODFlZDZmMmJjNWZmYmI3YjgxNjFlZDE0%26blend-x%3D142%26blend-y%3D491%26blend-mode%3Dnormal%26s%3D3bf36d3b82ec98dc9458fcd63e12d6c8)